repo-link
Skill1 starsChanged 25 days agoMITView on GitHub
Link a git repository on this machine to the vault: a repository document that points at it, with its category tags and its own tag, written as one change. Use for link this repository, add a repo, work with ~/code/x, connect a repository. Describing its code is repo-ingest; unlinking is repo-unlink.
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Read the tag vocabulary: the opening context lists the most used tags and the tagging mode (open or known).
- Very specific: line 25
Call search with types: [repository] to see the tags of the repositories linked already.
- Very specific: line 37
Read the repository's README and its instruction files (AGENTS.md, CLAUDE.md).
≈ “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-link
A repository document is the link between the vault and a repository on disk. An agent
may edit a repository only when a document names its path. The document's tags place
the repository among the user's categories, and its defines names the tag of its own
knowledge, so a lookup by tag finds the repository, its pages, and the policies that
apply to it. This skill writes one change: a create per repository.
Tools: context, search, vault, change. References:
changes.md, pages.md.
Procedure
- For each path: check that it exists and is the root of a git work tree
(
git -C <path> rev-parse --show-toplevelprints the path itself). Callcontextwithpath; when it resolves, the repository is linked already, so say so and skip it. A path inside the vault is refused. - Read the tag vocabulary: the opening context lists the most used tags and the
tagging mode (
openorknown);vaultstatus lists every tag with its count. Callsearchwithtypes: [repository]to see the tags of the repositories linked already. - Choose each repository's
tags: the category tags that exist and fit, by its name, its remote, its README, and the tags of its neighbors. Prefer a tag that exists over a new one. A tag is lower case: letters, digits,-, and/for nesting. - Choose its own tag,
defines: its name under its main category tag (work/p3→work/p3/p3-edge), or the name alone when it has no category. The repository then holds the parent of that tag intags(work/p3). One document defines a tag, so check that no document defines it already (searchwithtags: [<the tag>]). - In
tagging: known, a tag that no document holds needs the user's yes. The newdefinestag counts as new when no document holds it. Ask once, for every new tag of the change together, with the tags that exist as the other choice. - Read the repository's README and its instruction files (AGENTS.md, CLAUDE.md). Write
its document: a
descriptionof one sentence,aliases(short names people use), a short## What it is, and a short## Instructions(the paths of the instruction files and what they require). Leave the other sections to repo-ingest. Givepathas an absolute path or with~/. Code fillsremote,branch,head, and the live status block. - Build one plan: a create per repository,
{op: create, type: repository, title, fields: {description, tags, aliases, defines, path}, body, why}. Setnew_tags: trueon the plan only after the user agreed to the new tags.
Gate
Propose the change. Show the preview: each repository with its path, its tags, and its
own tag, and each new tag. Wait for the yes, then apply. Apply runs sync, which lists the
repositories in .claude/settings.local.json, so later sessions in the vault may edit
them. For this session, tell the user to run /add-dir <path> for each, or to start a
new session.
Hand off
repo-ingest, one repository at a time.
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-ingestSkill
- 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.

