From khemoo-skills
Use whenever the user wants to bootstrap a project (or their user-global Claude config) for AI collaboration — sets up the `AGENTS.md`/`CLAUDE.md` instruction templates, `.claude/settings.json` with a HUD statusline, `.editorconfig`, and `.markdownlint.json`. Triggers on "set up this project for Claude", "bootstrap AGENTS.md", "/setup-khemoo", or when the user starts a new project that needs the standard scaffolding. Invoke even when the user phrases the ask casually ("get this repo Claude-ready", "drop in the usual configs").
How this skill is triggered — by the user, by Claude, or both
Slash command
/khemoo-skills:setup-khemooThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- `/setup-khemoo` — full setup at project scope (default)
/setup-khemoo — full setup at project scope (default)/setup-khemoo --project — explicit project scope (same as default)/setup-khemoo --user — full setup at user scope (~/.claude/)Idempotent — never overwrites existing files. Reports which files were written vs skipped because they already exist.
| File | --project (default) | --user |
|---|---|---|
AGENTS.md (canonical agent instructions) | <root>/AGENTS.md | ~/.claude/AGENTS.md |
CLAUDE.md (imports AGENTS.md via @AGENTS.md) | <root>/CLAUDE.md | ~/.claude/CLAUDE.md |
Claude Code settings (with HUD statusLine wired up) | <root>/.claude/settings.json | ~/.claude/settings.json |
| HUD statusline script | <root>/.claude/scripts/statusline.sh | ~/.claude/scripts/statusline.sh |
| HUD usage fetcher | <root>/.claude/scripts/usage-fetch.sh | ~/.claude/scripts/usage-fetch.sh |
.editorconfig | <root>/.editorconfig | — (project-only) |
.markdownlint.json | <root>/.markdownlint.json | — (project-only) |
<root> is the git toplevel, or $PWD if not inside a git repo.
The HUD is wired up via Claude Code's statusLine setting. statusline.sh renders the line; usage-fetch.sh refreshes the Anthropic usage caps it displays (5h + weekly), reading OAuth credentials from the macOS Keychain or ~/.claude/.credentials.json. Both are dependency-free bash; the statusline path is baked into settings.json at install time so it resolves regardless of cwd. Internals documented inline in each script.
AGENTS.md is the canonical agent-instruction file; CLAUDE.md is a one-line stub that imports it via @AGENTS.md, so Claude Code and Codex load the same content. Both land at the target root (or ~/.claude/ for --user) so the relative import resolves.
--project default, --user if flag passed). Reject unknown args with exit 2.$HOME/.claude for user, git toplevel or $PWD for project).wrote: <path> or skip: <path> (exists).The script implementation lives at scripts/setup.sh. Run it directly:
./skills/setup-khemoo/scripts/setup.sh # project scope
./skills/setup-khemoo/scripts/setup.sh --user # user scope
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub kickthemoon0817/khemoo-skills --plugin khemoo-skills