brianleach

Fireworks Delegate — AI skill for Claude Code

AI community

Claude Code skill that delegates implementation tasks to OSS models on Fireworks AI via OpenCode.

How to install Fireworks Delegate

This entry records only its repository, not the path inside it, so there is no exact command to give. Open brianleach/fireworks-delegate and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Fireworks Delegate does

Claude Code skill that delegates implementation tasks to OSS models on Fireworks AI via OpenCode. Claude plans and reviews, Kimi builds.

Alternatives in AI

  • EchoBird — One-click install + model switch:Claude Code,Codex CLI (OpenAI), Grok Build (xAI), DeepSeek Harness, Kimi Code 3.1k ★
  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • Claude Delegator — Delegate tasks to Codex GPT 5.2 directly from within Claude Code 909 ★

README

fireworks-delegate

A Claude Code skill that lets Claude act as a pure orchestrator: it plans and decomposes work, then delegates implementation tasks to OSS models on Fireworks AI, instead of spawning Claude subagents. Each delegated task runs in a headless Claude Code session (`claude -p`) pointed at Fireworks' [Anthropic compatibility endpoint](https://docs.fireworks.ai/tools-sdks/anthropic-compatibility), inside an isolated git worktree. Claude reviews the diff and merges or rejects it.

The point: implementation tokens are billed to Fireworks serverless pricing (default model is the Kimi K3 US router, `accounts/fireworks/routers/kimi-k3-us`), while your Anthropic subscription only pays for planning and review. No second harness to install: the delegate is the same `claude` CLI you already run, and it picks up the target repo's CLAUDE.md, hooks, and skills natively.

How it works

  1. Claude runs scripts/check-env.sh to verify the toolchain.
  2. Claude writes self-contained task specs to .fw-tasks/.
  3. scripts/delegate.sh creates a git worktree under .fw-worktrees/, runs claude -p there with the spec as the prompt, captures the session transcript to .fw-worktrees/.log, and prints a diff stat. With --pr it also pushes the branch and opens a draft GitHub PR whose body carries the task spec and the log tail.
  4. Claude reviews the diff and either merges it with scripts/collect.sh --merge, sends the task back for one revision, or takes it over. Claude posts its review to the PR and only auto-merges small, low-risk diffs; larger diffs wait for the human to decide on the PR.

Independent tasks run in parallel worktrees.

The Fireworks connection is scoped to each delegate run: `scripts/fw-claude.sh` sets `ANTHROPIC_BASE_URL`, `ANTHROPIC_AUTH_TOKEN`, and the model slots in the child process environment only. Your interactive Claude Code sessions and global `~/.claude/settings.json` are never touched, s