dxkit CLAUDE.md

dxkit CLAUDE.md is an instructions file for coding agents from vyuh-labs/dxkit. It costs 24,268 tokens per session, scanned A, original, MIT.

Project-specific instructions for developing DXKit, a developer tool that runs code-analysis programs such as security and lint checks.

In plain words
What is it for?
Use them when changing DXKit's tool registry, installation process, analyzer architecture, or language-detection code.
Why use it?
They keep tool setup and execution in one consistent place and prevent unsafe, unverified downloads or duplicated logic.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/vyuh-labs/dxkit/claude-md
Clone the repo
git clone --depth 1 https://github.com/vyuh-labs/dxkit

Wrote 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.

agentmods badge for dxkit CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vyuh-labs/dxkit/claude-md.svg)](https://agentmods.dev/instructions/vyuh-labs/dxkit/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/vyuh-labs/dxkit/claude-md"><img src="https://agentmods.dev/badge/instructions/vyuh-labs/dxkit/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 24,268 This file is loaded in full into every session.
When invoked 24,268 The same file — it is already loaded in full.
Security scan A 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.24268 $0.24268
Opus 5 $0.12134 $0.12134
Sonnet 5 $0.04854 $0.04854
Haiku 4.5 $0.02427 $0.02427

Measured 4d ago against content hash ae117133b1a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dxkit CLAUDE.md scanned grade A with 2 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

CLOSED on mismatch. The arch-check bans a raw curl/wget-with-URL in

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

content-scan inside `run()` / `execSync()` outside the 4-file
CLAUDE.md · 1,660 lines

How it starts

The opening of the file, as written. The whole thing — 1,660 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md — DXKit Development Rules

Architecture Rules

1. Tool invocation goes through the registry

Every external tool (cloc, gitleaks, semgrep, graphify, jscpd, ruff, etc.) MUST be:

  • Defined in src/analyzers/tools/tool-registry.ts (TOOL_DEFS)
  • Detected via findTool(TOOL_DEFS.xxx, cwd) — never hardcode binary paths
  • Installed via vyuh-dxkit tools install — never ad-hoc npx/pip calls

Builtins (grep, find, wc, git, node) are exempt — they're always available.

Executed downloads are checksum-verified (4.0.3 / T2.1). Any network artifact an install command fetches goes through dxkit_fetch <url> <sha256> <dest> — defined ONCE in src/analyzers/tools/install-exec.ts (the single install executor prepends it), with the pinned hash declared in the registry beside the URL. It fails CLOSED on mismatch. The arch-check bans a raw curl/wget-with-URL in tool-registry.ts and an Invoke-WebRequest without a Get-FileHash check (annotate // unverified-download-ok for a justified exception); test/tool-registry-version-pins.test.ts pins that every dxkit_fetch call carries a 64-hex sha and that no unverified fetch exists in any install command. Bumping a tool version means re-pinning its hash (prefer the publisher's published checksum file where one exists — gitleaks, codeql).

CI tool discoverability is registry-derived, never a hardcoded PATH. The places a tool binary can live are declared once — getSystemPaths() plus each tool's probePaths in the registry — and findTool probes them. The CI PATH export (exportToolPathsToGithubEnv, run at the end of tools install) reads the SAME sources and writes them to $GITHUB_PATH, so the per-language dep audit finds its native scanner (osv-scanner / pip-audit / govulncheck / cargo-audit) in a workflow step instead of silently falling back to a wrong-artifact scanner. A new language pack that installs a scanner to a new directory declares it in the tool's probePaths (already required for detection) and is thereby covered in CI automatically — do NOT hardcode a per-ecosystem bin dir in a workflow template. test/tool-paths-ci.test.ts pins that every tool probePath appears in the export.

Read the full file on GitHub · 1,660 lines

Changes

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.

  1. 4d ago First seen · 1,660 lines · 24,268 tokens per session scan A ae117133b1a5

Subscribe to this mod's changes

dxkit CLAUDE.md is an instructions file published in the GitHub repository vyuh-labs/dxkit (10 stars, last pushed 7d ago), licensed MIT. It adds 24,268 tokens to every session, about $0.1213 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.