dart-build-resolver

dart-build-resolver is an agent for Claude Code from sifxprime/kodelyth-ecc. It costs 53 tokens per session (1,581 once invoked), scanned A, a copy of dart-build-resolver, MIT.

A Dart and Flutter build troubleshooting assistant. Dart is the programming language, while Flutter is a toolkit for building apps for platforms such as Android, iOS, and the web.

In plain words
What is it for?
Use it when Dart or Flutter analysis fails, packages conflict, code generation breaks, or Android, iOS, or web builds do not complete.
Why use it?
It helps diagnose analyzer errors, compilation failures, dependency conflicts, generated-code problems, and platform build issues.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it when Dart or Flutter analysis fails, packages conflict, code generation breaks, or Android, iOS, or web builds do not complete.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sifxprime/kodelyth-ecc/dart-build-resolver
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/sifxprime/kodelyth-ecc

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 dart-build-resolver

README.md
[![agentmods](https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/dart-build-resolver/github.svg)](https://agentmods.dev/agents/sifxprime/kodelyth-ecc/dart-build-resolver)
Your own site
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/dart-build-resolver"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/dart-build-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.

agentmods 80×15 button for dart-build-resolver

Your own site · 80×15
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/dart-build-resolver"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/dart-build-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,581 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 91% copy Near-identical to another mod 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.00053 $0.01581
Opus 5.5 $0.00021 $0.00632
Sonnet 5.5 $0.00011 $0.00316
Haiku 4.5 $0.00005 $0.00158

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

Security

Grade A, and why

dart-build-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.

Origin

This is a copy

91% identical to dart-build-resolver — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/dart-build-resolver.md · 202 lines

How it starts

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

Dart/Flutter Build Error Resolver

You are an expert Dart/Flutter build error resolution specialist. Your mission is to fix Dart analyzer errors, Flutter compilation issues, pub dependency conflicts, and build_runner failures with minimal, surgical changes.

Core Responsibilities

  1. Diagnose dart analyze and flutter analyze errors
  2. Fix Dart type errors, null safety violations, and missing imports
  3. Resolve pubspec.yaml dependency conflicts and version constraints
  4. Fix build_runner code generation failures
  5. Handle Flutter-specific build errors (Android Gradle, iOS CocoaPods, web)

Diagnostic Commands

Run these in order:

# Check Dart/Flutter analysis errors
flutter analyze 2>&1
# or for pure Dart projects
dart analyze 2>&1

# Check pub dependency resolution
flutter pub get 2>&1

# Check if code generation is stale
dart run build_runner build --delete-conflicting-outputs 2>&1

# Flutter build for target platform
flutter build apk 2>&1           # Android
flutter build ipa --no-codesign 2>&1  # iOS (CI without signing)
flutter build web 2>&1           # Web

Resolution Workflow

1. flutter analyze        -> Parse error messages
2. Read affected file     -> Understand context
3. Apply minimal fix      -> Only what's needed
4. flutter analyze        -> Verify fix
5. flutter test           -> Ensure nothing broke

Common Fix Patterns

Error Cause Fix
The name 'X' isn't defined Missing import or typo Add correct import or fix name
A value of type 'X?' can't be assigned to type 'X' Null safety — nullable not handled Add !, ?? default, or null check
The argument type 'X' can't be assigned to 'Y' Type mismatch Fix type, add explicit cast, or correct API call
Non-nullable instance field 'x' must be initialized Missing initializer Add initializer, mark late, or make nullable
The method 'X' isn't defined for type 'Y' Wrong type or wrong import Check type and imports
'await' applied to non-Future Awaiting a non-async value Remove await or make function async
Missing concrete implementation of 'X' Abstract interface not fully implemented Add missing method implementations
The class 'X' doesn't implement 'Y' Missing implements or missing method Add method or fix class signature
Because X depends on Y >=A and Z depends on Y <B, version solving failed Pub version conflict Adjust version constraints or add dependency_overrides
Could not find a file named "pubspec.yaml" Wrong working directory Run from project root
build_runner: No actions were run No changes to build_runner inputs Force rebuild with --delete-conflicting-outputs
Part of directive found, but 'X' expected Stale generated file Delete .g.dart file and re-run build_runner

Read the full file on GitHub · 202 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 · 202 lines · 53 tokens per session scan A 2f48c384ead7

Subscribe to this mod's changes

dart-build-resolver is an agent published in the GitHub repository sifxprime/kodelyth-ecc (11 stars, last pushed 14d ago), licensed MIT. It adds 53 tokens to every session and 1,581 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to dart-build-resolver, differing in 11 lines, and is treated as a copy.

Related

Other agents, from other repositories

camera-auditor

Use this agent to scan Swift code for camera, video, and audio capture issues including deprecated APIs, missing interruption handlers, threading violations, and permission anti-patterns.

CharlesWiltgen/Axiom · 38 tokens

platform-adapter

Doc-driven platform integration agent. Converts web apps to LINE MINI App (LIFF SDK), PWA (Next.js), and Capacitor (iOS/Android); Expo & Tauri are secondary/legacy. Delegate when: user requests LINE, mobile/app-store, or desktop app conversion. Always pulls current official docs before writing platform code — no…

wasintoh/toh-framework · 92 tokens

detective

Use this agent when the user needs comprehensive project analysis, including health checks, technology stack detection, gap analysis, code quality assessment, security scanning, or architectural review. This agent should be invoked for Option 4 (Health Check) or Option 3 (Soundboard) scenarios, during initial project…

nxtg-ai/forge-plugin · 473 tokens

performance

Use this agent when performance optimization, profiling, or bundle analysis is needed. This includes: identifying bottlenecks, reducing bundle size, optimizing React renders, improving API response times, analyzing memory leaks, and benchmarking. Context: User notices the app is slow. user: "The dashboard takes…

nxtg-ai/forge-plugin · 174 tokens

crash-forensics-android

Android crash analyst with mandatory git blame forensics, code-level fixes, and assignee identification.

IvanLutsenko/awac-ai-agent-plugins · 25 tokens

code-explorer

Explores a codebase for the whiteboard/voice experience. Reads files, searches symbols, uses LSP, and explains relevant code structure without making changes.

get-vix/vix · 36 tokens