Agentcrumbs — AI skill for Claude Code
Debug mode for any AI agent.
How to install Agentcrumbs
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open triggerdotdev/agentcrumbs and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentcrumbs does
Debug mode for any AI agent. Structured tracing agents add inline, stripped before merge.
Alternatives in AI
- Contributing To Claude AI Research Skills — Thank you for your interest in contributing 5.4k ★
- Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
- Debug Skill — Give your AI agent a real debugger — breakpoints, stepping, variable inspection, and stack traces via CLI 218 ★
README
agentcrumbs
AI agents can read your code but they can't see what happened at runtime. agentcrumbs fixes that. Agents drop structured traces inline as they write code. When something breaks, the agent queries those traces and sees exactly what ran, with what data, in what order.
Crumbs are development-only. They get stripped before merge and cost nothing when disabled.
Service A ──┐ ┌── $ agentcrumbs tail
Service B ──┤── fetch() ──> Collector :8374 ──┤── $ agentcrumbs query --since 5m
Service C ──┘ (fire & forget) └── ~/.agentcrumbs//crumbs.jsonl
Getting started
npm install agentcrumbs
Then tell your agent: **"Run `npx @tanstack/intent@latest install` to set up agentcrumbs skills, then run the agentcrumbs/init skill."**
The agent will wire the skills into your agent config (CLAUDE.md, .cursorrules, etc.), then scan your repo to build a namespace catalog so all agents use consistent names.
Agent skills
agentcrumbs ships with [@tanstack/intent](https://tanstack.com/blog/from-docs-to-agents) skills inside the npm package. When your agent runs `npx @tanstack/intent install`, it sets up skill-to-task mappings in your agent config so it knows when to load agentcrumbs patterns.
| Skill | What it teaches |
|---|---|
agentcrumbs |
Core workflow, API, markers, CLI reference, common mistakes |
agentcrumbs/init |
Scans repo, discovers namespaces, writes config |
Skills travel with the package version. The agent always has docs matching the installed code.
How it works
The agent writes crumbs as part of the code it's implementing:
import { trail } from "agentcrumbs"; // @crumbs
const crumb = trail("auth-service"); // @crumbs
export async function handleLogin(token: string) {
crumb("login attempt", { tokenPrefix: token.slice(0, 8) }); // @crumbs
const user = await validateToken(token);
crumb("login success", { userId: user.id }); // @crumbs
return us
Related Skills
AI Coding Rules Scaffold
Two-layer enforcement (pre-commit hook + CI mirror) for small teams using AI agents. Catches debug leaks, file
Universal Debug Mode Skill
Evidence-driven debugging skill for AI agents: generate competing hypotheses, instrument with isolated runtime
Git Context Controller
Structured context management framework for LLM agents. Implements Git-like operations (COMMIT, BRANCH, MERGE)
Agent Guardrails
Checks AI-generated code changes before merge: scope, validation, risk, review evidence, and optional Verity r
Codeblast
Know what breaks before you merge — mutation-tested code graph with architecture, change & impact maps. Eviden
Find Unknowns
Agent Skill: Unknowns SOP for AI coding agents — blind spot scan, prototype, interview, implementation notes,
Related Agents
Pstack Poteto Agent
The routing target for pstack-poteto-mode and any subagent spawned inside a playbook step. Reads the pstack-po
Feature Reviewer
Use this agent to review PRs and in-session diffs for correctness, security, and Awesome Templates domain accu
Observability Ops Reviewer
Reviewer for observability and operations — logging, metrics, tracing, alerting, health checks, and incident r