security

security is a skill for Claude Code, Codex from hautc-it/cil. It costs 59 tokens per session (1,058 once invoked), scanned A, original, MIT.

A security-design guide for planning or reviewing protections such as login, permissions, input checks, secrets, and third-party libraries. Threat modeling means identifying who could attack a system, what they could target, and where its trust boundaries are.

In plain words
What is it for?
Use it when designing authentication, reviewing access controls, deciding how to handle secrets, checking dependencies, or planning defenses for a new system.
Why use it?
It helps find security risks and fit new decisions into the project’s existing security setup before implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code.

Good fit Use it when designing authentication, reviewing access controls, deciding how to handle secrets, checking dependencies, or planning defenses for a new system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hautc-it/cil/security
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 hautc-it/cil --skill security
Clone the repo
git clone --depth 1 https://github.com/hautc-it/cil

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hautc-it/cil/security"><img src="https://agentmods.dev/badge/skills/hautc-it/cil/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,058 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.00059 $0.01058
Opus 5.5 $0.00024 $0.00423
Sonnet 5.5 $0.00012 $0.00212
Haiku 4.5 $0.00006 $0.00106

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

Security

Grade A, and why

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

templates/skills/security/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Security Design Skill

Project Context

Existing project

  1. Read CLAUDE.md — security rules, compliance requirements, or auth decisions already made take priority.
  2. Check the existing auth system — read the auth middleware, session/token handling, and permission checks already in place. Extend the existing pattern — never introduce a parallel auth mechanism.
  3. Check secret management — how does this project load secrets (env vars, vault, config file)? Match that approach; never add a new secret-loading method.
  4. Check dependency manifest — understand what security-relevant libraries are already in use (auth libraries, crypto, validators).
  5. Search memory — memory_search("security auth [project] decision") — retrieve prior threat model decisions or known constraints.
  6. Improving security incrementally within the existing posture is safer than replacing it wholesale.

Greenfield project

Security is cheapest to build in from the start — retrofitting it is expensive and error-prone:

  1. Do the threat model before writing any auth code — answer: who are the actors, what are the assets, where are the trust boundaries, what are the realistic attack vectors. Write the answers down; they become the security spec.
  2. Choose auth approach once — stateless token (no server state, harder to revoke) vs session (server state, easy revoke) vs platform credential (mobile/desktop keychain, OS identity). Pick based on deployment model and revocation requirements. Document it.
  3. Set secret management from day one — environment variables as the minimum floor; a dedicated secrets store for any cloud or team deployment. Never commit credentials, connection strings, or API keys.
  4. Define input validation strategy — validate at the boundary (API entry, UI input, file import), not deep inside business logic. Pick one validation approach and use it everywhere.
  5. Add dependency auditing to the build pipeline — use the standard audit tool for the platform. Integrate it from the first CI run; bolt-on tooling after 100 dependencies is painful.
  6. Write security decisions into CLAUDE.md — auth approach, token lifetimes, where secrets live, validation approach. Makes them explicit and non-negotiable for all contributors.
  7. Store the decisions:
    memory_store("decision", "security: auth=[x], secrets=[x], validation=[x], dependency audit=[x]", ["security", "auth", "conventions"])
    

Read the full file on GitHub · 89 lines

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 · 89 lines · 59 tokens per session scan A fdffada484a4

Subscribe to this mod's changes

security is a skill published in the GitHub repository hautc-it/cil (1 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 1,058 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

handoff

Write a short handoff note for the next chat or a teammate, with what is done, what is open, what comes next and what was rejected and why. Saves it to project memory so the next chat sees it at the start, and prints it so it can be pasted into a message or a pull request. Use when the user ends a piece of work…

Avijit07x/claude-db · 87 tokens

opik-evaluate

Build an LLM evaluation and run it against the app, returning an Opik experiment with scores and its link. Picks a test suite with judge assertions or a dataset with metrics, sources cases from traces or synthetic data, scores heuristics-first then one-failure-mode judges, runs client-side via the SDK or server-side…

comet-ml/opik-claude-code-plugin · 192 tokens

opik

Reference for the Opik SDK — tracing, span types, framework integrations, threads, and the prompt library (Python, TypeScript, REST). Use for "what span types exist", "how do I flush", "trackopenai", "add OpikTracer", "version a prompt". To instrument a repo end to end, use the opik-instrument skill.

comet-ml/opik-claude-code-plugin · 80 tokens

glossary-init

USE WHEN setting up a repo for AI-first work, when an agent hallucinates domain term meaning, or when user asks to bootstrap / extend the repo's domain glossary. Surfaces candidate terms by identifier frequency, asks the user for 1-sentence definitions, writes GLOSSARY.md at repo root. Idempotent — re-running adds new…

Filip-Podstavec/claude-leverage · 119 tokens

hyper-plan

Use when about to start a non-trivial implementation that needs decomposition before coding. Also when the user invokes /hyperclaude:hyper-plan. Produces an ordered, bite-sized plan in .hyperclaude/plans/ — the input for /hyperclaude:hyper-plan-review and /hyperclaude:hyper-implement.

zeikar/hyperclaude · 70 tokens

flow-create

Build a correct draft marketing scenario (flow) from a plain-language request: read the flows reference, resolve the entities the design needs to real ids, create and fill the blocks, wire the outputs, verify every block by reading it back, and hand over a link. Use when asked to create, build, assemble or set up a…

mindbox-cloud/agent-skills · 225 tokens