Kubb is a modular code-generation framework that turns OpenAPI descriptions into type-safe TypeScript code, Zod schemas, and TanStack Query integrations. It is used by TypeScript developers to generate client code and related interfaces from API specifications. The catalogue contains extensions such as skills, commands, hooks, agents, and a plugin that support Kubb workflows.
Borrowing it
Nothing to install: this file belongs to kubb-labs/kubb. 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/kubb-labs/kubb/main/.claude/commands/deslop.mdgit clone --depth 1 https://github.com/kubb-labs/kubbWrote 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/kubb-labs/kubb/deslop)<a href="https://agentmods.dev/commands/kubb-labs/kubb/deslop"><img src="https://agentmods.dev/badge/commands/kubb-labs/kubb/deslop.svg" alt="Measured on agentmods" 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.00012 | $0.00208 |
| Opus 5 | $0.00006 | $0.00104 |
| Sonnet 5 | $0.00002 | $0.00042 |
| Haiku 4.5 | $0.00001 | $0.00021 |
Grade A, and why
deslop 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 7d 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.
What it actually says
!git diff --stat HEAD
Remove AI-generated code slop from the changes on this branch.
- Review the branch's changes: the diff against the default branch, narrowed to
$ARGUMENTSwhen a path or glob is given. - Strip the AI tells: unnecessary or inconsistent comments, defensive checks and
try/catchon trusted code paths,anycasts that only dodge a type error, and deep nesting that early returns would flatten. - Keep behavior unchanged unless fixing a clear bug. Make minimal, surgical edits and do not weaken types, lint rules, or tests.
- Run
pnpm format && pnpm lint:fixand report a 1-3 sentence summary.
Follow the deslop skill for the full checklist. For prose and user-facing markdown, use the
humanizer skill instead.
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.
- 7d ago First seen · 21 lines · 12 tokens per session scan A 5d8486e270b2
deslop is a command published in the GitHub repository kubb-labs/kubb (1,792 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 208 once invoked, about $0.0001 per session on Opus 5. 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-30.
Other commands, from other repositories
fix-issues
Diagnose, reproduce, then fix reproducible open GitHub issues in parallel: one clean worktree/issue; symlink build artifacts to avoid rebuilds.
release
Release all packages at specified version.
speckit.companion.living-sync
Sync living specs from your current changes — group working-tree changes (uncommitted included) by capability and update every affected spec in one pass (opt-in, update-not-regenerate, never halts).
pr-ready
Run the project's pre-commit review loop to determine whether the current branch is ready to push — lint, tests, parallel pr-review-toolkit agents plus an over-engineering audit, fix-and-re-run until convergence.
CLAUDE
Command "CLAUDE" from skmtc/skmtc, covering recent activity, may 5, 2026, may 8, 2026, may 9, 2026 and may 11, 2026.
commit-push-pr
Commit, push, and open a PR (includes changeset creation).