repo-ingest
Skill0 starsChanged 2 months agoMITView on GitHub
Describe a linked repository in the wiki from its code: its components, design patterns, conventions, and open issues, and bring the description up to date after the code moves on. Use for describe this repository, map the repo, ingest the codebase, the repository document is behind, what is in this repo. Linking a repository is repo-link; ingesting a file or a paper is wiki-ingest.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- atlas-onboardSkill
- atlasSkill
- chord-closeSkill
- chord-createSkill
- chord-workSkill
- repo-linkSkill
- repo-unlinkSkill
- thread-closeSkill
- thread-runSkill
- thread-specSkill
- thread-stubSkill
- thread-tasksSkill
- thread-verifySkill
- thread-workSkill
- wiki-editSkill
- wiki-ingestSkill
- wiki-mapSkill
- wiki-querySkill
- wiki-reviewSkill
- wiki-saveSkill
- wiki-syncSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Call context with repository: repository.described, repository.behind, the instructions, the tag pages, and the policies that apply already.
- Very specific: line 25
Call source with action: capture and repository.
- Very specific: line 30
never described (described is empty): read the snapshot, the instruction files, the entry points, and the main packages.
- Very specific: line 44
Call match with items set to every Item Map.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
repo-ingest
A repository is a codebase, not a document, so describing it means reading the code for what the wiki should know: each component, each pattern or design decision, each convention, and the work its TODO lines point at. The snapshot that capture takes is the source every claim cites. Every topic this skill writes holds the repository's own tag, so a lookup under that tag finds it.
Tools: context, source (capture, chunks, read), match, change, thread (stub).
Agents: wiki-extract, wiki-draft.
References: changes.md,
pages.md.
Procedure
- Call
contextwithrepository:repository.described,repository.behind, theinstructions, the tagpages, and thepoliciesthat apply already. Note the repository's own tag (defines); the rest of this skill calls it the repository's tag. - Call
sourcewithaction: captureandrepository. The snapshot is a source, titled<repository> @ <commit>: the tree, the instruction and convention files, the manifests, the docs, and every TODO and FIXME with its location, at the head commit. With notagsgiven, it holds the repository's tag. - Decide the reading:
- never described (
describedis empty): read the snapshot, the instruction files, the entry points, and the main packages; - behind: read
git -C <path> log --stat <described>..HEADand the diff, and the parts they touch.
- never described (
- Build the Item Maps:
sourcechunks on the snapshot, then one wiki-extract per chunk;- from your own reading of the code, one more Item Map with
docset to the snapshot: each component (kind: entity, with the tagcomponent), each pattern or design decision (kind: concept), and each convention from the instruction files, the lint and format configs, and the contributing docs (kind: policy, with itsstrength). Locate each claim bypath:line. - Give each item the repository's tag in
tags, and more tags that exist when the subject reaches past this repository (a language, a shared library, a category).
- Call
matchwithitemsset to every Item Map. Send wiki-draft for each slice of the Match Map, or draft yourself when the slices are one or two. A policy for this repository alone holds only the repository's tag; a policy that holds more tags reaches more repositories. - Build one plan: the drafted writes, and a modify of the repository document with
## What it is,## How it is built,## Layout,## Components(links to the component entities, one line each), and## Instructions.absorbsnames the snapshot. Intagging: known, ask before a tag that no document holds, and setnew_tags: trueafter the yes. - List the TODO, FIXME, and roadmap items as candidate stubs. They are work, not knowledge, so they never become topics.
Gate
Propose the change, show the preview, and wait for the yes. Apply sets the repository
document's described to the snapshot's commit. Then offer the candidate stubs as one
numbered list. For each one the user picks, call thread with action: stub, text (the
TODO line and its path:line, as written), a short title, and tags set to the
repository's tag.
Hand off
wiki-map on the repository's parent tag, when two or more repositories under that tag are described.
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.

