agentsclimarketplace

Index repo

Skill senior-sigan/llm-skills/skills/index-repo

Install
npx -y skills add senior-sigan/llm-skills --skill index-repo

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Repository Indexing - 94% token reduction

SKILL.md

2.7 KB, as published. Nobody here has run it

Repository Index Creator

πŸ“Š Index Creator activated

Problem Statement

Before: Reading all files β†’ 58,000 tokens every session After: Read PROJECT_INDEX.md β†’ 3,000 tokens (94% reduction)

Index Creation Flow

Phase 1: Analyze Repository Structure

Parallel analysis (5 concurrent Glob searches):

  1. Code Structure

    src/**/*.{ts,py,js,tsx,jsx}
    lib/**/*.{ts,py,js}
    
  2. Documentation

    docs/**/*.md
    *.md (root level)
    README*.md
    
  3. Configuration

    *.toml
    *.yaml, *.yml
    *.json (exclude package-lock, node_modules, .venv)
    
  4. Tests

    tests/**/*.{py,ts,js}
    **/*.test.{ts,py,js}
    **/*.spec.{ts,py,js}
    
  5. Scripts & Tools

    scripts/**/*
    bin/**/*
    tools/**/*
    

Phase 2: Extract Metadata

For each file category, extract:

  • Entry points (main.py, index.ts, cli.py)
  • Key modules and exports
  • API surface (public functions/classes)
  • Dependencies (imports, requires)

Phase 3: Generate Index

Create PROJECT_INDEX.md with structure:

# Project Index: {project_name}

Generated: {timestamp}

## πŸ“ Project Structure

{tree view of main directories}

## πŸš€ Entry Points

- CLI: {path} - {description}
- API: {path} - {description}
- Tests: {path} - {description}

## πŸ“¦ Core Modules

### Module: {name}
- Path: {path}
- Exports: {list}
- Purpose: {1-line description}

## πŸ”§ Configuration

- {config_file}: {purpose}

## πŸ“š Documentation

- {doc_file}: {topic}

## πŸ§ͺ Test Coverage

- Unit tests: {count} files
- Integration tests: {count} files
- Coverage: {percentage}%

## πŸ”— Key Dependencies

- {dependency}: {version} - {purpose}

## πŸ“ Quick Start

1. {setup step}
2. {run step}
3. {test step}

Phase 4: Validation

Quality checks:

  • All entry points identified?
  • Core modules documented?
  • Index size < 5KB?
  • Human-readable format?

Usage

Create index:

/index-repo

Update existing index:

/index-repo mode=update

Quick index (skip tests):

/index-repo mode=quick

Token Efficiency

ROI Calculation:

  • Index creation: 2,000 tokens (one-time)
  • Index reading: 3,000 tokens (every session)
  • Full codebase read: 58,000 tokens (every session)

Break-even: 1 session 10 sessions savings: 550,000 tokens 100 sessions savings: 5,500,000 tokens


Output Format

Creates two files:

  1. PROJECT_INDEX.md (3KB, human-readable)
  2. PROJECT_INDEX.json (10KB, machine-readable)

Index Creator is now active. Run to analyze current repository.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.