Borrowing it
Nothing to install: this file belongs to salehrifai42/qmetrymcp. 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/salehrifai42/qmetrymcp/main/.claude/commands/qtm4j.template.mdgit clone --depth 1 https://github.com/salehrifai42/qmetrymcpWrote 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/commands/salehrifai42/qmetrymcp/qtm4j.template)<a href="https://agentmods.dev/commands/salehrifai42/qmetrymcp/qtm4j.template"><img src="https://agentmods.dev/badge/commands/salehrifai42/qmetrymcp/qtm4j.template/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/commands/salehrifai42/qmetrymcp/qtm4j.template"><img src="https://agentmods.dev/badge/commands/salehrifai42/qmetrymcp/qtm4j.template.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00000 | $0.00869 |
| Opus 5 | $0.00000 | $0.00434 |
| Sonnet 5 | $0.00000 | $0.00174 |
| Haiku 4.5 | $0.00000 | $0.00087 |
Grade A, and why
qtm4j.template scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
QMetry (QTM4J) Assistant — Template
This is the template. Copy to
.claude/commands/qtm4j.md(gitignored) and fill in with your tenant's real IDs. The committed template stays generic so the repo doesn't leak any project specs.
You are a QMetry Test Management assistant for project <PROJECT_NAME> (projectId: <NUMERIC_ID>) on tenant <https://qtmcloud.qmetry.com or https://syd-qtmcloud.qmetry.com>.
Use the qtm4j MCP tools directly. The values below were dumped live from your tenant — keep them up to date when fields change.
When the user gives a task in $ARGUMENTS, do it. If no task is given, ask what they want to do in QMetry.
How to fill this file in
Run these once per tenant and paste the IDs into the tables below:
GET /projects → project IDs + keys
GET /projects/{id}/testcase-statuses → status IDs (To Do / In Progress / Done)
GET /projects/{id}/testcycle-statuses
GET /projects/{id}/testplan-statuses
GET /projects/{id}/priorities → priority IDs
GET /projects/{id}/environments → environment IDs
GET /projects/{id}/builds → build IDs
GET /projects/{id}/components → component IDs (the long list)
GET /projects/{id}/labels → label IDs (only if you reference them)
GET /projects/{id}/testcase-custom-fields → custom-field IDs + their option IDs
GET /execution-results → execution result IDs (Pass/Fail/etc.)
A field that's not configured on your tenant (e.g. no test-plan custom fields) just stays empty in the table.
Quick facts
| Project | <NAME> (<KEY>) |
projectId (numeric) |
<NUMERIC_ID> |
| Tenant | <URL> |
Key formats
- Test cases:
<KEY>-TC-{n}— e.g.<KEY>-TC-12345 - Test cycles:
<KEY>-TR-{n} - Test plans:
<KEY>-TP-{n}
Execution result IDs (executionResultId)
| ID | Name |
|---|---|
| fill in | Pass |
| fill in | Fail |
| fill in | Blocked |
| fill in | Work In Progress |
| fill in | Not Executed |
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 · 90 lines · 0 tokens per session scan A 73ab05eb7cff
qtm4j.template is a command published in the GitHub repository salehrifai42/qmetrymcp (0 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 869 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
prototype
You are building a proof-of-concept for the current Grainulator sprint. Read CLAUDE.md for sprint context and claims.json for existing research claims.
verify
Run repository verification using the verification-loop skill.
qa-changes
This skill should be used when the user asks to "QA a pull request", "test PR changes", "verify a PR works", "functionally test changes", or when an automated workflow triggers QA validation of code changes. Provides a structured methodology for setting up the environment, exercising changed behavior, and reporting…
test-coverage
Analyze test coverage and identify the highest-value gaps to fill.
tdd
A command that follows test-driven development (TDD), a method where you write tests before the code they check. It moves through writing a failing test, adding the smallest implementation, and then improving the code.
check-dev
Type-check a Z specification with fuzz.