/wicked-garden:wicked-garden-mcpfrom wicked-garden
Lists and calls MCP tools through a governed broker that manages server connections, secrets, and steering policies. Use when a task needs an external tool like Jira or Sentry.
Ships in wicked-garden. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A governed unit reaches MCP tools in exactly one way: this shim, which sends your unit's capability token and the request to the wicked-crew broker. The broker holds every server connection and every secret, judges the call against the steering policies for your unit (phase role, seat, run mode), runs it, scrubs the result and records the call. You never see a secret, and you never configure an MCP server.
Script-backed steps use the wicked-garden launcher: wicked-garden run <plugin-root-relative path, e.g. scripts/…> [args]. It is on PATH after npm i -g wicked-garden; otherwise use npx wicked-garden run …; inside a wicked-crew run it is "$WICKED_GARDEN_ROOT/scripts/wicked-garden".
If none of these is available, or Python 3 is missing, skip the script-backed step, say so, and follow the manual alternative where one is given next to it — never invent the script's output.
Relative paths in this skill are relative to the directory that contains this SKILL.md.
wicked-garden run scripts/mcp/shim.py list
It prints one JSON object: unit (run, phase, seat) and tools. Each tool has its
subject (mcp:<server>/<tool>), its class (read, write or destructive), its
description, its inputSchema and a decision:
allow: a call runs now.ask: a call waits for the operator's approval (a server's first use, a new schema,
or a write the run's mode gates). Calling it records the request for the operator; it
does not run.A tool your unit may never call is not listed: an evaluator or recon unit sees no write or destructive tool, and a tool a policy denies is left out. An empty list means there is nothing for this unit; continue without MCP tools.
wicked-garden run scripts/mcp/shim.py call mcp:<server>/<tool> --args '{"key": "value"}'
inputSchema. Put them in a file and pass
--args-file <path> (or --args-file - for stdin) when quoting is awkward.mcp: prefix may be omitted (<server>/<tool>).outcome. On ok the tool's
result is in result. The result can itself be a tool error (result.isError): read it
and fix your arguments, do not assume success.| Exit | Outcome | What to do |
|---|---|---|
0 | ok | Use result. Cite the call (subject, callId) where you rely on it. |
3 | denied or withheld | Blocked by policy (ruleIds, reason, remedy). Final: do not retry it with other arguments or another route. Continue without it and say so in your output. |
4 | pending_approval | The operator has not approved it yet. Do not retry in a loop. Do other work, and name the subject in your output so the operator can approve it. |
5 | budget_exhausted, breaker_open, upstream_error | The tool is unavailable for now. A write may or may not have applied after upstream_error: check before repeating it. |
2 | no_mcp_channel, bad_request | Not a governed unit (no WICKED_MCP_TOKEN or WICKED_CREW_URL), or bad arguments. Fix the arguments; without a channel, continue without MCP tools. |
1 | anything else | An invalid token, a guard error or an unreachable broker. Report it; do not work around it. |
A denied call never fails your unit; only you can make it look like it succeeded, so report it honestly.
WICKED_MCP_TOKEN, put it on a command line,
or paste it into output, a file or a commit. The shim never prints it.callId)
in your output; the evaluator and the run's Governance panel read the same record.Manual alternative (no launcher or no Python): send the same request with curl,
passing the body on stdin so the token never appears on a command line:
curl -s -X POST "$WICKED_CREW_URL/api/v1/mcp/tools" -H 'Content-Type: application/json' --data-binary @- <<BODY
{"token": "$WICKED_MCP_TOKEN"}
BODY
curl -s -X POST "$WICKED_CREW_URL/api/v1/mcp/call" -H 'Content-Type: application/json' --data-binary @- <<BODY
{"token": "$WICKED_MCP_TOKEN", "subject": "mcp:<server>/<tool>", "args": {}}
BODY
The answers are the JSON objects described above; the HTTP status stands in for the exit code (200 ok, 403 denied or withheld, 409 pending approval, 429, 502, 503 or 504 unavailable, 401 invalid token).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mikeparcewski/wicked-garden --plugin wicked-garden91 skills in this plugin
/wicked-garden-agenticAgentic-systems domain skill: review, design, audit, and framework selection
for AI agent systems. Routes to one of four actions (review | design | audit |
frameworks) backed by the rubrics in refs/.
Use when: "agentic review", "review this agent system", "full agentic codebase
review", "trust and safety audit", "audit my agents for GDPR/HIPAA/SOC2/NIST
compliance", "design an agentic system", "design a multi-agent architecture",
"which agentic framework should I use", "compare LangChain vs CrewAI vs
AutoGen", or any former /wicked-garden:agentic:{review|design|audit|frameworks}
invocation.
Disambiguation: this domain reviews and designs **AI agent systems**. For
ordinary source code use the engineering review; for a binding go/no-go
verdict use the archetype review (see docs/domains.md → "review appears in
three domains").
/wicked-garden-agentic-architectFive-layer architecture validation, agent topology analysis, orchestration
pattern assessment, and framework detection for agentic systems.
Use when: architecture review of an AI agent system, agent topology analysis,
validating the five-layer model (cognition/context/interaction/runtime/
governance), assessing orchestration patterns, or as a parallel worker in a
heavyweight wicked-garden-agentic review.
/wicked-garden-agentic-performance-analystToken optimization, latency budgets, cost analysis, caching strategy, and
parallelization assessment for agentic systems.
Use when: performance optimization of an AI agent system, cost analysis or
token-budget review, latency profiling, cache-strategy assessment,
parallelization opportunities, or as a parallel worker in a heavyweight
wicked-garden-agentic review.
/wicked-garden-agentic-safety-reviewerGuardrails, prompt injection defense, PII protection, human-in-the-loop
gates, and hallucination mitigation for agentic systems.
Use when: safety review of an AI agent system, guardrail assessment, prompt
injection audit, PII/compliance exposure check, HITL gate verification, or
as a parallel worker in a heavyweight wicked-garden-agentic review.
Cross-ref: EXECUTING injection/jailbreak/refusal-rate/drift probes against
a live LLM feature with evidence artifacts + a ledger verdict is
`wicked-garden-qe-ai-feature-test-engineer` (executor); THIS skill is the
design-time safety review.
/wicked-garden-appsChange, review or accept an Apps app: a declarative UI over live data
and the system's knowledge that a person builds in wicked-studio's Apps
section. An app is a spec
(apps.json: pages, components, layout, theme, bindings, queries and
actions) plus query texts under queries/. A turn's builder edits those
two and nothing else, from the data catalog the task names, and never
calls a write tool or an action (a live read goes only through crew's
broker). A distinct reviewer judges the turn's tree. A publish's QE seat
judges the publish check's evidence.
Use when: a phase of the `apps-turn` workflow (build, review) or the
`apps-publish` workflow (qe), "add a KPI to my app", "chart this query",
"add a filter", "add an Assign to me button", "review this app turn".
NOT for running a query, testing a connection, granting an action or
deploying an app (crew and studio do those, behind a person's click),
and NOT for building studio editor plugins (that is
wicked-garden-editor-scaffold).
/wicked-garden-archetypev11 work-shape archetype runner. When a prompt has been routed to one
of the archetypes (triage, explore, specify, decide, ship, review,
incident, build, migrate, modernize), this skill is the entry point. It
picks the right per-archetype playbook from refs/ and executes the phase
shape declared in `.claude-plugin/archetypes.json`.
Use when: a `<wg archetype="X">` or `<wg archetypes>` system-reminder
tag appears, an explicit "let's run the X archetype" request, or a
direct per-archetype ask — "triage this prompt", "review this PR /
artifact", "build this feature", "decide between these options",
"explore this problem", "handle this incident", "run this migration",
"modernize / port this legacy app", "ship this release", "write
acceptance criteria" (invoke with archetype=<name> plus the user's
args — see the Direct invocation table).
Other plugins' skills for the same job