agent-dev
Use this skill when creating or refining Claude Code sub-agent definitions. Helps design specialized AI assistants with proper YAML frontmatter, system…
Shared multi-model CLI dispatch infrastructure for the adv plugin. Houses dispatch.sh, preflight.sh, run-phase.sh, scope.sh, and reviewer prompt templates used by the adv-review agent and adv-* commands.
$ npx -y skills add andisab/swe-marketplace --skill dispatch --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/dispatchContext preview
The summary Claude sees to decide when to auto-load this skill.
Shared multi-model CLI dispatch infrastructure for the adv plugin. Houses dispatch.sh, preflight.sh, run-phase.sh, scope.sh, and reviewer prompt templates used by the adv-review agent and adv-* commands.
name: dispatch description: Shared multi-model CLI dispatch infrastructure for the adv plugin. Houses dispatch.sh, preflight.sh, run-phase.sh, scope.sh, and reviewer prompt templates used by the adv-review agent and adv-* commands. user-invocable: false
This skill provides shared infrastructure for multi-model CLI dispatch. It is NOT user-invocable — it exists as reference material for the `adv-review` orchestrator agent and the `adv-*` commands.
| Engine | CLI | Non-Interactive Flag | Sandbox Flag | |---|---|---|---| | codex | `codex exec` | `--full-auto` | `-s read-only` | | gemini | `gemini` | `-p <prompt>` | `--sandbox --approval-mode plan` | | claude | `claude` | `--print` | N/A (always sandboxed) |
**Path**: `${CLAUDE_PLUGIN_ROOT}/skills/dispatch/scripts/preflight.sh`
Combined pre-flight check: dependency verification, engine health checks, and scope resolution in a single call.
# Smart default (uncommitted changes > last commit > full repo) bash preflight.sh # Explicit scope modes bash preflight.sh --commits abc123..def456 bash preflight.sh --since HEAD~5 bash preflight.sh --full
**Arguments**:
**Output**: Single JSON object to stdout:
{
"deps": {"codex": true, "gemini": true, "claude": true, "jq": true},
"engines": {
"codex": {"available": true, "error_type": "none"},
"gemini": {"available": true, "error_type": "none", "model": "gemini-2.5-pro"}
},
"scope": {
"type": "working",
"files_changed": 5,
"diff_lines": 120,
"untracked_files": 2,
"content_file": ".claude/reviews/.tmp/scope-content.txt"
}
}**Scope types**: `working` (uncommitted changes), `commits` (commit range/since), `full` (file manifest).
Internally calls `dispatch.sh --health-check` for engine verification, including automatic Gemini flash fallback on quota errors.
**Path**: `${CLAUDE_PLUGIN_ROOT}/skills/dispatch/scripts/run-phase.sh`
Parallel dispatch orchestrator for review and cross-examination phases. Handles dispatch, validation, and fallback in a single call.
# Review phase — dispatch 4 reviewers in parallel bash run-phase.sh --phase review \ --assignments "quality:codex,implementation:gemini,testing:codex,documentation:gemini" \ --prompt-dir "$TMP" --output-dir "$TMP" --timeout 300 # Cross-exam phase — dispatch 2 engines in parallel bash run-phase.sh --phase cross-exam --round 1 \ --assignments "codex,gemini" \ --prompt-dir "$TMP" --output-dir "$TMP" --timeout 300
**Arguments**:
**File naming conventions**:
**Output**: JSON summary to stdout:
{
"phase": "review",
"results": {
"quality": {"engine": "codex", "status": "success", "fallback_used": false}
},
"success_count": 4,
"failed": []
}Cross-exam output also includes verdict counts:
{
"phase": "cross-exam",
"round": 1,
"verdicts": {"validate": 8, "dispute": 2, "amend": 1, "new_findings": 0}
}**Fallback logic** (review phase only): 1. If Gemini dispatch fails with quota, retries with `gemini-2.0-flash` 2. If still failed, falls back to Claude 3. Final status reported in JSON output
**Path**: `${CLAUDE_PLUGIN_ROOT}/skills/dispatch/scripts/dispatch.sh`
Core single-model CLI dispatcher. Called internally by `preflight.sh` and `run-phase.sh`, and directly by the `/adv-codex`, `/adv-gemini`, `/adv-gemini-research` commands.
# Basic dispatch bash dispatch.sh --engine codex --prompt "Review this code" --cwd /path/to/repo # With output file and prompt file bash dispatch.sh --engine gemini --prompt-file /path/to/prompt.md --output-file /tmp/findings.md # Research mode (Gemini only) bash dispatch.sh --engine gemini --research --prompt "Latest TypeScript best practices" # Check prerequisites bash dispatch.sh --check-deps # Health check bash dispatch.sh --engine codex --health-check
**Arguments**:
**Exit Codes** (classified by error type): | Code | Meaning | Orchestrator Action | |---|---|---| | 0 | Success | Use response | | 1 | General error | Log and fall back to Claude | | 2 | Auth failure | Mark engine unavailable, fall back | | 3 | Quota exhau
A curated Claude Code plugin marketplace for practical, everyday usage in software engineering — 13 plugins, 53 specialist agents, 14 skills, 3 commands. A few opinionated choices that set it apart from larger awesome-style lists: Curated, not exhaustive.
Repo: andisab/swe-marketplace
Use this skill when creating or refining Claude Code sub-agent definitions. Helps design specialized AI assistants with proper YAML frontmatter, system…
Use this skill when creating or refining custom Claude Code slash commands. Slash commands are user-invoked reusable prompts that can accept arguments,…
Use this skill when creating or refining Claude Code hooks. Hooks are shell commands that execute at specific lifecycle events (tool use, prompt submit,…
Create MCP servers — multi-tool services exposed via Model Context Protocol. Use this skill whenever users mention MCP servers, building servers, server…
Create MCP tools — individual tool functions exposed via Model Context Protocol. Use this skill whenever users mention MCP tools, tool handlers, tool…
Use this skill when creating or refining Claude Code plugins. Plugins are bundled collections of agents, skills, commands, hooks, and MCP servers that provide…