extract
/extract
Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.
- Author
- athola ↗
- Repository
- claude-night-market ↗
- Licence
- MIT
- Last repository change
- 01.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 01.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.
Original author description
Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.
How it works
- When NOT To Use
- Steps
- Exit Criteria
- Category Priority
SKILL.md preview
---
name: extract
description: Builds the gauntlet knowledge base from AST extraction and AI enrichment. Use when initializing or refreshing codebase knowledge for challenges.
model_hint: standard
---
# Extract Codebase Knowledge
Build or rebuild the `.gauntlet/knowledge.json` knowledge base.
## When NOT To Use
- Tribal knowledge no parser can see (use `gauntlet:curate`)
- Building the code graph (use `gauntlet:graph-build`)
## Steps
1. **Identify target directory**: use the current working directory
or a user-specified path
2. **Run AST extraction**: invoke the extractor script
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/extractor.py <target-dir>
```
3. **AI enrichment**: for each extracted entry, enhance the `detail`
field with natural language explanation of business logic, data
flow, architectural role, and rationale
4. **Cross-reference**: link related entries across modules by
matching imports, shared types, and data flow paths
5. **Merge with annotations**: preserve existing curated entries
in `.gauntlet/annotations/`
6. **Save**: write to `.gauntlet/knowledge.json`
7. **Report**: show summary by category, coverage gaps, difficulty
distribution
## Exit Criteria
- [ ] `.gauntlet/knowledge.json` exists and is valid JSON after the
skill completes; entries from `.gauntlet/annotations/` are merged
and not overwritten
- [ ] Report shows entry counts broken down by all 7 categories
(business_logic, architecture, data_flow, api_contract, pattern,
dependency, error_handling) with coverage gaps identified
- [ ] Each extracted entry has a `detail` field containing a natural
language explanation (not just the raw AST node name)
- [ ] Cross-reference links between related entries are present for
modules sharing imports, shared types, or data flow paths
## Category Priority
1. business_logic (weight 7)
2. architecture (weight 6)
3. data_flow (weight 5)
4. api_contract (weight 4)
5. pattern (weight 3)
6. dependency (weight 2)
7. error_handling (weight 1)
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · athola/claude-night-market | 100 | MIT |
| alirezarezvani/claude-skills | 100 | MIT |
| sttsspjy/pptx-kit | 100 | MIT |
| actionbook/actionbook | 100 | Apache-2.0 |
| filiphsps/commerce | 100 | MIT |
| akarachen/aghub | 100 | MIT |
| aladicf/better-web-ui | 100 | MIT |
| adobe/skills | 95 | Apache-2.0 |
| educlopez/ui-craft | 92 | MIT |
Database snapshot: 13.11.2026 · package version 59a725a56fe0 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90curate
Adds developer-authored annotations to the gauntlet knowledge base. Use when capturing tribal knowledge or rationale not visible in code. - 100graph-build
Builds or updates the code knowledge graph via tree-sitter AST and SQLite. Use when setting up the graph before search or blast-radius analysis. - 100ast-grep
Code search, analysis, and refactoring using ast-grep (sg). Use for AST-based code modifications, structural search, and linting. - 90review
Selvage AST-based smart context code review. Use when reviewing code changes, checking diffs, or analyzing code quality. - 95gauntlet-loop
Turns any goal into one short, paste-ready gauntlet-loop prompt for OpenCode, then can run it with the task tool. Critics are new tasks every time. No /loop, no ultracode — those are Claude Code. Triggers on "/gauntlet-loop", "gauntlet loop", "gauntlet this". - 100qa-knowledge-list
Browse and search the QA knowledge base. List entries by type, domain, or tag. Show changelog and stats. Use when user says: "list knowledge", "show heuristics", "what's in the knowledge base", "knowledge stats", "show changelog".