new-sdk-app
CommandCreate and setup a new Claude Agent SDK application
Guided setup — discover knowledge files, create subscriptions, enable telemetry, and close the feedback loop. Safe to re-run (additive).
> /plugin marketplace add composio-community/awesome-claude-plugins
description: Guided setup — discover knowledge files, create subscriptions, enable telemetry, and close the feedback loop. Safe to re-run (additive).
**Announce:** "[skill-bus] Starting guided setup."
Read `.claude/CLAUDE.md` if it exists. Parse it for:
Store findings as notes for Step 2 (knowledge routing).
Locate the CLI and run the project scanner:
SB_CLI=$(ls ~/.claude/plugins/cache/*/skill-bus/*/lib/cli.py ~/.claude/plugins/repos/skill-bus/lib/cli.py 2>/dev/null | tail -1)
if [ -z "$SB_CLI" ]; then
echo "ERROR: skill-bus CLI not found. Is the plugin installed?"
exit 1
fi
python3 "$SB_CLI" scan --cwd "$PWD"Also discover installed skills:
SB_CLI=$(ls ~/.claude/plugins/cache/*/skill-bus/*/lib/cli.py ~/.claude/plugins/repos/skill-bus/lib/cli.py 2>/dev/null | tail -1) python3 "$SB_CLI" skills --cwd "$PWD"
And check current config status:
SB_CLI=$(ls ~/.claude/plugins/cache/*/skill-bus/*/lib/cli.py ~/.claude/plugins/repos/skill-bus/lib/cli.py 2>/dev/null | tail -1) python3 "$SB_CLI" status --cwd "$PWD"
Present what was found, then walk through the installed skills before proposing subscriptions:
> "Based on your CLAUDE.md and project structure, I found these knowledge sources: > - [list each discovered knowledge file with description] > > Here are the skills installed in your environment that Skill Bus can enhance: > - [list key skills from Phase 1b output, grouped by plugin/category] > > The idea is to connect your knowledge sources to relevant skills. For example, if you have `docs/decisions/` with past architectural decisions, that context is valuable when planning (`writing-plans`) or debugging (`systematic-debugging`). > > Which of these skills do you use most? Any knowledge sources I missed — project briefs, people files, architecture docs, troubleshooting archives?"
**If no knowledge files found**, pivot:
> "You don't have structured knowledge files yet — that's fine. Skill-bus routes existing knowledge to skills, and the feedback loop will identify what's missing over time." > > "A good starting point: create a `docs/decisions/` directory. Even a few notes on past decisions gives planning and debugging skills valuable context. Re-run `/skill-bus:onboard` anytime to wire in new knowledge."
Skip to Step 3 (Settings).
**If existing config found with subscriptions:**
> "You already have N subscriptions configured. Want to review them, or set up additional ones?"
If they want to review, run `/skill-bus:list-subs`. Then continue with new subscriptions only.
For each knowledge source discovered (from Phase 1a + 1b + 1c), propose a subscription interactively.
| Knowledge found | Proposed insert name | Suggested insert text pattern | Suggested skills | |----------------|---------------------|-------------------------------|-----------------| | `docs/` with decisions or solutions | `prior-decisions` | "Check [path] for prior decisions/solutions before starting this work" | `*:writing-plans`, `*:brainstorming`, `*:systematic-debugging` | | `README.md` / `CLAUDE.md` with conventions | `project-conventions` | "Apply project conventions from [path]" | `*:code-review`, `*:verification-*` | | `.git/config` with org remote | `git-identity` | "Enforce git identity for [org] in this project" | `*:finishing-*`, `*:code-review` | | Build tooling (`package.json` etc.) | `build-check` | "Run build/type-check before claiming done" | `*:verification-*`, `*:finishing-*` | | User-specified paths (from Phase 1c) | Ask user for name | Generated based on user's description | Matched to relevant skill categories |
For each:
1. Show the proposed subscription 2. Ask using AskUserQuestion: **"Create this subscription?"**
3. If they chose yes, ask scope using AskUserQuestion:
4. For any file/directory-based knowledge, auto-add a `fileExists` condition on the insert. Explain: > "Adding a `fileExists` condition so this only fires in projects that have [path]."
5. Write the insert and subscription to config using the `add-insert` CLI subcommand. **Create subscriptions one at a time** (do not parallelize these writes — the CLI uses read-modify-write on the config file):
SB_CLI=$(ls ~/.claude/plugins/cache/*/skill-bus/*/lib/cli.py ~/.claude/plugins/repos/skill-bus/lib/cli.py 2>/dev/null | tail -1)
python3 "$SB_CLI" add-insert \
--name "<insert-name>" \
--text "<insert text>" \
--conditions '[{"fileExists": "<path>"}]' \
--on "<skill-pattern>" \
--when pre \
--scope "$SCOPE" \
--cwd "$PWD"Set `SCOPE` to `"global"` or `"project"` based on the user's choice. Omit `--conditions` if no conditions needed. Adapt arguments based on user's choices.
6. Confirm each subscription created: > "Created: [insert-name] -> [skill-pattern] [timing] ([scope])"
> "Before we set
A curated list of Plugins that let you extend Claude Code with custom commands, agents, hooks, and MCP servers through the plugin system.
Create and setup a new Claude Agent SDK application
This file contains detailed agent coordination for `/audit-project`.
This file contains GitHub integration for `/audit-project`.
Multi-agent code review with iterative improvement
Streamlines bug fixing by creating a GitHub issue first, then a feature branch for implementing and thoroughly testing the…
Perform a comprehensive code review of recent changes
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…