adopt-repo
Skill1 starsChanged 2 months agoMITView on GitHub
Mirror an existing external repo privately under the user's account and overlay the firmware: clone upstream, strip template-only files, privacy-sweep, run init-project. Use on /adopt-repo <url> or 'pull this repo into our firmware'.
4 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- ryanportfolio/Corewise.Academyedited, first seen Oct 3, 2026
- PPrauchner/ARK-Agent-Rules-Kittheir own version, first seen Sep 30, 2026
- ryanportfolio/HarnessFirmware.comedited, first seen Sep 29, 2026
- TienDat-Vna/BackSpectheir own version, first seen Sep 28, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- ryanportfolio/Corewise.Academy★ 186% same
- ryanportfolio/HarnessFirmware.com★ 081% same
Wrote their own version · 2
- PPrauchner/ARK-Agent-Rules-Kit★ 1same name
- TienDat-Vna/BackSpec★ 1same name
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 repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- addskillSkill
- adopt-repoSkill
- advocateSkill
- arenaSkill
- astra-reviewSkill
- babysit-ciSkill
- brainstormingSkill
- broSkill
- cavemanSkill
- claude-reviewSkill
- codex-reviewSkill
- dareSkill
- deep-planSkill
- enhance-promptSkill
- external-reviewSkill
- fable-modeSkill
- forge-repo-ui-skillSkill
- handoff-auditSkill
- impartial-reviewSkill
- init-projectSkill
- labSkill
- long-horizonSkill
- optimize-contextSkill
- opus-fullreviewSkill
- perf-loopSkill
- recallSkill
- refineSkill
- serversSkill
- session-hubSkill
- showpieceSkill
- sync-starterSkill
- whySkill
- wow-loopSkill
- wrapupSkill
- writing-plansSkill
- writingSkill
- addskillSkill
- advocateSkill
- arenaSkill
- astra-fullreviewSkill
- astra-reviewSkill
- babysit-ciSkill
- brainstormingSkill
- broSkill
- cavemanSkill
- claude-reviewSkill
- codex-fullreviewSkill
- codex-reviewSkill
- compact-reviewSkill
- dareSkill
- deep-planSkill
- enhance-promptSkill
- fable-modeSkill
- forge-repo-ui-skillSkill
- handoff-auditSkill
- impartial-reviewSkill
- init-projectSkill
- labSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 27
Never force-push; never rewrite the upstream history that forms the base.
- Distinctive: line 28
Never modify upstream-pinned dependencies or build config during adoption.
≈ “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
adopt-repo: overlay the firmware onto an existing repo
The generator (bootstrap/new-claude-project.*) spawns empty projects. This skill is the other entry point: a repo that already exists elsewhere (a take-home exercise, a client codebase, a fork target) becomes a harness-equipped copy under the user's account, with upstream history preserved as the root.
Inputs
Ask only for what the invocation left out: upstream URL, target repo name (default: upstream's name), visibility (default: private). Check the target name before creating anything. A failed gh repo view is not proof of availability: distinguish a confirmed not-found result from authentication, permission, or network failure. Verify the local destination is absent or empty; never overlay an unrelated checkout.
Steps
- Clone upstream to a short path. Not a session scratchpad or other deep temp directory: Windows checkouts lose files past 260 chars when
core.longpathsis off, and the loss is silent if clone output is piped. After cloning, comparegit ls-files | wc -lagainst the upstream tree count. - Prepare the mirror locally. Record the exact upstream commit and file inventory, retain an
upstreamremote, and confirm target account, name, and visibility. Inspect upstream history for private material or secrets before any push; preserving history means a clean working tree alone cannot establish safe publication. A real finding blocks publication pending a user decision about history handling. - Overlay the firmware. Shallow-clone the template (also to a short path). Read
.agents/template-manifest.jsonin that clone and strip everytemplateOnlypath (the templateREADME.mdis one of them) and any.tmp*directories; do not keep a private copy of the list, the manifest is the source of truth. Copy the rest over with these collision rules: the adopted repo's own files always win (README.md, manifests, configs);.gitignoreis merged by appending the template's entries under a# Harnesscomment; report any other collision instead of resolving it silently. If the adopted repo has an.agents/skill-locks.json, copy nothing into the.claude/skills/<name>/or.agents/skills/<name>/folder of a skill it locks; a lock file that cannot be read or parsed stops the overlay. Then confirm everyrequiredFilespath in the manifest exists in the adopted repo. - Privacy sweep before committing or publishing. The overlay may travel to reviewers or clients. Grep it for email addresses, personal names, client or project identifiers, and key/secret/token patterns; exclude generic prose hits. Anything real stays out and gets reported.
- Commit the overlay locally as its own commit (subject notes the template and that template-only files were stripped). Honor the adopted repo's commit convention. Do not publish until collision resolution, privacy checks, configuration, and preservation checks below complete.
- Run the
init-projectskill. It fills CLAUDE.md's FILL IN sections from the detected stack, seeds.claude/reference/, applies the skill profile, checks Codex skill registration, and wires thestarterremote. - Verify and publish within authorization. Check configuration placeholders and compare against the recorded upstream commit. Original files remain byte-identical except the intentional
.gitignoreunion and any explicitly approved collision resolution. Inspect those exceptions separately: retain all upstream ignore rules and record additions. Check the actual added-file inventory rather than assuming counts add across collisions. After all checks pass, create the target repo with the confirmed visibility, setorigin, and push the preserved history plus overlay/configuration commits. Verify remote identity and visibility.
Hard rules
- Never force-push; never rewrite the upstream history that forms the base.
- Never modify upstream-pinned dependencies or build config during adoption; adoption adds the harness, nothing else.
- Fork only when the user explicitly wants the public upstream link and accepts that a fork of a public repo cannot be private; otherwise this clone-and-push flow is the default.
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.

