security
Skill9 starsChanged 8 months agoMITView on GitHub
Create or update docs/THREAT_MODEL.md — STRIDE-style threat model, trust boundaries, attack surface, mitigations. Use when the user asks for a threat model, security review, attack-surface analysis, STRIDE pass, or says 'what could go wrong security-wise', 'identify the threats', 'lock this down before launch', 'review the security posture'.
78 other projects use a version of this.
Adopted by
Most recently taken up by
- AllThingsSmitty/proven-skillstheir own version, first seen Oct 6, 2026
- MarvelCollin/agent-skillstheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- flavien-ia/hypervibe-harnesstheir own version, first seen Oct 4, 2026
- AIBiz-Automatyzacje/claude-code-startertheir own version, first seen Oct 4, 2026
- lgzarturo/codeconductortheir own version, first seen Sep 30, 2026
Used with
Projects with it also use cost-reducer, trigger-dev and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
daianepepes-labSkillcost-reducer
Analyze and reduce costs across cloud infrastructure, code, and services. Use when asked to cut costs, optimize spending, reduce bills, or improve cost efficiency.
Also in 5 projects that use this
xfstudioSkilltrigger-dev
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.
Also in 4 projects that use this
ffsshhttiikkSkillscalability
Core foundational concepts and principles for Scalability
Also in 4 projects that use this
daianepepes-labSkillself-healing
Detect, diagnose, and automatically fix recurring errors, memory issues, and system degradation. Use when a system has recurring failures, memory leaks, performance degradation, or needs automatic recovery mechanisms.
Also in 5 projects that use this
xfstudioSkillcustomer-support
Elite AI-powered customer support specialist mastering
Also in 4 projects that use this
ffsshhttiikkSkillcicd
Continuous integration and delivery pipelines
Also in 4 projects that use this
- +1 more from daianepepes-lab
Other versions78 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 78
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- BankrBot/skills★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 777same name
- alinaqi/maggy★ 707same name
- boshu2/agentops★ 447same name
- notque/vexjoy-agent★ 424same name
- nth5693/gemini-kit★ 373same name
- telagod/code-abyss★ 242same name
- garagon/nanostack★ 207same name
- TheBeardedBearSAS/claude-craft★ 106same name
68 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dotfiles/CLAUDE.mdCLAUDE.md
- adrSkill
- architectureSkill
- autopilotSkill
- commitSkill
- designSkill
- factorySkill
- featureSkill
- fixSkill
- issuesSkill
- new-projectSkill
- prdSkill
- prSkill
- reviewSkill
- rfcSkill
- roadmapSkill
- specSkill
- tddSkill
- verify-designSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 56 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Create the threat model. Argument: $ARGUMENTS
- Distinctive: line 9
Before interviewing, understand the system's security surface:
- Very specific: line 12
Read docs/THREAT_MODEL.md — if revising, don't start from scratch
- Very specific: line 13
Read docs/ARCHITECTURE.md for system structure and trust boundaries
- Distinctive: line 17
Look for auth middleware, JWT handling, session management
- Distinctive: line 18
Check for input validation patterns (or lack thereof)
- Distinctive: line 19
Look for database queries (raw SQL vs ORM/parameterized)
- Distinctive: line 20
Check for secrets management (env vars, config files, hardcoded values)
- Distinctive: line 21
Check for exposed endpoints (route definitions, API handlers)
- Very specific: line 22
Read docker-compose.yml or deployment config for service exposure
- Distinctive: line 27
Use AskUserQuestion to understand the security landscape.
- Very specific: line 101
No architecture doc? → "Define system structure with /architecture"
- Very specific: line 102
No TDD? → "Define testing and dev workflow with /tdd"
“Common” is measured: kept by at least 6 in 10 of the 56 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create the threat model. Argument: $ARGUMENTS
Context Gathering
Before interviewing, understand the system's security surface:
- Check for existing docs:
- Read
docs/THREAT_MODEL.md— if revising, don't start from scratch - Read
docs/ARCHITECTURE.mdfor system structure and trust boundaries - Read
CLAUDE.md,README.md
- Read
- Explore the codebase for security-relevant patterns:
- Look for auth middleware, JWT handling, session management
- Check for input validation patterns (or lack thereof)
- Look for database queries (raw SQL vs ORM/parameterized)
- Check for secrets management (env vars, config files, hardcoded values)
- Check for exposed endpoints (route definitions, API handlers)
- Read
docker-compose.ymlor deployment config for service exposure - Summarize what you found to the user — "Here's what I see from a security perspective: ..."
Interview
Use AskUserQuestion to understand the security landscape. Adapt based on what the codebase reveals.
- Trust boundaries — What is trusted? What is untrusted? Where are the boundaries?
- Authentication — How do users/agents/services prove identity? What mechanisms exist today?
- Authorization — Who can do what? How are permissions modeled?
- Sensitive data — What data is sensitive? Credentials, PII, financial? Where does it live? How is it protected at rest and in transit?
- Attack surface — What is exposed to the internet? To local users? To other services? What inputs does the system accept?
- Threat actors — Who would attack this? Script kiddies, insiders, nation states? What are their capabilities?
- Compliance — Any regulatory requirements? SOC2, GDPR, HIPAA, PCI?
- Existing security measures — What's already in place? What's missing?
For inherited projects: "I see you're using X for auth — is that intentional or legacy? I notice Y has no input validation — is that a known gap?"
Write
Write to docs/THREAT_MODEL.md:
# Threat Model
**Version:** [version]
**Date:** [date]
## Trust Assumptions
[What is the trust model? What is trusted, what is untrusted? Include a Mermaid diagram of the trust hierarchy.]
## Security Properties
[Non-negotiable security invariants. Things that must always hold.]
- [Property 1]
- [Property 2]
## Attack Surface
| Surface | Exposure | Controls |
|---------|----------|----------|
| [surface] | [who can reach it] | [what protects it] |
## Threats
### [Threat Category 1: e.g., Agent Impersonation]
| # | Attack | Impact | Likelihood | Defense |
|---|--------|--------|------------|---------|
| 1 | [attack description] | [what happens] | [Low/Med/High] | [how it's prevented] |
### [Threat Category 2]
...
## Sensitive Data Inventory
| Data | Classification | At Rest | In Transit | Access Control |
|------|---------------|---------|------------|----------------|
| [data type] | [level] | [protection] | [protection] | [who can access] |
## Security Controls
### Implemented
- [Control 1 — what it protects against]
### Required (not yet implemented)
- [Control 1 — what it would protect against, priority]
## Compliance Requirements
[If applicable. Regulatory frameworks, what they require, current status.]After Writing
- Present the document to the user for review. Iterate until they're satisfied.
- Suggest next steps based on what exists:
- No architecture doc? → "Define system structure with
/architecture" - No TDD? → "Define testing and dev workflow with
/tdd" - Ready to build? → "Create feature specs with
/spec <name>, then/roadmap"
- No architecture doc? → "Define system structure with
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

