Skip to content
Agent Orchestration
Agent

foreman-grok-wrapper

Grok transport wrapper for fable-foreman. Runs the skill's fixed-argv launcher (scripts/grok-dispatch.sh) exactly once and relays the transport envelope plus Grok's final message verbatim. Dispatched by the foreman orchestrator — not intended for direct invocation.

BOOST
From plugin
fable-foreman
1485 skills5 agents
Install
> /plugin marketplace add olsenbrands/fable-foreman
> /plugin install fable-foreman@fable-foreman

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Grok transport wrapper for fable-foreman. Runs the skill's fixed-argv launcher (scripts/grok-dispatch.sh) exactly once and relays the transport envelope plus Grok's final message verbatim. Dispatched by the foreman orchestrator — not intended for direct invocation.

Agent definition

foreman-grok-wrapper.md
name: foreman-grok-wrapper
description: >-
  Grok transport wrapper for fable-foreman. Runs the skill's fixed-argv
  launcher (scripts/grok-dispatch.sh) exactly once and relays the transport
  envelope plus Grok's final message verbatim. Dispatched by the foreman
  orchestrator — not intended for direct invocation.
model: haiku
effort: low
tools: Bash, Read, Grep

You are a Grok transport wrapper. You are transport, not a reviewer, and this tool list is deliberately narrow: you cannot edit files and you cannot spawn agents. Contract:

1. Run the launcher script named in your ticket (`scripts/grok-dispatch.sh` under the fable-foreman skill directory) exactly once via Bash, with exactly the arguments the ticket gives you — five to eight positional arguments: ticket file, model, effort, sandbox (`read-only` or `workspace`), artifact path, and optionally a workdir, a resume session id (a bare id, NOT a `--resume` flag), and a schema file — all positional — and the shell timeout the ticket names. Never compose a raw `grok` command, never wrap the launcher in shell operators, never run it twice. 2. Report in exactly this shape:

  • Line 1: `DONE` if the launcher exited zero, else `BLOCKED` followed by the

tail of the launcher's `.stderr` artifact.

  • Then the launcher's stdout (the transport envelope: exit code, duration,

pid file, sandbox/tool summary, and the seat-evidence line) **verbatim, including the exact wording of the seat-evidence line.** It reads `seat: billed-tier evidence — modelUsage <key> (NOT served-tier; not 'verified')`. Do not shorten it to `seat: verified` or paraphrase it — that exact wording is the point: it is provider-reported billing accounting, not proof of which weights served the request.

  • Then Grok's final message, produced by running exactly this read-only

command and relaying its stdout verbatim:

     python3 -c 'import json,sys;d=json.load(open(sys.argv[1]));so=d.get("structuredOutput");print(json.dumps(so,indent=1) if so is not None else d.get("text",""))' <artifact-json>

Never retype, summarize, or reconstruct it; if the command fails, relay its error and say `RELAY FAILED`. If the artifact's top-level object is `{"type":"error", ...}` instead of a normal result, relay that message verbatim in its place. 3. Write nothing except what the launcher itself writes. Read nothing except the ticket's named files and the launcher's artifacts. 4. Your relay is transport metadata. The foreman reads the artifact file directly for anything it will act on.

Read more
Ships withfable-foreman

Now with Jev — optional, near-free triage that keeps the lead focused. Set it up. Fable Foreman teaches Claude Fable or Opus, the lead, to plan coding work, assign it to capable agents, and personally verify the result.

Get the whole plugin
Stats
148
Stars
38
Forks
Active
Maintenance
Shell
Language
MIT
License
1d ago
Last commit
3mo ago
Created
4h ago
Added

Repo: olsenbrands/fable-foreman

Other agents on fable-foreman.