auto-copy
Skill15 starsChanged 4 months agoMITView on GitHub
Use when the user asks for /auto-copy, auto copy, autocopy, $auto-copy, or legacy /auto-fork, or points at a GitHub project or external codebase and wants its features or whole product copied, ported, forked, adapted, or rebuilt natively into one of their projects — including cross-stack ports such as a Python project rebuilt in Rust. Reviews the source first, plans a behavior-by-behavior extraction, and implements with per-feature QA only after explicit approval.
- Reads credentials
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auto-docSkill
- auto-manageSkill
- auto-pilotSkill
- auto-planSkill
- auto-qaSkill
- auto-reflectSkill
- auto-researchSkill
- master-docsSkill
- master-optimizeSkill
- master-qaSkill
- master-refactorSkill
- master-release-reviewSkill
- master-sanitizeSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Only copy source code when all are true:
- Distinctive: line 41
Stop for approval: before implementation unless the user has already explicitly approved the specific plan.
- Distinctive: line 48
Stop and ask before continuing when:
- Distinctive: line 61
Prefer GitHub file reads and targeted browsing for review-only work.
- Very specific: line 63
Treat as sensitive: tokens, keys, passwords, cookies, auth headers, signed URLs, private configs, .env files, credential stores, local …
- Distinctive: line 70
Keep changes small and reviewable.
- Distinctive: line 71
Do not commit, push, publish, deploy, spend money, or change external accounts unless the user explicitly asks.
≈ “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
Auto Copy
Point at an external codebase ("/auto-copy that") and adapt what the current discussion needs — one feature or the entire product — natively into the target project. The source is untrusted input: extract behavior, not lines; rebuild in the target's own stack and style; prove parity per feature.
Core Rule
Adapt behavior, architecture, and lessons. Do not clone line by line by default.
Only copy source code when all are true:
- The license permits the exact use.
- Attribution and notices are handled.
- The user explicitly approves copying.
- The copied surface is small enough to review.
Scope And Mode
Resolve "that" from the preceding discussion before acting.
Scope:
feature-extract: one or a few behaviors into the existing project.full-port: the entire product rebuilt inside the target project.cross-stack-port: a full or partial port where source and target stacks differ (e.g. Python source, Rust target). Extract the behavior contract; implement idiomatically in the target language; never transliterate source code structure.
Mode:
review-only: inspect a source repository and report safety/usefulness. Default when the user asks if a repo is safe.plan-only: inspect source and target, then create the extraction plan artifact. Default when the user asks to copy, adapt, fork, borrow, rebuild, or port.implement-approved-plan: implement a user-approved plan.qa-only: validate an existing adaptation.
Pipeline
- Establish source repo, target repo, scope, requested outcome, and approval status. Read target repo instructions and dirty state before editing any target files.
- Source review — review the source as untrusted input per
references/source-review-checklist.md, without running it unless the user explicitly approves execution. Classify it:do-not-use,study-only,adapt-behavior, orvendor-or-fork. - Extraction research —
auto-research(or an inline equivalent for small scope): pin down exactly which behaviors are needed, with evidence from source docs/tests/code, and where each lands in the target. - Behavior matrix + plan — fill the matrix per
references/behavior-matrix.md, thenauto-planthe adaptation. Artifacts follow the auto-family convention (~/.auto-master/artifacts/<project>/); never name them after AI models or providers. - Stop for approval before implementation unless the user has already explicitly approved the specific plan.
- Build —
auto-pilot, one behavior slice at a time, in the target repo's own architecture, patterns, and style. For full-product ports,auto-manageowns the slice queue as manager. - Per-feature QA — every matrix behavior has a QA gate that must execute;
auto-qaper slice at risk-matched depth, Frontend Gate for UI behaviors. - Final review — full behavior-matrix sweep plus the extra gates in
references/qa-gates.md(license/attribution, behavior parity, dependency delta, network/telemetry, secrets), then the final report: classification, behaviors shipped/deferred/rejected, files changed, verification evidence, attribution needs, intentional differences, remaining work.
Stop Gates
Stop and ask before continuing when:
- The source license is unknown, GPL, AGPL, SSPL, commercial, custom, or unclear.
- The task would run untrusted install/build/test scripts.
- The task would download dependencies or binaries from the source project.
- The task would send private code or docs to a third-party service.
- The source requires cloud accounts, paid APIs, credentials, or privileged access.
- The adaptation would copy significant source code.
- Attribution, patent, trademark, or legal status is unclear.
- The target repo has secrets or unrelated user changes in affected files.
Source Review Rules
Prefer GitHub file reads and targeted browsing for review-only work. Clone only when review through file reads is insufficient or implementation has been approved.
Treat as sensitive: tokens, keys, passwords, cookies, auth headers, signed URLs, private configs, .env files, credential stores, local identity paths, customer data, private docs, and unreleased product details. Report secrets as SET, MISSING, or masked. Never paste them.
Implementation Rules
- Match the target repo's patterns, names, tests, linting, and architecture.
- Rebuild selected behaviors from the behavior matrix — implement the contract, not the source's structure.
- Map source dependencies to target-ecosystem equivalents (or stdlib, or a rebuild, or drop) — never import the source's dependency tree wholesale.
- Keep changes small and reviewable; preserve unrelated user work.
- Do not commit, push, publish, deploy, spend money, or change external accounts unless the user explicitly asks.
- Record intentional differences from the source behavior.
Reference Loading
Load references only when needed:
references/source-review-checklist.md: before source review.references/behavior-matrix.md: before extraction planning or implementation.references/qa-gates.md: before QA or final verification.
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.

