Borrowing it
Nothing to install: this file belongs to dfirtnt/Huntable-CTI-Studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dfirtnt/Huntable-CTI-Studio/main/.cursor/skills/test-validation/SKILL.mdgit clone --depth 1 https://github.com/dfirtnt/Huntable-CTI-StudioWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dfirtnt/huntable-cti-studio/test-validation)<a href="https://agentmods.dev/skills/dfirtnt/huntable-cti-studio/test-validation"><img src="https://agentmods.dev/badge/skills/dfirtnt/huntable-cti-studio/test-validation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dfirtnt/huntable-cti-studio/test-validation"><img src="https://agentmods.dev/badge/skills/dfirtnt/huntable-cti-studio/test-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 3 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 18 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.01816 |
| Opus 5 | $0.00033 | $0.00908 |
| Sonnet 5 | $0.00013 | $0.00363 |
| Haiku 4.5 | $0.00007 | $0.00182 |
Grade A, and why
test-validation scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run( How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Validation
Runs the standard Huntable CTI Studio test sequence and reports pass/fail counts for each group.
Test Sequence
Executes in order:
- smoke - Quick health check
- unit - Unit tests
- api - API endpoint tests
- integration - System integration tests
- ui -
ui --skip-playwright-js— pytesttests/ui/only (skipsnpx playwright test tests/playwright/; config-mutating tests still excluded byrun_tests.py uidefaults). For full UI including TS Playwright, runpython3 run_tests.py uiseparately. - quality regression -
regression --context localhost --paths tests/quality/test_quality_categories_seed.py --output-format quiet - quality contract -
contract --context localhost --paths tests/quality/test_quality_categories_seed.py --output-format quiet - quality security -
security --context localhost --paths tests/quality/test_quality_categories_seed.py --output-format quiet - quality a11y -
a11y --context localhost --paths tests/quality/test_quality_categories_seed.py --output-format quiet - unit --markers regression -
unit --markers regression - unit --markers contract -
unit --markers contract - unit --markers security -
unit --markers security - unit --markers a11y -
unit --markers a11y
Usage
When invoked, this skill:
- Runs each test group sequentially using
python3 run_tests.py(ui step includes--skip-playwright-js) - Captures pass/fail/skip counts from pytest output
- Reports results in a summary table
- Does NOT attempt to fix failures (read-only validation)
Output Format
Test Validation Results
=======================
Group | Passed | Failed | Skipped | Status
------------- | ------ | ------ | ------- | ------
smoke | 31 | 0 | 0 | ✅ PASS
unit | 662 | 0 | 27 | ✅ PASS
api | 42 | 1 | 0 | ❌ FAIL
integration | 38 | 0 | 2 | ✅ PASS
ui | 15 | 0 | 1 | ✅ PASS
------------- | ------ | ------ | ------- | ------
TOTAL | 788 | 1 | 30 | ❌ FAIL
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 170 lines · 66 tokens per session scan A 2a27d88b8558
test-validation is a skill published in the GitHub repository dfirtnt/Huntable-CTI-Studio (11 stars, last pushed 2d ago), licensed MIT. It adds 66 tokens to every session and 1,816 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
pytest-suite
Write or extend the backend test suite following this project's conventions. Use when adding tests for a new service/route/repository, when coverage is missing, or when asked to test a feature. Knows the mocked-session + httpx AsyncClient setup so tests run with no database.
configuring-windows-event-logging-for-detection
Configures Windows Event Logging with advanced audit policies to generate high-fidelity security events for threat detection and forensic investigation. Use when enabling audit policies for logon events, process creation, privilege use, and object access to feed SIEM detection rules. Activates for requests involving…
debug
Structured bug diagnosis and fixing workflow that reproduces, diagnoses root cause, applies a minimal fix, writes regression tests, and scans for similar patterns.
python-testing
Write or modify Python tests. Use when: adding new tests, understanding testing conventions, working with fixtures, writing FastAPI route tests, database tests, or following pytest patterns. DO NOT USE FOR RUNNING TESTS. If you are just running tests, not building them, you do not need this.
Write tests
Add focused, meaningful tests for code — happy path plus the edge cases that matter.
unit-test
Testing patterns for the Python/FastAPI + React/TypeScript stack. Covers pytest configuration, conftest fixtures, database safety guards, external API mocking, async tests, Celery eager mode, and Vitest for frontend.