debug-toolbar: Instructions file for Claude Code

CLAUDE.md

debug-toolbar CLAUDE.md is an instructions file for Claude Code from JacobCoffee/debug-toolbar. It costs 2,236 tokens per session, scanned A, original, MIT.

Repository instructions for an asynchronous debugging toolbar for Python ASGI web applications. They describe how an agent should learn the codebase, choose a workflow depth based on change complexity, and use a library of reusable patterns.

In plain words
What is it for?
Use them when developing or extending the debug toolbar, including panels, API endpoints, configuration changes, or framework integrations. The project can use Litestar and SQLAlchemy, but the excerpt does not define all supported features.
Why use it?
They help the agent adjust its review process to the size and risk of a change instead of applying the same checklist to every task. They also point it to existing implementation patterns.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions subagents.

This is JacobCoffee/debug-toolbar's own configuration. It tells Claude Code how to work on debug-toolbar 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 debug-toolbar configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JacobCoffee/debug-toolbar. 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/JacobCoffee/debug-toolbar/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/JacobCoffee/debug-toolbar

Made for: Claude Code.

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 debug-toolbar CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jacobcoffee/debug-toolbar/claude-md.svg)](https://agentmods.dev/instructions/jacobcoffee/debug-toolbar/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jacobcoffee/debug-toolbar/claude-md"><img src="https://agentmods.dev/badge/instructions/jacobcoffee/debug-toolbar/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,236 This file is loaded in full into every session.
When invoked 2,236 The same file — it is already loaded in full.
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.02236 $0.02236
Opus 5 $0.01118 $0.01118
Sonnet 5 $0.00447 $0.00447
Haiku 4.5 $0.00224 $0.00224

Measured 2d ago against content hash 9a62d133297a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

debug-toolbar CLAUDE.md 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 2d 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.

CLAUDE.md · 329 lines

How it starts

The opening of the file, as written. The whole thing — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Agent Guidelines for debug-toolbar

Version: 2.0 (Intelligent Edition) | Updated: 2025-11-29

Async-native debug toolbar for Python ASGI frameworks with optional Litestar integration. This library provides a plugin-based panel system for debugging, profiling, and monitoring ASGI applications.


Intelligence Layer

This project uses an intelligent agent system that:

  1. Learns from codebase before making changes
  2. Adapts workflow depth based on feature complexity
  3. Accumulates knowledge in pattern library
  4. Selects tools based on task requirements

Pattern Library

Reusable patterns in specs/guides/patterns/:

  • Consult before implementing similar features
  • Add new patterns during review phase

Complexity-Based Checkpoints

Complexity Checkpoints Triggers
Simple 6 CRUD, config change, single file
Medium 8 New panel, API endpoint, 2-3 files
Complex 10+ Architecture change, multi-component, new framework integration

Quick Reference

Technology Stack

Category Technology
Framework Litestar 2.x (optional integration)
ORM SQLAlchemy 2.x / Advanced-Alchemy (optional)
Python 3.10 - 3.13
Testing pytest, pytest-asyncio
Linting ruff, ty (type checking)
Package Manager uv
Frontend Lint biome

Essential Commands

make dev          # Install all dependencies (dev mode)
make test         # Run all tests
make test-fast    # Run unit tests only (no integration)
make test-cov     # Run tests with coverage
make lint         # Run ruff linter
make lint-fix     # Run ruff with auto-fix
make fmt          # Format code with ruff
make type-check   # Run ty type checker

Code Standards (Critical)

Python Style

Rule Standard
Type hints PEP 604 (T | None not Optional[T])
Future annotations from __future__ import annotations at top of every file
Docstrings Google style with Args/Returns sections
Tests Class-based for related tests, function-based for simple
Line length 120 characters
Async Prefer async def for I/O-bound operations

Read the full file on GitHub · 329 lines

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. 2d ago First seen · 329 lines · 2,236 tokens per session scan A 9a62d133297a

Subscribe to this mod's changes

debug-toolbar CLAUDE.md is an instructions file published in the GitHub repository JacobCoffee/debug-toolbar (7 stars, last pushed 5mo ago), licensed MIT. It adds 2,236 tokens to every session, about $0.0112 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-09-04.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens