setup
Skill6 starsChanged 3 months agoMITView on GitHub
First-run onboarding for nyann. Creates the user config directory, collects preferences through AskUserQuestion interactive pickers, and writes ~/.claude/nyann/preferences.json. TRIGGER when the user says "set up nyann", "configure nyann", "nyann setup", "onboard me", "first time using nyann", "initialize nyann", "nyann first run", "get nyann ready", "/nyann:setup". ALSO trigger when: the user runs any nyann command for the first time and ~/.claude/nyann/preferences.json does not exist — suggest running setup first, but don't block them. Do NOT trigger on "set up this project" or "bootstrap this repo" — those are bootstrap-project. Do NOT trigger on "check prereqs" — that is check-prereqs. This skill configures nyann itself, not a repo.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- onetapstudiogames/1f3d9-citylifetheir own version, first seen Oct 7, 2026
- prathish-ks/isthmustheir own version, first seen Oct 6, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- qbeka/jev-job-searchtheir own version, first seen Oct 4, 2026
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- nanocoai/nanoclawtheir own version, first seen Oct 4, 2026
Used with
Projects with it also use add-slack, add-parallel and 10 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.
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 6 projects that use this
MicrosoftSkilladd-parallel
Also in 5 projects that use this
sskarzSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 5 projects that use this
- +9 more from microsoft
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- feder-cr/invisible_playwright_mcp★ 32ksame name
- nanocoai/nanoclaw★ 31ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Q00/ouroboros★ 6.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 2.8ksame name
- Shpigford/chops★ 1.9ksame name
- skyllwt/AutoSci★ 1.7ksame name
- microsoft/power-platform-skills★ 961same name
- SethGammon/Citadel★ 922same name
183 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 repository41 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-team-sourceSkill
- bootstrap-projectSkill
- check-prereqsSkill
- cleanup-branchesSkill
- commitSkill
- diagnoseSkill
- diff-profileSkill
- doctorSkill
- explain-diffSkill
- explain-stateSkill
- fleet-retrofitSkill
- fleetSkill
- gen-ciSkill
- gen-claudemdSkill
- gen-dependency-updaterSkill
- gen-devcontainerSkill
- gen-templatesSkill
- gh-protectSkill
- hotfixSkill
- iac-applySkill
- iac-planSkill
- inspect-profileSkill
- learn-profileSkill
- migrate-profileSkill
- new-branchSkill
- optimize-claudemdSkill
- prSkill
- record-decisionSkill
- releaseSkill
- retrofitSkill
- route-docsSkill
- settingsSkill
- shipSkill
- suggestSkill
- syncSkill
- sync-team-profilesSkill
- undo-bootstrapSkill
- undoSkill
- wait-for-pr-checksSkill
- watchSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 2 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Run both commands in parallel (single tool-call turn):
- Very specific: line 92
If status == "configured": show current preferences as a table, then ask "Want to update any of these?" If no, skip to Step 4.
- Very specific: line 94
If status == "not_configured": show the welcome greeting, then the prereqs table, then continue to Step 2 immediately:
- Very specific: line 126
Check command -v gh first.
- Very specific: line 202
If user picked "Other" for Stack, map to the matching profile name (react-vite, node-api, typescript-library, django-app, go-service, …
- Very specific: line 207
Use the exact values above: Never abbreviate (conventional-commits not conventional).
- Very specific: line 222
If gh is not installed, use --no-gh-integration instead.
- Very specific: line 238
After preferences are written but before showing the final summary, ask the user if they want to see what /nyann:bootstrap would do in …
- Distinctive: line 258
If the user picks Yes, run:
- Very specific: line 272
If simulation: "partial" appears (monorepo case), tell the user the plan covers the base writes only and that running /nyann:bootstrap will …
“Common” is measured: kept by at least 6 in 10 of the 171 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
setup
CRITICAL: This skill uses the
AskUserQuestiontool for ALL user choices. NEVER ask questions as plain text. Every user choice goes throughAskUserQuestionwith the exact JSON shown below.
Script paths: nyann is a Claude Code plugin, NOT a CLI tool. Do NOT
search for it via which, npm list, pip list, or brew list. All
scripts are at the plugin root. Determine the plugin root from this
SKILL.md's path (<plugin_root>/skills/setup/SKILL.md) — the scripts
are at <plugin_root>/bin/. Use bash <plugin_root>/bin/<script> for
all commands below.
Re-runnable: if preferences already exist, show current values and offer to update them.
Step 1: Status + prereqs (parallel, one turn)
Run both commands in parallel (single tool-call turn):
bash <plugin_root>/bin/setup.sh --check --jsonbash <plugin_root>/bin/check-prereqs.sh --json
Do NOT show the raw JSON to the user. Parse the prereqs array
and build separate small tables by category. Use pipe-delimited
markdown (NO box-drawing characters, NO manual padding). Shorten
version strings (e.g., git version 2.50.1 (Apple Git-155) → 2.50.1).
Example output:
**Required**
| Tool | Status | Version |
|---|---|---|
| git | ok | 2.50.1 |
| jq | ok | 1.7.1 |
| bash | ok | 3.2.57 |
**JS / TS**
| Tool | Status | Version |
|---|---|---|
| node | ok | v25.9.0 |
| pnpm | ok | 10.13.1 |
**Python**
| Tool | Status | Version |
|---|---|---|
| python3 | ok | 3.14.4 |
| pre-commit | ok | 4.6.0 |
| uv | ok | 0.9.15 |
**Other**
| Tool | Status | Version |
|---|---|---|
| go | ok | 1.26.2 |
| cargo | missing | https://rustup.rs |
| gh | ok | 2.83.1 |
| gitleaks | ok | 8.30.1 |
| shellcheck | ok | 0.11.0 |
All hard prerequisites satisfied.Group tools by: Required (kind=hard), JS / TS (node, npm,
pnpm, yarn, bun), Python (python3, pre-commit, uv),
Other (everything else). Skip empty groups. For missing tools,
show the hint field instead of a version.
Then display a single combined message:
- If
status == "configured": show current preferences as a table, then ask "Want to update any of these?" If no, skip to Step 4. If
status == "not_configured": show the welcome greeting, then the prereqs table, then continue to Step 2 immediately:Welcome to nyann! Let's get you set up.
Continue to Step 2 — do NOT pause for prereqs.
Step 2: Quick or custom setup
Call AskUserQuestion — this is the first and possibly only picker:
{
"questions": [
{
"question": "How would you like to configure nyann?",
"header": "Setup",
"multiSelect": false,
"options": [
{ "label": "Quick setup (Recommended)", "description": "Use smart defaults: auto-detect stack & branching, conventional commits, GitHub CLI enabled, local docs" },
{ "label": "Customize", "description": "Choose each setting individually" }
]
}
]
}- Quick setup → skip to Step 3 with all defaults.
- Customize → continue to Step 2b.
Step 2b: Custom preferences (only if Customize)
Check command -v gh first. If gh is NOT installed, skip the GitHub CLI
question and default to --no-gh-integration.
Call AskUserQuestion with up to 4 questions:
{
"questions": [
{
"question": "What stack do you work with most often?",
"header": "Stack",
"multiSelect": false,
"options": [
{ "label": "Auto-detect (Recommended)", "description": "nyann inspects the repo each time and picks the right profile" },
{ "label": "Next.js", "description": "nextjs-prototype profile — React + Next.js projects" },
{ "label": "FastAPI", "description": "fastapi-service profile — Python FastAPI services" },
{ "label": "Python CLI", "description": "python-cli profile — command-line Python tools" }
]
},
{
"question": "Which branching strategy should nyann default to?",
"header": "Branching",
"multiSelect": false,
"options": [
{ "label": "Auto-detect (Recommended)", "description": "nyann picks based on project size and type" },
{ "label": "GitHub Flow", "description": "Simple: main + feature branches" },
{ "label": "GitFlow", "description": "main + develop + feature/release/hotfix branches" },
{ "label": "Trunk-based", "description": "Short-lived branches, frequent merges to main" }
]
},
{
"question": "Which commit message format should nyann enforce?",
"header": "Commits",
"multiSelect": false,
"options": [
{ "label": "Conventional Commits (Recommended)", "description": "Enforces feat:, fix:, chore: etc. in commit hooks" },
{ "label": "Custom", "description": "No commit format enforcement" }
]
},
{
"question": "Enable GitHub CLI integration for branch protection and PR helpers?",
"header": "GitHub CLI",
"multiSelect": false,
"options": [
{ "label": "Yes (Recommended)", "description": "Enable branch protection audit and PR helpers via gh" },
{ "label": "No", "description": "Skip all gh-dependent features" }
]
}
]
}Docs and team sync use defaults (local, no). These are rarely
changed and not worth an extra picker round-trip. Users who need
non-default values can re-run /nyann:setup or use
/nyann:route-docs.
Step 3: Write preferences
Value mapping
| Picker label | Flag | Value |
| Auto-detect (Stack) | --default-profile | auto-detect |
| Next.js | --default-profile | nextjs-prototype |
| FastAPI | --default-profile | fastapi-service |
| Python CLI | --default-profile | python-cli |
| Auto-detect (Branching) | --branching-strategy | auto-detect |
| GitHub Flow | --branching-strategy | github-flow |
| GitFlow | --branching-strategy | gitflow |
| Trunk-based | --branching-strategy | trunk-based |
| Conventional Commits (Recommended) | --commit-format | conventional-commits |
| Custom | --commit-format | custom |
| Yes (GitHub CLI) | --gh-integration | (flag only) |
| No (GitHub CLI) | --no-gh-integration | (flag only) |
If user picked "Other" for Stack, map to the matching profile name
(react-vite, node-api, typescript-library, django-app,
go-service, rust-cli, swift-ios, kotlin-android, shell-cli,
default).
Use the exact values above. Never abbreviate (conventional-commits
not conventional).
Quick setup defaults
bash <plugin_root>/bin/setup.sh \
--default-profile auto-detect \
--branching-strategy auto-detect \
--commit-format conventional-commits \
--gh-integration \
--documentation-storage local \
--no-auto-sync-team-profilesIf gh is not installed, use --no-gh-integration instead.
Custom setup
bash <plugin_root>/bin/setup.sh \
--default-profile <mapped-value> \
--branching-strategy <mapped-value> \
--commit-format <mapped-value> \
--gh-integration | --no-gh-integration \
--documentation-storage local \
--no-auto-sync-team-profilesStep 3b: Optional simulation (v1.7.0+)
After preferences are written but before showing the final summary,
ask the user if they want to see what /nyann:bootstrap would do
in their current project. This is a no-mutation preview.
Call AskUserQuestion:
{
"questions": [{
"question": "Want to see what /nyann:bootstrap would do in your current repo?",
"header": "Simulate",
"multiSelect": false,
"options": [
{ "label": "Yes", "description": "Detect stack + suggest profile + plan writes; no changes" },
{ "label": "Skip", "description": "Move on to the summary" }
]
}]
}If the user picks Yes, run:
bash <plugin_root>/bin/setup.sh \
--simulate "$PWD" \
--default-profile <chosen-or-auto-detect> \
--branching-strategy <chosen-or-auto-detect> \
--commit-format <chosen> \
--documentation-storage localEcho the simulator's stderr verbatim — it's already formatted for human reading. Then proceed to Step 4.
If simulation: "partial" appears (monorepo case), tell the user the
plan covers the base writes only and that running /nyann:bootstrap
will add per-workspace lint-staged + commit scopes on top.
Step 4: Summary
Show a rich summary table and a clear next action:
**nyann configured!**
| Setting | Value |
|------------|----------------------|
| Stack | auto-detect |
| Branching | auto-detect |
| Commits | conventional-commits |
| GitHub CLI | enabled |
| Docs | local |
| Team sync | off |
**Next:** run `/nyann:bootstrap` in a project to set it up.
Run `/nyann:setup` anytime to change these.When to hand off
- "Now bootstrap this repo" →
bootstrap-projectskill. - "Check my tools" →
check-prereqsskill. - "Add team profiles" →
add-team-sourceskill.
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.

