extract
Skill0 starsChanged 4 days agoMITView on GitHub
Extracts a blueprint from a code base, i.e. a code-verified adaptation map. Use when the user types /extract or asks for a blueprint of a repo.
38 other projects use a version of this.
Adopted by
Most recently taken up by
- kanap-hq/KANAPtheir own version, first seen Nov 8, 2026
- crocotaste/crocotaste-plugintheir own version, first seen Nov 1, 2026
- stoa-platform/stoatheir own version, first seen Nov 1, 2026
- nexmoe/DayBeetheir own version, first seen Nov 1, 2026
- actionbook/actionbooktheir own version, first seen Oct 25, 2026
- ryneivy/SKILLStheir own version, first seen Oct 20, 2026
Used with
Projects with it also use ai-act-readiness, c-level-agents and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hussain-ElfalahSkillai-act-readiness
Also in 3 projects that use this
Hussain-ElfalahSkillc-level-agents
Also in 3 projects that use this
MicrosoftSkillinbox-setup
Set up the Inbox agent with recommended VS Code settings and gh CLI configuration
Also in 3 projects that use this
- +9 more from Hussain-Elfalah
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- actionbook/actionbook★ 1.6ksame name
- talesofai/cohub★ 585same name
- educlopez/ui-craft★ 441same name
- nexmoe/DayBee★ 424same name
- nexmoe/eve★ 424same name
- Southclaws/storyden★ 348same name
- AkaraChen/aghub★ 271same name
- zacharyfmarion/openscad-studio★ 238same name
- jagrat7/linux-wallpaper-engine★ 227same name
- runxhq/runx★ 97same name
28 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 6 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 36 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Inventory: Before reading, gather with commands: git rev-parse HEAD, the file tree, languages and line counts, dependency files, entry …
- Very specific: line 36
Embedded assumptions: Look for domain-specific constants and checks: file extensions, hard-coded tool names, parser node types, hard-coded …
- Distinctive: line 47
Unknowns: Write behaviour you could not be sure of, despite reading the code, as questions.
- Very specific: line 48
Write: Write map.yaml first, then derive README.md from it.
- Very specific: line 51
Every claim in the README must have a counterpart in map.yaml.
- Distinctive: line 56
If the source code exceeds roughly 20,000 lines, this section changes how steps 1–12 are applied.
- Very specific: line 58
Size limit: Instead of the 10% rule, apply a readability limit: README.md at most about 400 lines, map.yaml at most about 2,500 lines.
- Very specific: line 61
Existing agent and contribution docs: Read files like AGENTS.md, CLAUDE.md and CONTRIBUTING.
- Distinctive: line 62
Tests: Do not run the whole test suite.
- Very specific: line 63
Prioritisation: If you cannot cover everything to the same depth, list the areas you did not cover in unknowns as "not examined".
- Very specific: line 67
Do not touch the repo's code.
- Distinctive: line 68
Do not go online. Use only the information in the repo.
- Very specific: line 69
Do not invent. Put anything you are unsure of in unknowns.
- Distinctive: line 71
Write briefly and concretely.
“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Blueprint extraction
Goal
Produce a code-verified adaptation map for an agent and a human who will want to adapt this repo to their own needs. The map should answer:
- Which parts of the code are the portable core (logic not tied to a particular domain), and which are the domain layer (tied to a particular file format, language, protocol, platform or external tool)?
- Where and through which interface do the two connect?
- What has to be touched to add a new variant?
- Where does the code assume things about the domain?
- What must not break? Especially behaviour the documentation does not mention.
You do not know which adaptation will be made. The map must serve every kind of adaptation equally well: a new input type, a new platform, a new command, replacing a component or porting to another language. Do not assume a particular adaptation, do not emphasise one, and do not write a ready-made solution for one.
Output
A blueprint/ folder at the repo root. See FORMAT.md in this folder for the detailed schema.
blueprint.yaml: identity (repo, commit, date, size, extracting model).map.yaml: the single source of truth. The structured map agents read.README.md: the human view. Derived only frommap.yaml; adds no new claims.
Steps
- Inventory. Before reading, gather with commands:
git rev-parse HEAD, the file tree, languages and line counts, dependency files, entry points, test folders, documentation files. - Read the documentation (README, docs/, example config files). Note concrete claims: key names, defaults, value lists, descriptions of behaviour. You will compare them with the code later.
- Trace the code from the entry point. List, in order, the stages an input passes through.
- Module map. For each module, give its role and layer:
core,domainormixed. Formixedmodules, also give the domain-specific line ranges. - Seams. Find the interfaces between the core and the domain layer. If there is no explicit interface and domain knowledge is embedded in the core, mark it
embeddedand list where it is embedded. - Extension points. Describe the code's current mechanism for adding a new kind of variant (input type, command, backend, output target; whichever make sense for the repo). For example: selection by file extension, an enum, a trait/interface, a registry. Give every place that has to be touched as a checklist. Do this separately for each kind of variant that makes sense for the repo.
- Embedded assumptions. Look for domain-specific constants and checks: file extensions, hard-coded tool names, parser node types, hard-coded paths, special file names. Write each with
file:lineand what it affects. Invariants. Extract user-observable behaviour that must not break. Prioritise what the documentation does not say. Scan these categories one by one:
- sorting and comparison semantics (case, numbers, Unicode, ties),
- config discovery, layering and precedence,
- CLI exit codes, stdout vs. stderr, when files are written,
- error cases and their scope (one file, or the whole run),
- safety checks, warnings, idempotency, defaults,
- how settings affect each other (does one setting disable another?).
For each invariant write: the statement, evidence (
file:line), the repo test that covers it if any, a confidence level, and whether it is documented. If possible, build the tool and observe the behaviour by running it on small inputs; an invariant you observed gets confidenceverified.- Documentation discrepancies. Compare each concrete claim noted in step 2 with its definition in the code. Write down those that contradict the code and those with no counterpart in the code.
- Unknowns. Write behaviour you could not be sure of, despite reading the code, as questions.
- Write. Write
map.yamlfirst, then deriveREADME.mdfrom it. - Check.
- Reopen every
file:linepointer and verify it really shows what is claimed. - Every claim in the README must have a counterpart in
map.yaml. - The blueprint's total size must not exceed roughly 10% of the code.
- Reopen every
Large repos
If the source code exceeds roughly 20,000 lines, this section changes how steps 1–12 are applied.
- Size limit. Instead of the 10% rule, apply a readability limit:
README.mdat most about 400 lines,map.yamlat most about 2,500 lines. - Repeating families. If many members are written to the same pattern (languages, plugins, rules, adapters, drivers and the like), do not map each member separately. Write the family as one pattern: the shared interface, the list or location of members, a representative member, a checklist for adding a member, and the members that deviate from the pattern.
- Depth goes to the core. Spend the space you save on the core machinery shared by many families or features. For long, complex core modules, produce an internal map: the main functions, the calls and data flow between them, which decision is made in which function, and the points a change that adds behaviour to this module would have to touch.
- Existing agent and contribution docs. Read files like
AGENTS.md,CLAUDE.mdandCONTRIBUTING. Do not repeat what they say; point to them. Devote the map to what these files do not say, and record contradictions in step 9. - Tests. Do not run the whole test suite. To verify an invariant, run only the relevant tests or the tool itself on small inputs.
- Prioritisation. If you cannot cover everything to the same depth, list the areas you did not cover in
unknownsas "not examined".
Rules
- Do not touch the repo's code. Write only to the
blueprint/folder. - Do not go online. Use only the information in the repo.
- Do not invent. Put anything you are unsure of in
unknowns. Mark guessesconfidence: guess. - Answer "why is it like this?" only with evidence: a code comment, a commit message or a test name. If there is no evidence, do not write a reason.
- Write briefly and concretely. Each item should say one thing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

