init
Skill1 starsChanged 6 months agoMITView on GitHub
Initializes a project from any starting state — greenfield, joining existing code, partitioning a sub-project, or pivoting scope. Auto-detects which path applies. Invoke with /init.
89 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- cfgaudit/cfgaudittheir own version, first seen Oct 5, 2026
- RobStrayer/voice-agent-skillstheir own version, first seen Oct 1, 2026
- hodstack/hodstacktheir own version, first seen Oct 1, 2026
- sachingulati/claude-statuslinetheir own version, first seen Sep 30, 2026
- OpenPerfAgent/who-ate-my-flopstheir own version, first seen Sep 30, 2026
Used with
Projects with it also use migrate, survey and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
genomewalkerSkillmigrate
Import soul data from SQLite or shared chitta files
Also in 8 projects that use this
SNL-UCSBSkillsurvey
Literature survey assistant with four modes: /survey intent (capture student goals, expertise, and success criteria), /survey triage (landscape mapping via NotebookLM), /survey deepen (structured reading with craft and visualization extraction), /survey synthesize (cross-paper analysis for related work, area exams, gap identification). Also: /survey expand (corpus growth proposals). Use when students mention reading papers, literature review, related work, area exam prep, paper corpus, or any systematic reading task.
Also in 3 projects that use this
pvnarpSkillbug
Investigates and resolves bugs using structured diagnosis. Categorizes by system, traces root cause, proposes minimal fix, and suggests prevention. Use when debugging issues or investigating unexpected behavior.
Also in 3 projects that use this
AnthropicSkilluninstall
Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.
Also in 3 projects that use this
Eipi-TongSkilladopt
Onboard an existing codebase into the starter kit. Use when the user says "adopt this project", "add the kit to my existing repo", or "set up the kit on existing code".
Also in 3 projects that use this
mlz11Skillreset
Completely reset ClaudeNotifier installation, removing all components and permissions
Also in 3 projects that use this
Other versions89 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 89
- microsoft/vscode★ 196ksame name
- mcollina/skills★ 1.9ksame name
- skyllwt/AutoSci★ 1.7ksame name
- tmck-code/yet-another-statusline★ 242same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 198same name
- mattgierhart/PRD-driven-context-engineering★ 179same name
- atelier-fashion/adlc-toolkit★ 171same name
- guhcostan/claude-mega-brain★ 126same name
- The01Geek/prflow★ 99same name
- duthaho/claudekit★ 97same name
79 more not listed
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 repository7 other files it gives its agents.
- build-planSkill
- executeSkill
- github-syncSkill
- iterateSkill
- reviewSkill
- saveSkill
- skill-forgeSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 80 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Run the detection script:
- Very specific: line 47
If ambiguous, ask via AskUserQuestion:
- Distinctive: line 55
Read the matching reference:
- Very specific: line 155
Before completing, read and follow ../../references/cross-cutting-rules.md.
“Common” is measured: kept by at least 6 in 10 of the 80 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
Init
Take a project from any starting state to an approved build plan ready for /execute. Four pathways share one detection layer; the matching reference drives the actual flow.
- Greenfield — empty directory, no git, no docs
- Join-existing — code/repo exists, no
project-context.md, you're onboarding - Sub-project — partition a parent project into a focused sub-workspace
- Pivot — direction change in an existing project (scope rewrite)
Inputs
| Input | Source | Required |
| Project name | User prompt or cwd basename | Yes |
| Project root path | User prompt or cwd | Yes |
| Initial description | User prompt | Yes (greenfield) / Optional (others) |
Outputs
- Repo scaffold (greenfield only — directories, template files,
.gitignore,README.mdstub) - GitHub repo (greenfield, optional — user confirms)
project-context.mdin repo rootproject-plan.mdin repo root (approved)artifacts/project.db(SQLite + FTS5)
Instructions
Phase 0: Detect mode
Run the detection script:
bash skills/init/scripts/detect-state.shOutput is one of: greenfield | join-existing | sub-project | pivot | ambiguous.
A fifth path — sub-project-merge — is user-triggered explicitly (/init merge, "merge the sub-project back," or "wrap up the sub-project"). The detect script doesn't auto-detect this; the user knows when work is done.
If ambiguous, ask via AskUserQuestion:
"I see
<observed state>. Which path?
- Greenfield — start fresh from this empty dir
- Join existing — there's code, I'm onboarding
- Sub-project — partition this from a parent project
- Sub-project merge — fold a completed sub-project back into its parent
- Pivot — existing project, but the direction changed"
Read the matching reference:
- greenfield →
references/greenfield.md - join-existing →
references/join-existing.md - sub-project →
references/sub-project.md - sub-project-merge →
references/sub-project-merge.md - pivot →
references/pivot.md
Phase 1: Confirm project name + slug
Used as the project identifier (e.g., for the artifacts/research/<NNN>-<topic>/ naming and any downstream tooling). Default:
SLUG=$(basename "$(pwd)" | tr '[:upper:]' '[:lower:]' | tr ' ' '-')Confirm with the user via AskUserQuestion before continuing. The slug is hard to rename later once research artifacts and DB entries reference it.
Phase 2: Run the path
Each reference (greenfield.md, join-existing.md, sub-project.md, pivot.md) drives its own phase chain. They cover the work, then return here for Phase 3.
Across all paths, certain phases recur — they're documented inline in each reference but follow a common shape:
- Interview (inline, interactive) — uses
agents/questions.mdfor the prompt structure - Write
project-context.md(inline OR viaagents/context-write.mdsubagent) - Research plan (optional, spawns Sonnet research subagents or skips with a note)
- Build plan (calls
/build-planfrom-scratch mode)
See references/meta-skill-guards.md for shared timeout and stall-detection rules used across these multi-phase paths.
Phase 3: Init artifact DB
source references/db.sh
db_initCreates artifacts/project.db with the schema. Idempotent — re-running on a project that already has the DB is safe.
Phase 4: Final decision gate
Present the user a summary:
- Project name + slug
- Files created (context, plan)
- DB initialized
- Build plan approved with N work units
Ask via AskUserQuestion:
"Project initialized. What next?
- Start building — run
/executeto implement the plan- Review first — run
/reviewto stress-test the plan- Done for now — stop here, return later"
References (on-demand)
references/greenfield.md— scaffold → repo create → interview → context → research → planreferences/join-existing.md— discover → interview (scoped) → context → plan-or-validatereferences/sub-project.md— partition from parent → context → plan (linked to parent)references/pivot.md— adversarial scope rewrite → updated context → updated planreferences/meta-skill-guards.md— shared timeout + stall detection rules
Agent prompts (on-demand)
agents/questions.md— interview prompt template (used by all paths in different scopes)agents/scaffold.md— Sonnet subagent for repo scaffolding (greenfield)agents/context-write.md— Sonnet subagent for draftingproject-context.md
Examples
User: /init — new project, real-time collab tool called collab-space
→ Phase 0: empty dir, no git → greenfield. Phase 1: slug = "collab-space".
Phase 2 (greenfield.md): scaffold → repo create → interview → context → research → plan.
Phase 3: db_init. Phase 4: user picks "Start building" → suggest /execute.User: /init — I cloned this repo, never touched it before
→ Phase 0: .git exists, no project-context.md → join-existing.
Phase 2 (join-existing.md): discover stack, read existing docs, scoped interview,
draft context, propose initial plan (or validate existing one).User: /init — this should be a sub-project of payments-core
→ Phase 0: ambiguous, AskUserQuestion → sub-project.
Phase 1: slug = "payments-rewrite" (or what user names). Phase 2 (sub-project.md):
detect parent at ../payments-core, partition scope, write linked context.User: /init — we just pivoted from B2C to B2B
→ Phase 0: existing project + pivot cue → pivot.
Phase 2 (pivot.md): adversarial review of current context vs new direction,
scoped rewrite of project-context.md, fresh project-plan.md, archive prior plan.Before completing, read and follow ../../references/cross-cutting-rules.md.
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.

