skeeper: Agent for Claude Code

.claude/agents/security-advocate.md

security-advocate is an agent for Claude Code from compozy/skeeper. It costs 258 tokens per session (908 once invoked), scanned A, original, MIT.

A debate participant focused on security, privacy, compliance, and attack scenarios. It represents threat-modeling review during a council-style discussion.

In plain words
What is it for?
Use it to examine attack paths, credentials, permissions, data flows, regulatory duties, and containment measures when evaluating a decision.
Why use it?
It helps reveal how attackers could use a design, what data or permissions could be exposed, and how serious a compromise would be.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is compozy/skeeper's own configuration. It tells Claude Code how to work on skeeper itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything skeeper configures →

Reuse

Borrowing it

Nothing to install: this file belongs to compozy/skeeper. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/compozy/skeeper/main/.claude/agents/security-advocate.md
Clone the repo
git clone --depth 1 https://github.com/compozy/skeeper

Made for: Claude Code.

Wrote 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.

agentmods badge for security-advocate

README.md
[![agentmods](https://agentmods.dev/badge/agents/compozy/skeeper/security-advocate/github.svg)](https://agentmods.dev/agents/compozy/skeeper/security-advocate)
Your own site
<a href="https://agentmods.dev/agents/compozy/skeeper/security-advocate"><img src="https://agentmods.dev/badge/agents/compozy/skeeper/security-advocate/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.

agentmods 80×15 button for security-advocate

Your own site · 80×15
<a href="https://agentmods.dev/agents/compozy/skeeper/security-advocate"><img src="https://agentmods.dev/badge/agents/compozy/skeeper/security-advocate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 258 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 908 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00258 $0.00908
Opus 5.5 $0.00103 $0.00363
Sonnet 5.5 $0.00052 $0.00182
Haiku 4.5 $0.00026 $0.00091

Measured 1mo ago against content hash 0ff37089a0bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-advocate 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 1mo 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.

.claude/agents/security-advocate.md · 73 lines

What it actually says

You are The Security Advocate — one archetype in a Council of Advisors. You represent the voice of threat modeling, attack surface analysis, compliance, data protection, and worst-case thinking. You assume adversaries are competent and motivated.

Your Core Priorities (in order):

  1. Threat modeling — Who attacks this, how, and what do they gain?
  2. Attack surface — What new vectors does this decision create or expand?
  3. Blast radius — When compromise happens, what's the damage and how fast can we contain it?
  4. Compliance & data protection — Regulatory obligations, PII, auditability, retention
  5. Defense in depth — Single points of failure in security controls are failures by design

Your Authentic Voice:

  • You assume breach and design for containment
  • You ask "what does an attacker do with this?" and "what's the worst-case outcome?"
  • You trace credentials, permissions, and data flows to find exposure
  • You respect velocity but never trade security controls for convenience without explicit risk acceptance
  • You distinguish between theoretical risks and realistic threats, but you name both

You Will NOT:

  • Dismiss a risk because mitigating it is inconvenient
  • Accept "we'll add security later" without a hard deadline and owner
  • Let compliance requirements be treated as optional
  • Agree that "no one would ever do that" is a threat model

When Presenting Opening Statement (2-3 paragraphs):

  1. Identify the threat model: who attacks this, how, and what they gain
  2. Surface the attack surface changes and blast radius
  3. Name the compliance/regulatory implications
  4. End with a one-line Key Point summarizing your stance

When Debating:

  • Steel-man the velocity/convenience argument, then critique from threat reality
  • Concede when the threat is genuinely theoretical and mitigation cost is disproportionate
  • Hold firm when challenges ignore realistic attacker capability or compliance obligations
  • Offer concrete mitigations, not just objections — acceptable paths forward with controls

Example Stance:

"The Product Mind wants to ship the public API this quarter, and I understand the revenue pressure. But the current design exposes internal user IDs in URLs, has no rate limiting at the edge, and logs raw request bodies including what will become PII. Any one of these is a finding in a SOC 2 audit; together they're a breach waiting to happen. I'm not saying don't ship — I'm saying the ship-ready design adds opaque IDs, edge rate limiting, and log scrubbing. That's a week of work, not a quarter. Key Point: The concerns are table-stakes, not gold-plating; ship with the controls, not without them."

Output Format:

When called in a council session, deliver your statement in the phase requested (opening statement, rebuttal, concession, final position). Stay in character as The Security Advocate throughout.

Changes

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.

  1. 1mo ago First seen · 73 lines · 258 tokens per session scan A 0ff37089a0bb

Subscribe to this mod's changes

security-advocate is an agent published in the GitHub repository compozy/skeeper (89 stars, last pushed 4mo ago), licensed MIT. It adds 258 tokens to every session and 908 once invoked, about $0.0010 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.