setup-skills
Skill0 starsChanged 3 months agoMITView on GitHub
Reproduces this repo's curated agent-skill setup on a fresh machine (or syncs it between machines). Installs skills from their source repos via the skills CLI, prompting for which agents to support and which skill categories to install (the pick is remembered), and optionally recreates the opencode slash commands. Use when setting up a new machine, restoring or syncing skills, or when asked to "set up my skills", "install my skills", "sync my skills", or "recreate my skill setup".
9 other projects use a version of this.
Adopted by
Most recently taken up by
- SantiagoVqz/claude-skillstheir own version, first seen Sep 23, 2026
- Danceiny/skillstheir own version, first seen Sep 20, 2026
- anthod0/skillstheir own version, first seen Sep 19, 2026
- endalk200/skillstheir own version, first seen Sep 12, 2026
- r2rka1/skillstheir own version, first seen Aug 18, 2026
- JoseArron/skillstheir own version, first seen Aug 18, 2026
Used with
Projects with it also use codebase-design, writing-for-agents 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.
AWSSkillcodebase-design
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
Also in 7 projects that use this
AWSSkillwriting-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
Also in 5 projects that use this
SentrySkilldiagnosing-bugs
A discipline for hard bugs, flaky tests, CI hangs, and performance regressions in this SDK. Use when the user says "diagnose" or "debug this", reports something broken/throwing/failing/hanging/slow, or a test is flaky. Builds a tight, red-capable feedback loop before hypothesizing.
Also in 5 projects that use this
AnasX7Skillsetup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
Also in 3 projects that use this
kayamanSkillgit-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
Also in 3 projects that use this
- +7 more from aws
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- officialunofficial/skills★ 7same name
- JoseArron/skills★ 2same name
- r2rka1/skills★ 2same name
- SantiagoVqz/claude-skills★ 2same name
- endalk200/skills★ 1same name
- nikhil-vytla/skills★ 1same name
- anthod0/skills★ 0same name
- Danceiny/skills★ 0same name
- pahwaranger/skills★ 0same 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 repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- commit-styleSkill
- github-workflowSkill
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 9 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 33
Ask which agents to support: Do not assume opencode. Offer the common ones and let the user pick any set:
- Very specific: line 54
Read setup-skills/scripts/inventory.tsv and group by category (see Inventory above) to build the option list.
- Distinctive: line 57
If the user picks all categories (or says "all"/"sync"), run non-interactively:
- Very specific: line 63
If the user picks a subset, do not run install.sh without --all (it needs a TTY).
- Very specific: line 64
Write the chosen categories one per line to ${XDG_CONFIG_HOME:-~/.config}/setup-skills/selection then tell the user to re-run in a …
“Common” is measured: kept by at least 6 in 10 of the 9 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 Skills
Reproduces the personal skill set tracked in this repo. The repo is the source of
truth: scripts/inventory.tsv lists every skill, its source repo, and its
category, and commands/ holds a small curated set of opencode slash-command
wrappers (only skills that need explicit invocation, such as grill-me, or a
parameterized flow, such as code-review; everything else is loaded by the
agent from the skill's own description). This skill
runs the skills CLI (npx skills add …) against that inventory, so installation
always comes from the upstream repos and is easy to maintain (add/remove one line
to change the set).
Inventory
- File:
setup-skills/scripts/inventory.tsv(override viaSKILLS_INVENTORY). - Format: one
<repo> <skill> <category>triple per line, tab-separated,#for comments, blank lines ignored.categoryis one ofcore,react,kotlin,architecture,process,tooling. - Current categories and skills (read the file for truth — do not hardcode — but agents should present this grouped view without reading
install.sh):core:commit-style(sudokoi/skills),github-workflow(sudokoi/skills),find-skills(vercel-labs/skills)react:bulletproof-react-architecture,frontend-architecture,shadcn,vercel-composition-patterns,vercel-react-best-practices,vercel-react-native-skillskotlin:kotlin-api-design,kotlin-concurrency-and-flow,kotlin-control-flow,kotlin-tooling-agp9-migrationarchitecture:codebase-architecture,codebase-design,domain-modeling,improve-codebase-architectureprocess:code-review,diagnosing-bugs,grill-me,grilling,handoff,tddtooling:agent-browser,design-taste-frontend
- Slash commands (
setup-skills/commands/*.md→~/.config/opencode/commands/):code-review,diagnose-bugs,grill-me,handoff,sync-skills,tdd. Only skills that need explicit invocation get a wrapper; all others are loaded by description.
Steps
Ask which agents to support. Do not assume opencode. Offer the common ones and let the user pick any set:
opencode,cursor,codex,claude,gemini,windsurf,zed,warp,github-copilot, …
Friendly names
claudeandgeminiare mapped to the CLI namesclaude-codeandgemini-cliby the script. Default toopencodeif the user has no preference. Collect as a comma-separated list for--agents.- Ask whether to (re)create the opencode slash commands (optional). These are
the curated wrappers in
commands/installed to~/.config/opencode/commands/. Say yes only for opencode setups. This maps to--commands. Install the skills. The installer and inventory live in
scripts/, next to thisSKILL.md(i.e.<repo>/setup-skills/scripts/install.shwhen using the repo checkout).For agents (no TUI — do not read
install.shto discover options)The interactive category tree (
install.shwithout--all) requires a TTY and will fail withneeds a terminalwhen run by an agent. Do not invoke it. Instead:- Read
setup-skills/scripts/inventory.tsvand group by category (see Inventory above) to build the option list. Check already-installed skills via~/.agents/skills/<name>/SKILL.mdif you want to show✓marks, but do not fail if absent. - Present the categories as a text checklist using the
questiontool (one question,multiple: trueallowed). Example prompt:Which skill categories to install?with optionscore (3 skills),react (6 skills), …tooling (2 skills), plus anallchoice. Pre-check from${XDG_CONFIG_HOME:-~/.config}/setup-skills/selectionwhen available (read viainstall.sh --print-selectionor the file directly); on first run nothing is pre-checked. - Translate the answer to an install plan:
If the user picks all categories (or says "all"/"sync"), run non-interactively:
bash setup-skills/scripts/install.sh --agents <list> --all [--commands]- If the user picks a subset, do not run
install.shwithout--all(it needs a TTY). Two valid approaches:- Write the chosen categories one per line to
${XDG_CONFIG_HOME:-~/.config}/setup-skills/selectionthen tell the user to re-run in a terminal:bash setup-skills/scripts/install.sh --agents <list> [--commands](it will pre-check the saved pick in its TUI), or Install directly without the TUI by looping
npx skills addfor only the chosen categories:# for each selected category and each agent: npx skills add <repo> --skill <name> --global --yes --agent <agent>and for commands run
bash setup-skills/scripts/write-commands.shif--commandswas requested.
- Write the chosen categories one per line to
--dry-runis always safe for agents:bash setup-skills/scripts/install.sh --agents <list> --dry-runprints[plan] <skill> (<repo>, <category>) -> <agent>andPlan: N install(s)without installing or prompting. Use it to preview.
For terminals (human at a TTY)
bash setup-skills/scripts/install.sh --agents opencode,cursor,codex bash setup-skills/scripts/install.sh --agents opencode,cursor,codex --commands bash setup-skills/scripts/install.sh --agents opencode --all --commands bash setup-skills/scripts/install.sh --agents opencode --dry-runThe terminal TUI shows each category as a checkbox row with skills beneath and
✓for already-installed ones. Controls:spacetoggle category,aall/none,arrowsmove,enterinstall,qquit. The picked categories are remembered in${XDG_CONFIG_HOME:-~/.config}/setup-skills/selectionand pre-checked next time.For each selected category the script loops over every agent and installs each inventory skill with:
npx skills add <repo> --skill <name> --global --yes --agent <agent>- Read
- Report which skills were installed and which agents were targeted.
Idempotency
Re-running is safe. npx skills add with --yes is non-interactive and overwrites
an already-installed skill without error, so the same command can run on a fresh
machine or to bring an existing machine back in sync. write-commands.sh overwrites
the command files in place and prunes previously managed commands that were removed
from the repo. The remembered category selection only pre-checks the
tree; every run reconfirms the pick before installing.
Adding / removing a skill
Edit scripts/inventory.tsv (one <repo> <skill> <category> triple per line,
# for comments; category is one of core, react, kotlin, architecture, process,
tooling) and commit. Re-running this skill on any machine installs the new set.
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.

