Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/vyuh-labs/dxkit/qualitygit clone --depth 1 https://github.com/vyuh-labs/dxkitWhat 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 | $0.00000 | $0.00729 |
| Opus 5 | $0.00000 | $0.00365 |
| Sonnet 5 | $0.00000 | $0.00146 |
| Haiku 4.5 | $0.00000 | $0.00073 |
Grade A, and why
quality 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 3d 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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vyuh-dxkit quality
Run as:
vyuh-dxkit <cmd>afternpm install -g @vyuhlabs/dxkit, ornpx @vyuhlabs/dxkit <cmd>for one-shot use. Examples on this page use the short form.
Code quality + slop detection. Lint summary, duplicate code (jscpd), structural metrics (graphify), and a "slop score" composite.
Usage
vyuh-dxkit quality [path] [options]
What it surfaces
- Lint counts — errors + warnings, summed across every active language pack's linter (eslint, ruff, golangci-lint, clippy, dotnet-format, detekt, pmd, rubocop). Multi-stack repos sum contributions and the tool label lists each.
- Duplication — jscpd-detected duplicated lines + percentage + top-10 clones with file/line attribution.
- Structural — graphify-derived metrics: max functions in a file, average cohesion, community count, function count, dead imports, orphan modules.
- Hygiene markers — TODO / FIXME / HACK / console.log counts across the staged source tree.
- Comment ratio — code-to-comment ratio (filtered to pack-declared "source code" languages, not markup/data files).
- Slop score — composite 0-100 metric that weights all of the above into one signal.
Options
| Option | Effect |
|---|---|
--detailed |
Write detailed report (top-10 duplicate clones, top hygiene offenders, slop breakdown) |
--json |
Stdout JSON |
--no-save |
Skip files |
--graph-context |
Attach each offender file's module + blast radius to the detailed report (fail-open — see context) |
--attribute |
Attach a "Who to ask" column (each offender file's current owner, via the active-owner model). Opt-in; names + @handles, never emails. |
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.
- 3d ago First seen · 75 lines · 0 tokens per session scan A 18404aa7c3f0
quality is a command published in the GitHub repository vyuh-labs/dxkit (10 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 729 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
brooks-audit
Run a Brooks-Lint architecture audit.
dispatch-worker
Run one in-session-agent Worker tick (RFC-0041 §4.3.1).
todo
The quality-gated task list: tasks with real descriptions, testable acceptance criteria, and evidence — a task only closes when the controller agrees it is done.
security
The security pass: secrets (blocking), SAST, dependency vulns — plus the index's entry points to review from.
init
Install the formatters this repository needs, with every command visible before it runs.
research
Research a technical or product question.