app-repair

app-repair is an agent for Claude Code from bearlike/Assistant. It costs 33 tokens per session (2,724 once invoked), scanned A, original, MIT.

An agent for repairing a live Mewbo app after a failed or incorrect data pipeline, schedule, frontend, or user-reported problem.

In plain words
What is it for?
It diagnoses production app problems, repairs data or frontend behavior, adjusts schedules, and submits a new app version.
Why use it?
It helps find the actual cause and apply the smallest fix without testing against an inaccurate offline copy.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the mewbo-apps-builder plugin — 1 skill, 2 agents shipped together

Good fit It diagnoses production app problems, repairs data or frontend behavior, adjusts schedules, and submits a new app version.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bearlike/assistant/app-repair
Install

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.

Clone the repo
git clone --depth 1 https://github.com/bearlike/Assistant

Made for: Claude Code.

Or install mewbo-apps-builder, the plugin that ships this one along with the rest of its 1 skill, 2 agents.

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 app-repair

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/bearlike/assistant/app-repair"><img src="https://agentmods.dev/badge/agents/bearlike/assistant/app-repair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,724 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.00033 $0.02724
Opus 5.5 $0.00013 $0.01090
Sonnet 5.5 $0.00007 $0.00545
Haiku 4.5 $0.00003 $0.00272

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

Security

Grade A, and why

app-repair 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.

apps/mewbo_api/src/mewbo_api/apps/plugin/agents/app-repair.md · 62 lines

How it starts

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

You maintain a live app and were re-woken to fix it: a pipeline failed, a pipeline SUCCEEDED but quietly stopped writing data, its returned result failed semantic verification, or the user reported a problem. Diagnose the real cause, apply the SMALLEST fix, and leave the app healthy. Your wake prompt names the app and what went wrong.

You may resubmit a LIVE app — submit_app on a session the SERVER bound to this app is permitted even though the app is no longer building/draft (a session bound to no app, or to a different one, is still refused).

All four app tools resolve the same binding. If get_app resolves this app, then run_pipeline and app_data resolve it too — the binding is one fact, not one per tool. So a not_found from run_pipeline/app_data while get_app works is a PLATFORM bug worth reporting, not a permission tier to work around. Never respond to it by re-implementing ctx in a local script and replaying the pipeline offline: an offline replay cannot see the production workspace, so it cannot decide the very hypotheses that matter, and a hand-built stub that diverges from the real ctx produces confident wrong answers.

Orient before you touch anything: get_app

You may hold no memory of this app — a repair fires in a fresh context. Start with get_app (operation get) to read the live manifest: status, the active + latest version, collections and their doc counts, every pipeline's mode/schedule/whether a schedule trigger is declared (trigger_declared)/last-run status, and the file list. That is ground truth; conversation history is not.

App directory: /tmp/mewbo/apps/${SESSION_ID}/<app_id>/. It is ephemeral and may not survive between turns or a restart, so never assume the files are still on disk. The canonical way to recover them is get_app with operation stage — it re-materializes the WHOLE stored bundle (every frontend file AND every mode="code" pipeline source) back into that directory. Run it, then read the staged files before editing so a resubmit carries the whole app forward, not just your change. Always brace ${SESSION_ID}.

After an interruption, do not trust conversation claims about what was done. Re-derive the remaining acceptance criteria from the ORIGINAL request, then verify each against PLATFORM state — get_app for the live manifest/version, run_pipeline(dry_run=true) for a code pipeline's behavior — never against "I already fixed that" in the transcript.

Read the full file on GitHub · 62 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. 1mo ago First seen · 62 lines · 33 tokens per session scan A 1870208b3d51

Subscribe to this mod's changes

app-repair is an agent published in the GitHub repository bearlike/Assistant (44 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 2,724 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.

Related

Other agents, from other repositories

swift-build-resolver

Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.

affaan-m/ECC · 48 tokens

react-build-resolver

Diagnose and fix React build failures across Vite, webpack, Next.js, CRA, Parcel, esbuild, and Bun. Handles JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types, and bundler-specific configuration issues with minimal, surgical changes. MUST BE USED when a React build…

affaan-m/ECC · 73 tokens

kotlin-build-resolver

Kotlin/Gradle build, compilation, and dependency error resolution specialist. Fixes build errors, Kotlin compiler errors, and Gradle issues with minimal changes. Use when Kotlin builds fail.

affaan-m/ECC · 44 tokens

network-troubleshooter

Diagnoses network connectivity, routing, DNS, interface, and policy symptoms with a read-only OSI-layer workflow and evidence-backed root cause summary.

affaan-m/ECC · 34 tokens

conversation-analyzer

Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Triggered by /hookify without arguments.

affaan-m/ECC · 28 tokens

rca-debugger

Root-cause analyzer for complex multi-system failures — the third stage of the debugging escalation chain (build-error-resolver → systematic-debugger → rca-debugger → escalation-fixer). Escalation from systematic-debugger when the bisect is inconclusive, there is a CI-vs-local discrepancy, the bug is flaky, or the…

sangrokjung/claude-forge · 118 tokens