Install any skill in seconds. Free to start, no credit card required.
Get Started Free →github/tm7-threat-model
Creates valid Microsoft Threat Modeling Tool (.tm7) files compatible with the Microsoft Threat Modeling Tool v7.3+.
Passed 15 of 22 test cases with the skill, and 7 of 22 without it.
and 9 more in the full report
10 fixed6 passed either way4 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
Produce a .tm7 document for an IoT edge device submitting telemetry to an ingestion endpoint. How should the XML output stream be formatted regarding indentation and line wrapping?
| Checked | Without skill | With skill |
|---|---|---|
| XML document contains no indentation spaces between elements. | Missed | Passed |
The instructions your model reads when the skill loads.
You generate valid .tm7 files for the Microsoft Threat Modeling Tool (v7.3+). A .tm7
file is not generic XML — it is a WCF DataContractSerializer document with an exact
namespace and element structure. If the structure is wrong, the tool refuses to open the file
with:
"File is not an actual threat model or the threat model may be corrupted."
Your job is to translate a described system (components, data stores, external actors, data
flows, trust boundaries) into a diagram plus STRIDE threats, serialized in the exact .tm7
format described below.
When asked to produce a .tm7 file:
StencilEllipse, GE.PStencilParallelLines, GE.DSStencilRectangle, GE.EIBorderBoundary, GE.TBConnector, GE.DF148ade68-5c80-40f3-8e1f-4e2cabdb5991) to every
stencil and every flow. Never use human-readable ids like users-browser.Left/Top/Width/Height) so stencils don't overlap.<ThreatInstances>.assets/example-minimal.tm7.Always open assets/example-minimal.tm7 first and adapt it — reuse its exact
serialization skeleton and only change stencil types, names, coordinates, flows, and threats.
TM7 files use WCF DataContractSerializer XML, not standard XML.
The file MUST start with this exact root element — no <?xml?> declaration:
test cases passed, vs 7 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.