CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

security-threat-model

Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Use when the user asks to threat model a codebase or path, enumerate threats or abuse paths, or perform AppSec threat modeling. Do NOT use for general architecture summaries, code review, security best practices (use security-best-practices), or non-security design work.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

85%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, grounded workflow with strong sequencing, an explicit user-validation loop, a final quality checklist, and clean progressive disclosure to two real reference files. The main weaknesses are minor: duplicated asset enumeration across steps 2 and 3, and delegation of the full output contract to the reference with no inline example of a single threat entry.

Suggestions

Deduplicate asset enumeration: steps 2 and 3 both say 'List the assets that drive risk' with overlapping lists — merge into a single step and use the other step only for attacker-capability calibration.

Inline one minimal example threat entry (goal → boundary → likelihood/impact → mitigation) so the output shape is graspable without opening references/prompt-template.md.

Fix the sentence fragment in the intro ('Prioritizing realistic attacker goals...') to a parallel imperative, and tighten step 8's wordy 'Confirm that the format of the report matches closely the required output format defined in prompt template'.

DimensionReasoningScore

Conciseness

Largely lean, directive bullet guidance with no padding of concepts Claude already knows, but assets are enumerated twice — step 2 'List assets that drive risk (data, credentials, models, config, compute resources, audit logs)' and step 3 'List the assets that drive risk (credentials, PII, integrity-critical state...)' — and the intro ends with a sentence fragment; these minor redundancies keep it below the 5 anchor's 'every token earns its place'.

4 / 5

Actionability

Concrete, executable instruction-style guidance: specific control types ('authZ checks, input validation, schema enforcement, sandboxing, rate limits, secrets isolation, audit logging'), a good-vs-generic example ('enforce schema at gateway for upload payloads' vs 'validate inputs'), and an exact output filename pattern ('<repo-or-dir-name>-threat-model.md'); it falls short of fully copy-paste-ready because no example threat entry is shown inline — the output shape lives entirely in references/prompt-template.md.

4 / 5

Workflow Clarity

An 8-step numbered workflow with an explicit user-validation feedback loop ('Pause and wait for user feedback before producing the final report', with a fallback when the user declines) and a pre-finalize quality checklist (step 8 confirms entrypoint coverage, boundary representation, runtime/CI separation, and assumption explicitness) — matching the 5 anchor's sequence, validation steps, feedback loops, and checklist.

5 / 5

Progressive Disclosure

The body is a concise overview that clearly signals exactly two one-level-deep references with stated purposes ('Output contract and full prompt template: references/prompt-template.md', 'Optional controls/asset list: references/security-controls-and-assets.md'), both of which exist as real files, plus the instruction 'Only load the reference files you need' — matching the 5 anchor's clear overview with well-signaled references and easy navigation.

5 / 5

Total

18

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, concrete action list, explicit 'Use when...' triggers, and explicit exclusions that disambiguate it from code review and general security-best-practices skills. The only gap is a few missing natural synonyms a user might say when asking for threat modeling.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions — 'enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model' — with comprehensive coverage and no gaps; the 4 anchor requires minor coverage gaps, which are absent.

5 / 5

Completeness

Explicitly answers both what (repository-grounded threat modeling producing a Markdown threat model) and when ('Use when the user asks to threat model a codebase or path...') with concrete trigger phrases, matching the 5 anchor; the 4 anchor requires a 'when' that could be more specific, which is not the case.

5 / 5

Trigger Term Quality

Good natural-phrase coverage ('threat model a codebase or path', 'enumerate threats or abuse paths', 'AppSec threat modeling'), but a few common synonyms users would say are missing (e.g., 'attack surface', 'STRIDE', 'security architecture review'); the 5 anchor demands comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

Clear niche with distinct triggers and explicit negative triggers ('Do NOT use for general architecture summaries, code review, security best practices (use security-best-practices), or non-security design work') that minimize conflict risk with adjacent skills; the 4 anchor's 'minor overlap risk' is not present given the explicit disambiguation.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

tech-leads-club/agent-skills

Path

packages/skills-catalog/skills/(security)/security-threat-model/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.