crap-gate

crap-gate is a skill for Claude Code, Codex from coder/xum. It costs 60 tokens per session (1,529 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,083 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,529 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.01529
Opus 5.5 $0.00024 $0.00612
Sonnet 5.5 $0.00012 $0.00306
Haiku 4.5 $0.00006 $0.00153

Measured 27d ago against content hash 60c29502cc76, 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 27d 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.

.xum/skills/crap-gate/SKILL.md · 116 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. 27d ago Changed · +15 lines 60c29502cc76
  2. 1mo ago Changed · +10 lines f3492a3674d3
  3. 1mo ago Changed · +2 lines 97a8cab75e89
  4. 1mo ago Changed · +6 lines 277ca3fbf150
  5. 1mo ago Changed · +2 lines c2900c347159
  6. 1mo 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,083 stars, last pushed 2d ago), licensed AGPL-3.0. It adds 60 tokens to every session and 1,529 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

crap-gate compared with skills from other repositories

crap-gate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crap-gatecoder/xumSkill2.1k2d agoAGPL-3.0A60Claude Code, Codex
githubstagewise-io/stagewiseSkill6.8k2d agoAGPL-3.0A35Claude Code, Codex
open-code-reviewalibaba/open-code-reviewSkill57k4d agoApache-2.0A86Cursor
baby-sitlangchain-ai/open-sweSkill11ktodayMITA30Claude Code, Codex
worktreeget-bb/bbSkill6.2kyesterdayMITA33Claude Code, Codex
git-checkpointagentscope-ai/agentscope-javaSkill6.5kyesterdayApache-2.0A39Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill11ktodayApache-2.0A57Claude Code, Codex