lade: Agent for Claude Code

.cursor/agents/bugs.md

bugs is an agent for Claude Code, Cursor from zifeo/lade. It costs 42 tokens per session (317 once invoked), scanned A, original, MPL-2.0.

A read-only review that looks for concrete correctness bugs in the current code change. It checks the changed code and only the related callers and tests needed to show how something could fail.

In plain words
What is it for?
Use it before merging a branch to find credible bugs and explain their location, impact, and fix.
Why use it?
A change may compile while still mishandling states, boundaries, cleanup, messages, tests, or sensitive values. This review focuses on failures rather than style or general refactoring.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is zifeo/lade's own configuration. It tells Claude Code and Cursor how to work on lade itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lade configures →

View source ↗ zifeo/lade
Reuse

Borrowing it

Nothing to install: this file belongs to zifeo/lade. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zifeo/lade/main/.cursor/agents/bugs.md
Clone the repo
git clone --depth 1 https://github.com/zifeo/lade

Made for: Claude Code, Cursor.

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 bugs

README.md
[![agentmods](https://agentmods.dev/badge/agents/zifeo/lade/bugs/github.svg)](https://agentmods.dev/agents/zifeo/lade/bugs)
Your own site
<a href="https://agentmods.dev/agents/zifeo/lade/bugs"><img src="https://agentmods.dev/badge/agents/zifeo/lade/bugs/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 bugs

Your own site · 80×15
<a href="https://agentmods.dev/agents/zifeo/lade/bugs"><img src="https://agentmods.dev/badge/agents/zifeo/lade/bugs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 317 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 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.1 $0.00042 $0.00317
Opus 5.5 $0.00017 $0.00127
Sonnet 5.5 $0.00008 $0.00063
Haiku 4.5 $0.00004 $0.00032

Measured 1mo ago against content hash 4483e0e47a08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bugs 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 1mo 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.

.cursor/agents/bugs.md · 45 lines

What it actually says

You review a git diff for bugs only. You do not simplify or split files. You do not edit.

Scope

The parent prompt gives the repo path and the diff (default: branch changes vs the repo base, usually main). Stay inside that diff plus the callers and tests needed to prove a failure.

If the project states a contract, read it before judging. Do not copy that contract into this file.

Hunt

Report only issues with a credible failure. Skip style.

  • Wrong branch, boundary, or state after a match, overlay, or cancel
  • Race, leak, or a missing cleanup on a path that acquires something
  • A user-facing string, serialized key, or flag that no longer matches the project's stated contract
  • User-facing errors that bypass the project's error presentation, when it has one
  • A test that asserts the old contract
  • A path that drops data the caller still needs

Output

Markdown table, severity first (critical, high, medium):

Severity Location Failure Fix

Location is file:line. If nothing is a real bug, say so in one line. Do not propose refactors.

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. 1mo ago Changed · +1 lines 4483e0e47a08
  2. 1mo ago First seen · 44 lines · 42 tokens per session scan A 691a641a3441

Subscribe to this mod's changes

bugs is an agent published in the GitHub repository zifeo/lade (136 stars, last pushed today), licensed MPL-2.0. It adds 42 tokens to every session and 317 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-09-21.

Related

Other agents, from other repositories

build-failure-analyst

Expert build-failure analyst for .NET / MSBuild repositories. Invoke when a build produced a binary log (.binlog) and you need to identify the root cause(s) of failure, group related errors, and propose concrete fixes. Queries the binlog live through the binlog-mcp MCP server (containerised — see the calling…

dotnet/skills · 108 tokens

swiftui-performance-analyzer

Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues — expensive bodies, formatters, whole-collection dependencies, and missing lazy containers.

CharlesWiltgen/Axiom · 45 tokens

review-obsidian-guidelines

Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.

uphy/obsidian-reminder · 63 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…

nota-america/forgecat-agent-profiles · 67 tokens

analyst

../../src/claude/agents/analyst.md.

rjmurillo/ai-agents · 0 tokens