/varsel-poc:find-cwefrom varsel-poc
Finds the correct CWE ID for a vulnerability using full-text search over a local CWE catalog. Useful when filing CVEs or verifying CWE assignments.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /varsel-poc:find-cwe still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Find the most appropriate CWE for the vulnerability using the Varsel MCP's local CWE catalog, then propose it onto the case.
Full-text search over name, description, mitigations, and consequences, best match first:
mcp__varsel__search_weaknesses(input: {query: "path traversal"})
The query never errors, whatever you type. Four things it recognizes:
OR (either case) makes an alternation: length OR quantity OR mismatch. This is how you widen."quoted words" requires them adjacent, which narrows: "path traversal" skips a record that merely says "a traversal of the path".-word excludes: traversal -relative.Words are stemmed, so traversal also matches "traversals". Start specific, widen with OR, then tighten with a quoted phrase or a - exclusion.
Results are ranked, and the tool returns the first 25 unless you pass a limit. Since the best match is first, take the top few rather than paging: a limit of 5 or less is usually the right ask.
Look for the most specific CWE that describes the root cause, not just the impact. Prefer Base level over Class (too broad) or Variant (too specific) when in doubt.
If a CWE ID is already suggested (by the advisory or the user), confirm it fits:
mcp__varsel__get_weakness(cwe_id: <ID>)
Check the name, description, and consequences against the vulnerability. If it does not fit, search for a better one, or walk the hierarchy with get_weakness_related_weaknesses(cwe_id: <ID>) to find the parent or child that fits better.
Report the chosen CWE (id + name) and why it fits. Then, in the /new-case flow, land it on the case (payload is the id only — no name):
mcp__varsel__propose_weakness(input: {
case_id: <id>, cwe_id: <ID>,
reasoning: "why this CWE matches the root cause"
})
Usually one CWE. Multiple are acceptable only when the vulnerability genuinely has distinct root causes — the exception, not the rule.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
None: SKILL.md is the whole skill.
npx claudepluginhub erlef-cna/varsel --plugin varsel-poc7 skills in this plugin
Other plugins' skills for the same job