repo-ingest
Skill1 starsChanged 25 days 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.
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 308,232 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.
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. Give every write awhy. Intagging: known, ask before a tag that no document holds, and setnew_tags: trueafter the yes. - List the TODO, FIXME, and roadmap items. 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 show the items of step 7 as one
numbered list. Write the ones the user picks in one note in scratchpad/, named after
the repository: each TODO line as written, with its path:line.
Hand off
wiki-map on the repository's parent tag, when two or more repositories under that tag are described.
Other versions2 projects use a version of this.
Word for word · 2
- nathanaday/atlas-obsidian★ 1100% same
- nathanaday/claude-atlas★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- almagest-onboardSkill
- almagestSkill
- repo-linkSkill
- repo-unlinkSkill
- wiki-checkoutSkill
- wiki-editSkill
- wiki-ingestSkill
- wiki-mapSkill
- wiki-querySkill
- wiki-reviewSkill
- wiki-saveSkill
- wiki-syncSkill
- wiki-wikifySkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

