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 ApiliumCode/mayros --skill prompt-guardgit clone --depth 1 https://github.com/ApiliumCode/mayrosWrote 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/apiliumcode/mayros/prompt-guard)<a href="https://agentmods.dev/skills/apiliumcode/mayros/prompt-guard"><img src="https://agentmods.dev/badge/skills/apiliumcode/mayros/prompt-guard/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/apiliumcode/mayros/prompt-guard"><img src="https://agentmods.dev/badge/skills/apiliumcode/mayros/prompt-guard.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.00015 | $0.00408 |
| Opus 5.5 | $0.00006 | $0.00163 |
| Sonnet 5.5 | $0.00003 | $0.00082 |
| Haiku 4.5 | $0.00002 | $0.00041 |
Grade A, and why
prompt-guard 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-guard
Detects prompt injection patterns in graph content and classifies findings by risk level.
When to Use
Use this skill when:
- Inspecting user-submitted text stored in the knowledge graph for injection attempts
- Auditing graph content before it reaches downstream agents or tools
- Monitoring for adversarial inputs such as role overrides, encoding evasion, or jailbreak prompts
Risk Classification
Each finding is classified into one of three levels:
- dangerous -- Active injection attempts (role overrides, system overrides, jailbreak, shell commands)
- suspicious -- Evasion techniques or anomalies (zero-width characters, homoglyphs, encoding tricks, template injection)
- safe -- No injection patterns detected
The overall classification for a scanned item is dangerous if any dangerous finding exists, suspicious if only suspicious findings exist, and safe otherwise.
Instructions
- Store text content in the graph using
skill_assertorskill_graph_query - Query with predicate
guard:scan-resultto trigger the prompt-guard runtime - The skill enriches each result with a
classificationfield and afindingsarray - Use
guard:injection-detected(with proof) to record confirmed injection attempts - Query
guard:historyto review past scan results for the current agent
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 51 lines · 15 tokens per session scan A fd2b4dffbb35
prompt-guard is a skill published in the GitHub repository ApiliumCode/mayros (13 stars, last pushed 4mo ago), licensed MIT. It adds 15 tokens to every session and 408 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-08-30.
prompt-guard compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prompt-guardApiliumCode/mayros | Skill | 13 | 4mo ago | MIT | A | 15 | Claude Code |
| agent-topology-optimizerruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| agent-workflow-automationruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| agent-release-managerruvnet/ruflo | Skill | 83k | today | MIT | A | 16 | Claude Code |
| agent-release-swarmruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| agent-repo-architectruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| agent-v3-performance-engineerruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |