用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Biznomad/agent-skills --skill source-command-sc-index-repo命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | source-command-sc-index-repo |
| description | Repository Indexing - 94% token reduction (58K → 3K) |
Use this skill when the user asks to run the migrated source command sc-index-repo.
📊 Index Creator activated
Before: Reading all files → 58,000 tokens every session After: Read PROJECT_INDEX.md → 3,000 tokens (94% reduction)
Parallel analysis (5 concurrent Glob searches):
Code Structure
src/**/*.{ts,py,js,tsx,jsx}
lib/**/*.{ts,py,js}
superclaude/**/*.py
Documentation
docs/**/*.md
*.md (root level)
README*.md
Configuration
*.toml
*.yaml, *.yml
*.json (exclude package-lock, node_modules)
Tests
tests/**/*.{py,ts,js}
**/*.test.{ts,py,js}
**/*.spec.{ts,py,js}
Scripts & Tools
scripts/**/*
bin/**/*
tools/**/*
For each file category, extract:
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}
Quality checks:
Create index:
/index-repo
Update existing index:
/index-repo mode=update
Quick index (skip tests):
/index-repo mode=quick
ROI Calculation:
Break-even: 1 session 10 sessions savings: 550,000 tokens 100 sessions savings: 5,500,000 tokens
Creates two files:
PROJECT_INDEX.md (3KB, human-readable)PROJECT_INDEX.json (10KB, machine-readable)Index Creator is now active. Run to analyze current repository.