Skill Detail

Preflight agent specs for prompt-injection risk across prompt, tool, and architecture layers with Prompt Hardener

Describe an agent in `agent_spec.yaml`, run deterministic prompt-injection analysis, generate mitigations, and validate defenses before rollout.

Security & VerificationMulti-Framework
Security & Verification Multi-Framework Security Reviewed
โญ 50 GitHub stars
COPY SKILL INSTRUCTIONS (OPTIONAL)
npx skills add agentskillexchange/skills --skill preflight-agent-specs-for-prompt-injection-risk-across-prompt-tool-and-architecture-layers-with-prompt-hardener Copy
Uses the third-party skills CLI, not an ASE-owned installer. Check your agent’s compatibility. This copies instructions; complete the upstream tool setup below separately.
At a glance
Tools required
Python 3, pipx or uv optional
Install & setup
Install from the published wheel with pipx install https://github.com/cybozu/prompt-hardener/releases/download/v0.6.0/prompt_hardener-0.6.0-py3-none-any.whl or use uv tool install ..., copy or write agent_spec.yaml, then run prompt-hardener validate agent_spec.yaml and prompt-hardener analyze agent_spec.yaml.
Author
Cybozu
Publisher
Organization
Last updated
Apr 22, 2026
Quick brief

Use Prompt Hardener when you need a structured security review before shipping an agent, RAG flow, tool-calling workflow, or MCP agent. Instead of using a generic security product dashboard, you define the system in `agent_spec.yaml`, run deterministic analysis across prompt, tool, and architecture layers, inspect recommended mitigations, and optionally validate the design with built-in adversarial scenarios. The scope boundary is pre-deployment spec analysis and reporting for prompt-injection risk, not a generic model firewall, runtime platform, or broad agent framework listing.