crap-gate

crap-gate is a skill for Claude Code, Codex from coder/xum. It costs 60 tokens per session (1,162 once invoked), scanned A, original, AGPL-3.0.

A skill for reading and fixing findings from CRAP checks, a code-quality check that flags overly complex or poorly covered functions. It is used when a report identifies a function or when deciding how to split or test one.

In plain words
What is it for?
Use it to respond to CRAP-gate or commit-hook reports, review complex functions, and decide whether to split, test, or record the issue as technical debt.
Why use it?
It gives a focused workflow for addressing a named quality problem before adding more tests or restructuring code. The available description does not specify further repair actions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to respond to CRAP-gate or commit-hook reports, review complex functions, and decide whether to split, test, or record the issue as technical debt.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coder/xum/crap-gate
About the project

coder/xum is a desktop application for running coding agents in isolated, parallel workspaces, either locally, through Git worktrees, or on remote servers over SSH. It helps developers manage multiple agents, models, code changes, reviews, costs, and agent status from one interface. The catalogue skills, instructions, agents, settings, and command define workflows for using Xum.

coder/xum · 2,054 stars · on GitHub · xum.coder.com

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.

Any agent
npx skills add coder/xum --skill crap-gate
Clone the repo
git clone --depth 1 https://github.com/coder/xum

Made for: Claude Code, Codex.

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 crap-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/coder/xum/crap-gate/github.svg)](https://agentmods.dev/skills/coder/xum/crap-gate)
Your own site
<a href="https://agentmods.dev/skills/coder/xum/crap-gate"><img src="https://agentmods.dev/badge/skills/coder/xum/crap-gate/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.

agentmods 80×15 button for crap-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/coder/xum/crap-gate"><img src="https://agentmods.dev/badge/skills/coder/xum/crap-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,162 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.1 $0.00060 $0.01162
Opus 5.5 $0.00024 $0.00465
Sonnet 5.5 $0.00012 $0.00232
Haiku 4.5 $0.00006 $0.00116

Measured today against content hash 277ca3fbf150, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crap-gate 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 today.

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.

.xum/skills/crap-gate/SKILL.md · 89 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. today Changed · +6 lines 277ca3fbf150
  2. yesterday Changed · +2 lines c2900c347159
  3. 3d ago First seen · 81 lines · 60 tokens per session scan A ba5355e05450

Subscribe to this mod's changes

crap-gate is a skill published in the GitHub repository coder/xum (2,054 stars, last pushed today), licensed AGPL-3.0. It adds 60 tokens to every session and 1,162 once invoked, about $0.0002 per session on Opus 5.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-10-13.

Related

Other skills, from other repositories

meta-pre-commit-quality-gate

Run three quality gates (ruff + mypy + pytest) in parallel over the staged diff, then arbitrate a single BLOCK/APPROVE verdict. Use before committing changes locally when you want a comprehensive pre-commit gate beyond per-file linting — exactly the same gate set CI enforces.

opensquilla/opensquilla · 68 tokens

verify-and-ship

Choose proportionate validation, fix failures, update the changelog, commit, push, and create/update the pull request or merge request.

cyrusagents/cyrus · 32 tokens

github

Complete guide for the GitHub plugin — REST API access for repositories, issues, pull requests, actions, releases, and search using a GitHub Personal Access Token.

stagewise-io/stagewise · 35 tokens

develop-inspection-feature

End-to-end workflow for adding a new inspection or quick-fix feature to the explyt/spring-plugin repository: duplicate check, fact verification against authoritative javadoc, base-class and gating choice (isAvailableForFile), visible-element highlighting, registration, platform tests, branch and PR. Use when the user…

explyt/spring-plugin · 103 tokens

release

Prepare dynobox packages for release to npm. Use this skill whenever the user asks to release, publish, ship, bump, or cut a version of any dynobox package — including dry runs, version bumps, changelog updates, and git tagging. Also trigger when the user asks about the release process or wants to verify publish…

dynobox/dynobox · 71 tokens

commit

Prepare and create git commits for dynobox. Use this skill whenever the user asks to commit, create a commit, suggest a commit message, stage changes, or prepare changes for review. Also use it when the user asks whether the changelog should be updated before committing.

dynobox/dynobox · 59 tokens