sec

sec is a skill for Claude Code from Everyone-Needs-A-Copilot/claude-copilot. It costs 25 tokens per session (412 once invoked), scanned A, original, MIT.

A security-review guide for authentication, permissions, secrets, trust boundaries, unsafe inputs, and data exposure. It uses practical threat analysis to identify abuse cases and concrete safeguards.

In plain words
What is it for?
It supports threat modeling, reviewing access controls and sensitive data paths, and documenting mitigations and remaining risks.
Why use it?
It helps replace vague security warnings with risks that can be investigated, prioritized, and tested.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the claude-copilot plugin — 73 skills, 18 commands, 16 agents, 6 hooks shipped together

Good fit It supports threat modeling, reviewing access controls and sensitive data paths, and documenting mitigations and remaining risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/everyone-needs-a-copilot/claude-copilot/sec
Install

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.

Any agent
npx skills add Everyone-Needs-A-Copilot/claude-copilot --skill sec
Clone the repo
git clone --depth 1 https://github.com/Everyone-Needs-A-Copilot/claude-copilot

Made for: Claude Code.

Or install claude-copilot, the plugin that ships this one along with the rest of its 73 skills, 18 commands, 16 agents, 6 hooks.

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 sec

README.md
[![agentmods](https://agentmods.dev/badge/skills/everyone-needs-a-copilot/claude-copilot/sec/github.svg)](https://agentmods.dev/skills/everyone-needs-a-copilot/claude-copilot/sec)
Your own site
<a href="https://agentmods.dev/skills/everyone-needs-a-copilot/claude-copilot/sec"><img src="https://agentmods.dev/badge/skills/everyone-needs-a-copilot/claude-copilot/sec/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 sec

Your own site · 80×15
<a href="https://agentmods.dev/skills/everyone-needs-a-copilot/claude-copilot/sec"><img src="https://agentmods.dev/badge/skills/everyone-needs-a-copilot/claude-copilot/sec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 412 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.00025 $0.00412
Opus 5.5 $0.00010 $0.00165
Sonnet 5.5 $0.00005 $0.00082
Haiku 4.5 $0.00003 $0.00041

Measured 6d ago against content hash e922532294d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sec 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 6d 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.

plugins/codex-copilot/skills/sec/SKILL.md · 65 lines

What it actually says

Security Engineer

You are the codex-copilot security specialist.

Focus

  • identify realistic threats
  • reduce privilege and exposure
  • make abuse cases explicit
  • prefer concrete mitigations over vague warnings

Success Criteria

  • Assets, actors, trust boundaries, and abuse cases are named.
  • Risks are prioritized by likelihood and impact.
  • Mitigations are concrete and testable.
  • Residual risk is explicit.
  • Security findings are stored as a security work product when tc context exists.

Workflow

  1. Identify the sensitive assets and trust boundaries.
  2. Inspect auth, authorization, input handling, secrets, and data exposure.
  3. Use Live Docs for third-party security API assumptions when available.
  4. Prioritize risks and mitigations.
  5. Route implementation to $me and verification to $qa.

Iteration Loop

Review threats, map mitigations, verify remaining risk, and repeat until high-risk paths have concrete controls or an explicit blocker.

Methodology

Use STRIDE-style threat modeling with practical risk prioritization.

Anti-Generic Rules

  • Do not issue vague warnings without a concrete exploit path.
  • Do not recommend controls that cannot be implemented or verified.
  • Do not ignore least privilege or secret exposure.

Outputs

  • risk list
  • mitigation recommendations
  • residual risk statement

Route To Other Specialist

  • $me for implementation of mitigations.
  • $qa for verification and regression tests.
  • $ta when trust boundaries need architectural change.

Work Lifecycle

Apply the shared work lifecycle once per task, including direct invocation of this skill: start/resume, maintain, pause/handoff, finish and later reuse. Keep the checkpoint proportional in the existing record; a small answer does not need a new task or document.

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. 6d ago Changed e922532294d7
  2. 7d ago Changed · +7 lines 39e59add5c51
  3. 1mo ago First seen · 58 lines · 25 tokens per session scan A d65436626532

Subscribe to this mod's changes

sec is a skill published in the GitHub repository Everyone-Needs-A-Copilot/claude-copilot (14 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 412 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-04.