Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pedrol-cmd/brain-drin --skill drin-prompt-injection-shieldgit clone --depth 1 https://github.com/pedrol-cmd/brain-drinWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pedrol-cmd/brain-drin/drin-prompt-injection-shield)<a href="https://agentmods.dev/skills/pedrol-cmd/brain-drin/drin-prompt-injection-shield"><img src="https://agentmods.dev/badge/skills/pedrol-cmd/brain-drin/drin-prompt-injection-shield/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pedrol-cmd/brain-drin/drin-prompt-injection-shield"><img src="https://agentmods.dev/badge/skills/pedrol-cmd/brain-drin/drin-prompt-injection-shield.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.00168 |
| Opus 5.5 | $0.00009 | $0.00067 |
| Sonnet 5.5 | $0.00005 | $0.00034 |
| Haiku 4.5 | $0.00002 | $0.00017 |
Grade A, and why
drin-prompt-injection-shield scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Prompt Injection Shield
Purpose
To ensure that users cannot bypass AI constraints or exfiltrate system instructions through creative inputs.
Defense Layers
- Input Sanitization: Blocking common injection keywords.
- Structural Isolation: Using specific delimiters and system-message precedence.
- Guardrails: Secondary AI check of the final output for safety violation.
- Adversarial Testing: Proactively trying to break the prompt during development.
Rules
- Never trust user input, even inside a prompt.
- Log and alert on suspected injection attempts.
subagents:
- prompt-engineer
- security-auditor
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 25 lines · 23 tokens per session scan A fe028a0a6cb6
drin-prompt-injection-shield is a skill published in the GitHub repository pedrol-cmd/brain-drin (12 stars, last pushed 7mo ago), licensed MIT. It adds 23 tokens to every session and 168 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
drin-prompt-injection-shield compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| drin-prompt-injection-shieldpedrol-cmd/brain-drin | Skill | 12 | 7mo ago | MIT | A | 23 | Claude Code |
| llm-app-patternsdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 54 | Claude Code, Codex |
| enhance-promptgoogle-labs-code/stitch-skills | Skill | 15k | yesterday | Apache-2.0 | A | 41 | Claude Code |
| prompt-engineerJeffallan/claude-skills | Skill | 13k | yesterday | MIT | A | 93 | Claude Code |
| prompt-optimizationlangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 105 | Claude Code, Codex |
| prompt-library-for-startupsaws/agent-toolkit-for-aws | Skill | 3.7k | today | Apache-2.0 | A | 244 | Claude Code |
| hve-buildermicrosoft/hve-core | Skill | 1.7k | today | MIT | A | 54 | Claude Code |