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/benshapyro/cadre-devkit-claude/slopgit clone --depth 1 https://github.com/benshapyro/cadre-devkit-claudeWrote 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/benshapyro/cadre-devkit-claude/slop)<a href="https://agentmods.dev/commands/benshapyro/cadre-devkit-claude/slop"><img src="https://agentmods.dev/badge/commands/benshapyro/cadre-devkit-claude/slop.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.00009 | $0.01082 |
| Opus 5 | $0.00005 | $0.00541 |
| Sonnet 5 | $0.00002 | $0.00216 |
| Haiku 4.5 | $0.00001 | $0.00108 |
Grade A, and why
slop 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 5d 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 — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Slop Command
Check the diff against main and remove all AI-generated slop introduced in this branch.
What is "Slop"?
AI-generated code often has tells that make it look unnatural:
1. Over-Commenting
// BAD: AI slop
// Get the user from the database
const user = await db.getUser(id); // Fetch user by ID
// GOOD: Self-documenting, no comment needed
const user = await db.getUser(id);
2. Defensive Overkill
// BAD: Unnecessary defensive checks
function processUser(user: User) {
if (!user) {
throw new Error('User is required');
}
if (!user.id) {
throw new Error('User must have an id');
}
// ... when caller already validates
}
// GOOD: Trust internal callers
function processUser(user: User) {
// Just do the work - caller handles validation
}
3. Type Escapes
// BAD: Casting to escape type issues
const data = response as any;
const items = (result as unknown as Item[]);
// GOOD: Fix the actual type
const data: ResponseType = response;
4. Inconsistent Style
- Different naming conventions than the file uses
- Different error handling patterns
- Different import styles
- Added JSDoc when file doesn't use it (or vice versa)
5. Unnecessary Try/Catch
// BAD: Wrapping things that don't throw
try {
const x = a + b;
return x;
} catch (error) {
console.error('Failed to add numbers', error);
throw error;
}
// GOOD: Just do it
return a + b;
6. Verbose Logging
// BAD: Logging everything
console.log('Starting process...');
console.log('User ID:', userId);
console.log('Processing...');
console.log('Done!');
// GOOD: Log meaningful events only (or nothing for simple ops)
Workflow
1. Get the Diff
git diff main...HEAD
Identify all files changed in this branch.
2. For Each Changed File
- Read the FULL file (not just the diff) to understand existing patterns
- Compare new code against existing style:
- Comment density
- Error handling approach
- Naming conventions
- Type annotation style
- Import organization
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.
- 5d ago First seen · 188 lines · 9 tokens per session scan A 4a2fd3d4197c
slop is a command published in the GitHub repository benshapyro/cadre-devkit-claude (9 stars, last pushed 9mo ago), licensed MIT. It adds 9 tokens to every session and 1,082 once invoked, about $0.0000 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-31.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.