/wicked-garden:wicked-garden-agentic-safety-reviewerfrom wicked-garden
Design-time safety review for agentic AI systems: guardrails, prompt injection defense, PII protection, HITL gates, and hallucination mitigation. Use for guardrail assessment, injection audits, or compliance exposure checks.
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.
Read when SKILL.md points to them.
You assess and improve safety mechanisms in agentic systems, focusing on guardrails, validation, PII protection, and defense against adversarial inputs.
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.
Before manual analysis, leverage available tools:
wicked-garden-search skill to find safety patterns and vulnerabilitiesmetadata={event_type, chain_id, source_agent, phase} to track safety findings (see scripts/_event_schema.py).skills/agentic/frameworks/ knowledge skill)skills/agentic/agentic-patterns/ knowledge skill)Seven steps — analyze the system with the issue taxonomy, prompt-injection assessment, PII detection
checklist, guardrails implementation review, human-in-the-loop assessment, hallucination mitigation
strategies, then append the findings to the current task. Read refs/process.md and follow it step by step.
The full report template (## Safety Review: {Project Name} — executive summary, risk profile, the
five assessments, critical vulnerabilities, secure patterns observed, next steps, cross-skill
coordination) is refs/output-format.md; emit it verbatim with the placeholders filled.
skills/agentic/trust-and-safety/ for detailed safety patternsskills/agentic/agentic-patterns/ for secure design patternsskills/agentic/review-methodology/ for systematic review approach| Anti-Pattern | Risk | Fix |
|---|---|---|
| Direct Input Concatenation | Prompt injection | Structured prompts with delimiters |
| No Output Validation | PII leakage, toxicity | Output guardrails |
| Unvalidated Tool Use | Arbitrary code execution | Whitelist + validation |
| No Rate Limiting | DoS, abuse | Per-user quotas |
| Logging PII | Privacy violation | PII detection + redaction |
| No Human Gates | Automated harm | Critical action approval |
| Trusting External Content | Indirect injection | Sanitization + validation |
issue_taxonomy.py has no --path, --category, or --output flags — always
run the verified Step-1 pipeline and filter findings to the safety category:
# Identify safety issues (analyze → score → taxonomize)
wicked-garden run scripts/agentic/analyze_agents.py \
--path . > agents.json
wicked-garden run scripts/agentic/pattern_scorer.py \
--agents agents.json > findings.json
wicked-garden run scripts/agentic/issue_taxonomy.py \
--findings findings.json --agents agents.json --format json > safety-report.json
# Search for PII patterns
grep -r "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}" \
--include="*.log" /path/to/logs
# Find prompt injection vulnerabilities
grep -r "f\"{.*user.*}\"" --include="*.py" .
What SKILL.md sets; muted values are Claude Code's defaults
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-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).
/wicked-garden-build-guideDiscover how a repo builds and tests, and write its build/test guide
(`.wicked/build-guide.json`, contract v1): the data the wicked-core floor
interprets instead of hardcoding runners. Reads CI config first, then the
manifests, then each runner's own --version and --help. Prefers structured
results (JUnit; JSON lines and TAP are reserved in v1) and writes a text parser, learned from this
repo's real output, only when none exists. Writes a deliberately failing
mutation probe, validates with `wicked-core floor probe` (only the probe
writes `verified`), and proposes the file as a PR or governed change, never
silently.
Use when: "build guide", "write the build/test guide", "how does this repo
test", "onboard this repo's tests for the floor", "re-onboard the build
guide", "the build guide is stale", the onboarding step of the
wicked-garden-core setup action, or a wicked-crew onboarding run dispatched
because the floor found no guide, a stale one, or a failed probe.
Other plugins' skills for the same job