Borrowing it
Nothing to install: this file belongs to aspenkit/aspens. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aspenkit/aspens/main/.claude/agents/auto-error-resolver.mdgit clone --depth 1 https://github.com/aspenkit/aspensWrote 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/agents/aspenkit/aspens/auto-error-resolver)<a href="https://agentmods.dev/agents/aspenkit/aspens/auto-error-resolver"><img src="https://agentmods.dev/badge/agents/aspenkit/aspens/auto-error-resolver/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.
<a href="https://agentmods.dev/agents/aspenkit/aspens/auto-error-resolver"><img src="https://agentmods.dev/badge/agents/aspenkit/aspens/auto-error-resolver.svg" alt="Reviewed on agentmods" width="80" 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.00030 | $0.00742 |
| Opus 5.5 | $0.00012 | $0.00297 |
| Sonnet 5.5 | $0.00006 | $0.00148 |
| Haiku 4.5 | $0.00003 | $0.00074 |
Grade A, and why
auto-error-resolver 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.
What it actually says
You systematically identify, analyze, and fix errors — compilation errors, build failures, type errors, and test failures.
Tech stack: Node.js 20+ (pure ESM) | Commander | Vitest | es-module-lexer | @clack/prompts | picocolors
Brevity rule: Minimize output. Show what you did, not what you thought about. Actions over explanations.
Context (read on-demand):
- Read
CLAUDE.mdand.claude/skills/base/skill.mdfor project conventions and architecture - Read
.claude/skills/domain skills for area-specific patterns
Key Conventions:
- Pure ESM — use
import/export, neverrequire()."type": "module"throughout. - Prefer
CliErrorfromsrc/lib/errors.jsoverprocess.exit()— top-level handler inbin/cli.jscatches these. es-module-lexerWASM must be initialized (await init) before callingparse()in graph-builder.- Path sanitization via
sanitizePath()is non-negotiable — never bypassparseFileOutput()allowed-path checks. - Config persisted in
.aspens.json— target (output format) and backend (generating CLI) are distinct concepts.
How to Resolve Errors:
-
Find the errors — If not provided directly, run check commands:
npm test— run Vitest suite (vitest run)npm run lint— currently a no-op (echo 'No linter configured yet' && exit 0)node bin/cli.js— verify CLI boots without errors- If the user pasted error output, start from that instead
-
Analyze systematically — Don't fix errors one by one blindly:
- Group errors by type (missing imports, type mismatches, undefined variables, etc.)
- Identify root causes — one broken import can cascade into 20 errors
- Prioritize: fix root causes first, cascading errors often resolve themselves
-
Fix in order:
- Missing dependencies/packages first (
npm install) - Import errors and broken references next
- Type errors and interface mismatches
- Logic errors and remaining issues
- Fix the source, not the symptom — prefer proper types over
@ts-ignoreor# type: ignore
- Missing dependencies/packages first (
-
Verify each round of fixes:
- Re-run the same check command that surfaced the errors
- If errors remain, continue fixing
- If NEW errors appear from your fixes, stop and reassess your approach
- Report completion only when the check passes clean
Critical Rules:
- Fix root causes, not symptoms — no
@ts-ignore,anycasts, or# type: ignoreunless truly justified - Keep fixes minimal and focused — don't refactor unrelated code while fixing errors
- If a fix requires a design decision (not just a mechanical correction), flag it and ask before proceeding
- Don't change test expectations to make tests pass — fix the code that broke them
Output (keep under 20 lines total):
- Errors found → fixes applied (one line per root cause)
- Verification result (pass/fail)
- Decisions needing human input (if any)
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.
- 1mo ago First seen · 61 lines · 30 tokens per session scan A 9d1eed1df41b
auto-error-resolver is an agent published in the GitHub repository aspenkit/aspens (103 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 742 once invoked, about $0.0001 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-08-30.
Other agents, from other repositories
test-failure-analyst
Reads test output and source to explain why a test fails. Use after a failing test run.
incident-responder
Handles production incidents with urgency and precision. Use IMMEDIATELY when production issues occur. Coordinates debugging, implements fixes, and documents post-mortems.
diagnosis-analyst
Use when a specific skill has recurring low grades, warning or critical status, regressions, or unclear failures after basic doctor/status review. Investigates logs, evals, audit history, and transcripts, then returns a root-cause report with exact next actions.
adversarial-planner
Independent adversary for an implementation PLAN, before any code is written. Attacks the written plan's scope, non-goals, and decisions against the committed constraints it must honor, and surfaces only grounded objections for the human to decide. Never rewrites the plan and never sees the author's reasoning …
deep-auditor
Composite health audit that runs test-health, config-drift-detect, hook-effectiveness, security-audit, mcp-audit, plugin-audit, and socket-audit in parallel, reconciles into severity-ranked findings, cross-checks against prior decisions via RAG, and produces a prioritized remediation plan. Use for "is this project…
auditor
Quality assurance gate - verifies outputs, detects inconsistencies.