add
Skill2 starsChanged 2 months agoMITView on GitHub
Provision something new in an already-bootstrapped infra repo: a managed GitHub repo, a resource on an existing provider, or a brand-new provider such as GCP. Ends on a green plan showing the new thing as will be created. Use when the thing does not exist yet — if it already exists at the provider, use infra-copilot:import instead.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- pilotspace/ADDtheir own version, first seen Sep 30, 2026
- fivetaku/tikeytakatheir own version, first seen Aug 23, 2026
- maxwellsdm1867/wheelertheir own version, first seen Aug 8, 2026
- fullymiddleaged/Clawnesstheir own version, first seen Jul 28, 2026
- WALKERKILLER/Look-Tongji-Notestheir own version, first seen Jun 13, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- WALKERKILLER/Look-Tongji-Notes★ 48same name
- fivetaku/tikeytaka★ 40same name
- pilotspace/ADD★ 19same name
- maxwellsdm1867/wheeler★ 12same name
- fullymiddleaged/Clawness★ 4same 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.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
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
- Distinctive: line 31
Only for things that do not exist yet.
- Very specific: line 33
infra-copilot:import: instead. Never fake a HUMAN step: an App-scope change, a token mint or paste, and a provider decision are the …
- Very specific: line 59
Write the resource under the right leaf (terraform/cloudflare/ or terraform/github/).
- Very specific: line 60
If it needs a permission the current scoped token lacks (e.g.
- Distinctive: line 64
Use get-plan → green with the new resource as will be created.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!--
AI-RULEZ :: GENERATED FILE — DO NOT EDIT
Content-Hash: blake3:f8913681699f2cce382f280c8764e3c6a95d547fb9a4830464c2ea978f6e8704
Source-Hash: blake3:3437c8021985fde0d012440ff680b556bdb5cb2d5225aef09511ba92b91f4f6e
Schema-Version: v1
-->infra-copilot: add
Grow a repo that infra-copilot:setup already bootstrapped. Three flavors of "add," in
increasing blast radius. This file is a router: the reusable machinery — actor model,
handoff, resume, preflight — lives in ../infra-copilot/references/protocol.md; the
manifest in ../infra-copilot/references/steps.yaml; per-provider detail under
../infra-copilot/references/.
New vs. existing.
addprovisions things that don't exist yet — Terraform willcreatethem, and acreatein the plan is the expected, correct outcome. If the thing already exists at the provider and you're bringing it under management, that's infra-copilot:import (where acreatemeans something went wrong).
Guardrails
infra-copilot:setup phases 0–4 are green before this runs. add extends a working
repo; it does not bootstrap credentials.
Only for things that do not exist yet. If the resource already exists at the
provider, this skill would tell Terraform to create a duplicate — use
infra-copilot:import instead. Never fake a HUMAN step: an App-scope change, a token
mint or paste, and a provider decision are the human's, per the shared protocol.
Pick the flavor
1. Add a managed repo (smallest)
Terraform's github-org leaf manages repos. To add one:
- Config — append the repo to
managed_reposin.infra-copilot/config.md(../infra-copilot/references/config.md) and re-export$REPOif it's the first entry (the repository used by the execution service). - GitHub App install scope (
HUMANif the App is installed on selected repos) — the App must be able to see the new repo. If install is scoped, a human extends it in the org's App-install settings, then repliesdone. See../infra-copilot/references/github.md. - Terraform — add the resource/module in
terraform/github/, then verify the plan: use the get-plan operation. Green plan showing the new repo as will be created (or imported, if it already exists on GitHub — then hand toinfra-copilot:import).
2. Add a resource to an existing provider
A new Cloudflare DNS record, page rule, or GitHub repo setting — the provider and its execution and credentials already exist, so this is pure Terraform:
- Write the resource under the right leaf (
terraform/cloudflare/orterraform/github/). - If it needs a permission the current scoped token lacks (e.g. a new Cloudflare resource
type), the token needs widening — a
HUMANmint/paste. Scope-widening guidance:../infra-copilot/references/cloudflare.mdand../infra-copilot/references/docs/secrets.md. - Use get-plan → green with the new resource as will be created. Apply through the approved execution procedure after review.
3. Adopt a brand-new provider (largest — a design decision)
Adding a provider like GCP is a locked-design-decision change, not a routine add. GCP is opt-in: nothing is provisioned until the decision is recorded.
Route a new-provider adoption through Phase 6 of
../infra-copilot/references/steps.yaml, using
the shared resume protocol. The manifest and protocol own the bootstrap behavior,
sequence, and safety rules.
Runbook for the GCP case (keyless WIF auth, adoption hazards): ../infra-copilot/references/gcp.md.
Workflow
- Read config first (shared protocol, Step 0) —
../infra-copilot/references/config.md. - Pick the flavor above; run
AGENTsteps and stop + hand off onHUMANsteps (App-scope change, token mint/paste, provider decision). Full actor/handoff/resume contract:../infra-copilot/references/protocol.md. - Verify with a plan, then follow the read-run-status operation to confirm the approved apply.
Validation
terraform plan is green, the new thing is shown as will be created, and nothing is
unexpectedly destroyed. A resource appearing as will be created that you know already
exists live means this was the wrong skill — stop and use infra-copilot:import.
Example
Adding one managed repo, after the config edit:
# terraform/github
Plan: 1 to add, 0 to change, 0 to destroy.
+ github_repository.this["new-service"]One to add, nothing to destroy: that is the shape to expect.
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.

