sec

sec is a skill for Claude Code, Codex from Everyone-Needs-A-Copilot/claude-copilot. It costs 25 tokens per session (343 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 CodeCodex

Part of the claude-copilot plugin — 72 skills, 17 commands, 17 agents, 4 hooks shipped together

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.

agentmods
npx agentmods add skills/everyone-needs-a-copilot/claude-copilot/sec
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, Codex.

Or install claude-copilot, the plugin that ships this one along with the rest of its 72 skills, 17 commands, 17 agents, 4 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.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.svg" alt="Measured on agentmods" 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 343 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00343
Opus 5 $0.00013 $0.00171
Sonnet 5 $0.00005 $0.00069
Haiku 4.5 $0.00003 $0.00034

Measured today against content hash d65436626532, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 today.

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 · 58 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.
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. today 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 (13 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 343 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

cadence-first

Meta-orchestrator: assigns skill-chain cadence per block (Tier 1/2/3) via Q1-Q6 rules. Reads target taskblocks + task.md, writes cadence-decisions-{R}.md artifact. Standalone (executor invokes) or Batch (generator hand-off). Use when: deciding cadence for a batch of blocks, generator hand-off from decomposition skills.

bearded-illirian/trailmark · 79 tokens

ship-first

Final task completion protocol: report → user-note → deploy → smoke test → close? → guide? → routing.db → propagate → STATUS → sessions. Invoked from fast-track and pipeline flows after task execution, not directly by the user. Use when: invoked after the execute step of a fast-track or pipeline task.

bearded-illirian/trailmark · 68 tokens

ui-ai-first

Final audit of a large task before closure — finds which operations are available only via code / curl / SQL and decides per each: automate with a skill or AI agent (A) or create a UI task (B). Protects against invisible usability debt. Walks through each implemented block: reads task.md + reports + guides + code →…

bearded-illirian/trailmark · 145 tokens

decision-first

Makes an architectural / project / scope decision using a 5-part model INSTEAD of asking the user. Structure: 🎯 Decision / Why / 🛡 Security / 📈 Scalability / Alternatives / Plain-language analogy. 1 question = 1 atomic artifact. Use when: the agent is about to ask an architectural / scope question…

bearded-illirian/trailmark · 89 tokens

library-first

Mandatory protocol before executing any fast-track task. Analyzes the task, builds a table: what we do / where it comes from / how many lines of code. Principle: maximum reuse of existing libraries and components, minimum new code. Waits for explicit user approval — does nothing until confirmed. Use when: fast-track…

bearded-illirian/trailmark · 77 tokens

fixture-new

Creates a parity fixture — the frozen scenario plus the contract its output must satisfy. Asks which skill and case, what shape the run must produce, and writes input.md and expect.yml. Ends by proving the new fixture actually fails on an empty directory. A fixture that passes when nothing ran is worse than no…

bearded-illirian/trailmark · 122 tokens