Skip to content
OpenSmartRoute
Skillv1.0.0

agent-dispatch

Single front door for agent/subagent architecture, config, and setup. Parses a subcommand — audit, config, init, or route — and routes to the right engine: agent-architecture-audit (diagnose LLM wrapp

by shipshitdev(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from shipshitdev/skills (skills/agent-dispatch/SKILL.md). Install upstream with npx skills add shipshitdev/skills --skill agent-dispatch. Copyright stays with the author.

Agent Dispatch

The router behind /agent. Turns a subcommand into the right action and delegates. Contains no logic of its own — delegates to agent-architecture-audit, agent-config-audit, agent-folder-init, and setup-agent-routing.

Composition Boundary

Run only the selected mode. Pass the user's target, authorized actions, and report-only restrictions to the engine. Existing explicit approval satisfies that engine's gate for the same scope; obtain approval for missing or expanded authority. Delegation never grants new host, provider, cost, publication, or production permissions. An empty or advisory mode starts no mutating workflow.

Contract

Inputs:

  • A single argument string (may be empty) parsed into a mode.

Outputs:

  • For audit: a severity-ranked findings report diagnosing LLM wrapper and agent failures, with a layer-by-layer fix plan.
  • For config: an audit report covering AGENTS.override.md, AGENTS.md, configured fallbacks, CLAUDE.md, .cursorrules, hooks, and settings, with proposed fixes.
  • For init: a scaffolded .agents/ folder structure plus root agent entry files, with a summary of files created versus skipped.
  • For route: a drafted ## Agent skills routing block in CLAUDE.md/AGENTS.md and seeded docs/agents/ reference files.
  • For (empty): a one-line domain status summary and the Usage block.

Creates/Modifies:

  • Nothing directly. The delegated skill performs any mutation behind its own confirmation gate.

External Side Effects:

  • None by default. The delegated skills may read git remotes, gh APIs, or workspace files when resolving routing state.

Confirmation Required:

  • This skill is explicit-invoke only (disable-model-invocation). Each delegated skill owns its own confirmation gate before writing files or changing config. This router does not relax them.

Delegates To:

  • agent-architecture-audit for audit (diagnose LLM and agent wrapper failures).
  • agent-config-audit for config (audit and sync agent config files).
  • agent-folder-init for init (scaffold or repair the .agents/ folder).
  • setup-agent-routing for route (write the dev-loop routing block).

Step 1 — Parse the Subcommand

Resolve the raw argument into a mode.

Argument Mode Delegates to
(empty) status none — print a one-line domain summary + Usage block
audit audit agent-architecture-audit
config config agent-config-audit
init init agent-folder-init
route route setup-agent-routing

If the argument matches none of these, report the unrecognized input and print the Usage block — do not guess a mode.

Step 2 — Route

  • status → print a one-line summary of the agent domain (no mutation), then show the Usage block.
  • audit → apply the agent-architecture-audit skill.
  • config → apply the agent-config-audit skill.
  • init → apply the agent-folder-init skill.
  • route → apply the setup-agent-routing skill.

Usage

/agent              # status: one-line domain summary + usage
/agent audit        # diagnose LLM wrapper regressions, prompt/memory contamination, tool discipline failures
/agent config       # audit and sync AGENTS.md, overrides, fallbacks, CLAUDE.md, hooks, and settings
/agent init         # scaffold or repair the .agents/ folder and root agent entry files for a repo
/agent route        # write the ## Agent skills routing block in CLAUDE.md/AGENTS.md + docs/agents/

Anti-Patterns

  • Re-implementing logic here. All domain logic belongs in the routed skill.
  • Guessing on an unknown argument. Print Usage instead — a wrong guess could overwrite config or scaffold into the wrong directory.
  • Skipping the delegated skill's confirmation gate. Each routed skill controls its own writes.
  • Auto-running a mutating sub-skill on an empty argument. The default mode prints status only; it never initiates a write.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/shipshitdev-skills-agent-dispatch/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

shipshitdev-skills-agent-dispatch.ocm.jsonjson
{
  "ocm": "1",
  "id": "shipshitdev-skills-agent-dispatch",
  "kind": "skill",
  "name": "agent-dispatch",
  "description": "Single front door for agent/subagent architecture, config, and setup. Parses a subcommand — audit, config, init, or route — and routes to the right engine: agent-architecture-audit (diagnose LLM wrapper and agent failures), agent-config-audit (audit and sync AI agent config files across workspaces), agent-folder-init (add or repair .agents/ project context for a repo), or setup-agent-routing (write a machine-readable routing block in CLAUDE.md/AGENTS.md). Backs the /agent command. Use when asked to audit an agent system, check config drift, initialize agent docs, or wire up routing, and the action must be picked from an argument like \"audit\", \"config\", \"init\", or \"route\".",
  "publisher": "shipshitdev",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "agents",
      "dispatcher",
      "architecture",
      "config",
      "setup",
      "routing",
      "orchestration",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Single front door for agent/subagent architecture, config, and setup. Parses a subcommand — audit, config, init, or route — and routes to the right engine: agent-architecture-audit (diagnose LLM wrapper and agent failures), agent-config-audit (audit and sync AI agent config files across workspaces), agent-folder-init (add or repair .agents/ project context for a repo), or setup-agent-routing (write a machine-readable routing block in CLAUDE.md/AGENTS.md). Backs the /agent command. Use when asked to audit an agent system, check config drift, initialize agent docs, or wire up routing, and the action must be picked from an argument like \"audit\", \"config\", \"init\", or \"route\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/shipshitdev/skills",
      "path": "skills/agent-dispatch/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/shipshitdev/skills/blob/HEAD/skills/agent-dispatch/SKILL.md",
      "key": "shipshitdev/skills/skills/agent-dispatch/SKILL.md"
    }
  },
  "instructions": "# Agent Dispatch\n\nThe router behind `/agent`. Turns a subcommand into the right action and delegates. Contains no logic of its own — delegates to `agent-architecture-audit`, `agent-config-audit`, `agent-folder-init`, and `setup-agent-routing`.\n\n## Composition Boundary\n\nRun only the selected mode. Pass the user's target, authorized actions, and\nreport-only restrictions to the engine. Existing explicit approval satisfies\nthat engine's gate for the same scope; obtain approval for missing or expanded\nauthority. Delegation never grants new host, provider, cost, publication, or\nproduction permission",
  "cost": {
    "context_tokens": 997
  }
}

Fetch it by URL: GET /api/v1/registry/shipshitdev-skills-agent-dispatch/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.