agentleFS
wxxb789wxxb789/hoa/skills/engineering/gdd-route-omp/SKILL.md

gdd-route-omp

Skill2 starsChanged 11 days agoMITView on GitHub

Launch a detached oh-my-pi/OMP print-mode job so omp -p survives the dispatching session. For long headless tasks or a turn killed midway, set a timeout, poll runner status, inspect the NDJSON event log and resume from the saved session ID. Not for tmux-agent-control.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run long OMP print-mode jobs through GDD's shared detached runner.

    line 18
  2. Very specific:

    Only if a script command fails (for example uv is not found), read the runner troubleshooting reference.

    line 41
  3. Very specific:

    Use runner list or status to distinguish a live run from a stale one and recover its recorded session_id.

    line 59
  4. Distinctive:

    Do not use implicit last-session selection or TTY-only restoration for headless recovery.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

gdd-route-omp

Run long OMP print-mode jobs through GDD's shared detached runner. Install both skills. For detachment, timeouts, cleanup, state and artifact formats, see GDD transport. Use its runner, not a bare background job.

Dispatch

  • GDD selects OMP by default when no route is configured; pass --agent omp for standalone dispatch. OMP_BIN overrides the executable on PATH. Use a native executable on Windows for multiline prompts. Set an explicit model and compatible thinking effort when they must be reproducible. The route forwards --profile, model, thinking, and the explicit resume ID; the prompt is last. Results use prompted JSON, not a native schema flag.
  • The adapter selects print mode, JSON events and non-interactive approval (yolo). Launch only with operator authority, an isolated worktree, bounded permissions and independent gates. Agent output is not authorization to publish or alter shared state.
  • The optional POSIX scripts/omp-run.sh sets GDD_AGENT=omp and forwards to the shared runner; OMP_RUN_SH can override it. The legacy runner --backend is ignored with a warning; it does not select a supervisor.
uv run ../gdd/scripts/agent_run.py start --agent omp --name SLUG --prompt FILE --cwd DIR --max-time DURATION
uv run ../gdd/scripts/agent_run.py status SLUG

Only if a script command fails (for example uv is not found), read the runner troubleshooting reference.

Observe and accept

  1. Poll runner status at turn boundaries; use bounded tail for event progress, not raw NDJSON or process-name matching. Budget time for all child work; serialize heavy gates on constrained hosts.
  2. Require the last assistant message_end.stopReason to be present and not error, aborted, or length. Read answer.md and the result; exit zero alone cannot prove completion, especially for empty, truncated or still-waiting answers. Require actual gate exit codes; a background verifier may die at runner cleanup. Re-run the repo gate yourself.
  3. On ECONNREFUSED, check whether operator configuration or logs confirm an endpoint restart. If confirmed, retry once after recovery; if it fails again, report or select an authorized fallback rather than retrying indefinitely. Do not infer a model defect.

Recover

Use runner list or status to distinguish a live run from a stale one and recover its recorded session_id. Start a new named runner invocation with --agent omp and --resume <id>; the prompt should state what remains in the same interrupted stage. Do not use implicit last-session selection or TTY-only restoration for headless recovery. For interactive steering, use the installed CLI's interactive resume on that ID only after the headless process has stopped. Never attach two writers to one session.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.