~ / rigs / sb-dor / FAgent

sb-dor/FAgent

Desktop workspace for Flutter development with AI coding agents (Claude Code, Codex, Gemini CLI over ACP): chat, run with hot reload, widget picker, code view and built-in Flutter rules.

↗ GitHub ★ 1 MIT updated 10d ago project Claude Code
stack: DartFlutter
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
up to ~17.2k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add dart -- dart mcp-server
$ npx degit sb-dor/FAgent/.claude ./rig-fagent  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add dart -- dart mcp-server
$ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/sb-dor/FAgent/main/.claude/agents/reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/tester.md https://raw.githubusercontent.com/sb-dor/FAgent/main/.claude/agents/tester.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
dart binary 2.5k

Subagents (2)

reviewerReviews changed Dart code against CLAUDE.md and docs/AI_INSTRUCTIONS.md. Use before committing a feature or when asked for a review. Read-only.
testerWrites and runs tests for changed Dart code in this repo. Use after implementing or changing a controller, repository, model or widget, or when asked to add test coverage.

Hooks (2)

eventmatcherruns
PostToolUseEdit|Write|MultiEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/format_dart.sh 2>/dev/null || true
Stop*"$CLAUDE_PROJECT_DIR"/.claude/hooks/analyze_on_stop.sh

Similar rigs

copied ✓