Heyvhuang/copybook-skills / standalone/coordinator/skills/coordinator
coordinator
FlaggedCoordinate an ongoing software delivery run when the user assigns this session the coordinator role or asks it to manage worker handoffs, gates, release approvals and progress. Use when starting, supervising or resuming that run, including a run with one active lane. Lanes run as Herdr workers (parallel-goal-fleet) on Claude or Codex, from whichever harness coordinates; T3 Code child tasks are the fallback. Do not start a coordinator run for discussion, a read-only review of the workflow, a standalone quick second opinion or an ordinary single-session edit.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.8 KB |
| references/example-run.md | markdown | 3.4 KB |
| references/herdr.md | markdown | 7.7 KB |
| references/lessons.md | markdown | 6.9 KB |
| references/models.md | markdown | 4.9 KB |
| references/pipeline.md | markdown | 6.1 KB |
| references/situations.md | markdown | 3.4 KB |
| references/t3.md | markdown | 4.9 KB |
| scripts/gemini.mjsexecutable | script | 2.3 KB |
| scripts/heavy.shexecutable | script | 829 B |
| scripts/status.shexecutable | script | 2.0 KB |
| scripts/watch-ready.shexecutable | script | 2.0 KB |
| templates/lane-brief.md | markdown | 1.5 KB |
| templates/release-packet.md | markdown | 1.4 KB |
| templates/run-record.md | markdown | 1.2 KB |
| templates/ship.md | markdown | 1.1 KB |
scripts/gemini.mjs
View on GitHub#!/usr/bin/env node
// Ask Gemini (google/gemini-4-argon via the Vercel AI Gateway) a question, optionally with images.
// Usage: node gemini.mjs <prompt.md> <out.md> [image.png ...]
// Needs AI_GATEWAY_API_KEY in the environment. Paid per call. Errors print a short status only,
// never the key, the request or the raw response.
import { readFileSync, writeFileSync } from "node:fs";
import { extname } from "node:path";
const fail = (msg, code = 1) => { console.error(`gemini: ${msg}`); process.exit(code); };
const [, , promptPath, outPath, ...images] = process.argv;
if (!promptPath || !outPath) fail("usage: node gemini.mjs <prompt.md> <out.md> [images...]", 2);
const key = process.env.AI_GATEWAY_API_KEY;
if (!key) fail("AI_GATEWAY_API_KEY is not set", 2);
const mime = (p) => ({ ".png": "image/png", ".jpg": "image/jpeg", ".jpeg": "image/jpeg", ".webp": "image/webp" })[extname(p).toLowerCase()];
let content;
try {
content = [{ type: "text", text: readFileSync(promptPath, "utf8") }];
for (const img of images) {
const type = mime(img);
if (!type) { console.error(`gemini: skipping ${img} (not png/jpg/webp)`); continue; }
content.push({ type: "image_url", image_url: { url: `data:${type};base64,${readFileSync(img).toString("base64")}` } });
}
} catch { fail("could not read the prompt or an image"); }
const started = Date.now();
let res, body;
try {
res = await fetch("https://ai-gateway.vercel.sh/v1/chat/completions", {
method: "POST",
headers: { Authorization: `Bearer ${key}`, "Content-Type": "application/json" },
body: JSON.stringify({ model: process.env.GEMINI_MODEL || "google/gemini-4-argon", messages: [{ role: "user", content }] }),
});
body = await res.json().catch(() => null);
} catch { fail("request failed (network)"); }
if (!res.ok) fail(`gateway returned HTTP ${res.status}${res.status === 401 || res.status === 403 ? " (check the key)" : ""}`);
const text = body?.choices?.[0]?.message?.content;
if (typeof text !== "string" || !text.trim()) fail("empty or unexpected response; nothing written");
try { writeFileSync(outPath, text); } catch { fail("could not write the output file"); }
const u = body.usage ?? {};
const n = (v) => (Number.isFinite(v) ? v : "?");
console.log(`ok ${outPath} | prompt ${n(u.prompt_tokens)} completion ${n(u.completion_tokens)} cost ${n(u.cost)} | ${((Date.now() - started) / 1000).toFixed(1)} s`);
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |