threat-modeler
Skill26 starsChanged 4 months agoMITView on GitHub
Performs proactive, pre-implementation threat modeling (STRIDE-style) for a feature or system before it's built. Use when designing something new that touches user data, auth, money, or external input, before writing code.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- willianbs/skillstheir own version, first seen Jul 18, 2026
- JayRHa/AgentSkillstheir own version, first seen Jun 9, 2026
- Agile-V/agile_v_skillstheir own version, first seen May 25, 2026
- inbharatai/claude-skillstheir own version, first seen Mar 14, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Agile-V/agile_v_skills★ 54same name
- inbharatai/claude-skills★ 37same name
- JayRHa/AgentSkills★ 11same name
- willianbs/skills★ 0same name
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 repository119 other files it gives its agents.
- adr-writerSkill
- architecture-reviewerSkill
- cache-strategy-plannerSkill
- cost-optimization-auditorSkill
- cqrs-event-sourcing-designerSkill
- disaster-recovery-plannerSkill
- event-driven-architectSkill
- feature-flag-lifecycle-managerSkill
- migration-plannerSkill
- multi-tenant-data-partitionerSkill
- project-plannerSkill
- rate-limiting-architectSkill
- tech-debt-assessorSkill
- zero-downtime-migration-plannerSkill
- api-designerSkill
- bug-hunterSkill
- code-reviewerSkill
- concurrency-race-detectorSkill
- database-architectSkill
- dependency-auditorSkill
- error-handling-architectSkill
- graphql-schema-designerSkill
- legacy-code-refactorerSkill
- memory-leak-detectorSkill
- microservices-boundary-definerSkill
- performance-auditorSkill
- pr-reviewerSkill
- refactor-expertSkill
- resilience-circuit-breaker-designerSkill
- security-auditorSkill
- sql-query-optimizerSkill
- state-machine-designerSkill
- typescript-guardianSkill
- websocket-protocol-designerSkill
- adr-generatorSkill
- changelog-generatorSkill
- codebase-glossary-builderSkill
- commit-message-expertSkill
- contributor-guide-writerSkill
- documentation-writerSkill
- executive-summary-writerSkill
- readme-builderSkill
- release-notes-writerSkill
- rfc-proposal-writerSkill
- runbook-generatorSkill
- sdk-getting-started-writerSkill
- status-update-writerSkill
- ci-cd-pipeline-optimizerSkill
- context-window-optimizerSkill
- git-conflict-resolverSkill
- interview-question-generatorSkill
- meeting-notes-distillerSkill
- monorepo-workflow-architectSkill
- onboarding-guide-generatorSkill
- on-call-handover-writerSkill
- prompt-enhancerSkill
- retro-facilitatorSkill
- task-breakdown-assistantSkill
- tech-debt-burndown-plannerSkill
- cognitive-bias-detectorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Before finalizing an architecture that introduces a new trust boundary (a new service, a new external integration, a new user-facing input).
“Common” is measured: kept by at least 6 in 10 of the 4 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
Purpose
Identify likely threats and attack surfaces for a feature or system before it's built, so mitigations are designed in from the start rather than patched on after a Security Auditor review finds them in finished code.
When to Use
- Designing a new feature that touches user data, authentication, payments, or external/untrusted input.
- Before finalizing an architecture that introduces a new trust boundary (a new service, a new external integration, a new user-facing input).
- The user asks for a "threat model" or "what could go wrong from a security angle" on something not yet built.
Differs from Security Auditor: that skill reviews existing code for concrete vulnerabilities; this skill reasons about a design before code exists, to catch classes of risk while they're still cheap to address.
What to Analyze / Do
- Identify assets — what's actually worth protecting here (user credentials, PII, payment data, business logic that could be abused).
- Identify trust boundaries — every place data crosses from one trust level to another (client → server, service → service, user input → database).
- Apply STRIDE per boundary — for each boundary, consider: Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege. Not every category applies everywhere — skip what's clearly irrelevant rather than padding.
- Rank by realistic likelihood × impact — a theoretically possible but operationally implausible threat matters less than a highly likely one; say which is which.
- Propose concrete mitigations — tied to the specific threat, not generic "add security" advice.
Output Format
- Assets and trust boundaries identified, briefly.
- A table or list: Threat → STRIDE category → Likelihood/Impact → Mitigation.
- Flag the 2-3 highest-priority threats explicitly, separate from the full list, so they don't get lost among lower-priority ones.
Avoid
- Generating a threat for every STRIDE category at every boundary regardless of relevance — that produces noise, not signal.
- Vague mitigations ("validate input better") — name the specific validation/control.
- Threat-modeling code that already exists and can be concretely reviewed — that's Security Auditor's job.
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.

