Skip to content
Back to skills

Gdd Route Opencode

ASecurity

Configure the OpenCode headless route for gdd's shared runner. Use for route configuration and troubleshooting, not for interactive sessions or the overall delivery protocol.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 20, 2026
ai-agentsshell

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add wxxb789/hoa --skill gdd-route-opencode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gdd Route Opencode?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gdd Route Opencode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wxxb789-gdd-route-opencode/badge)](https://www.skillsdirectory.com/skills/wxxb789-gdd-route-opencode)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gdd-route-opencode
description: >-
  Configure the OpenCode headless route for gdd's shared runner. Use for
  route configuration and troubleshooting, not for interactive sessions or
  the overall delivery protocol.
disable-model-invocation: true
metadata:
  revision: "1"
  areas: "software-development,work-management"
  targets: "runtime-agnostic"
  summary: "OpenCode standalone server route with session resume and model variant selection"
  summary_zh: "OpenCode 独立服务器路由,支持会话恢复和模型变体选择"
  kind: "mechanism"
---

# gdd-route-opencode

Requires [gdd](../gdd/SKILL.md) and the OpenCode CLI in PATH, or an executable
path in `OPENCODE_BIN`. Install both skills in the same skills root. Select
`GDD_AGENT=opencode` for gdd stages, or pass `--agent opencode` to
[gdd's runner](../gdd/scripts/agent_run.py).

Verified on OpenCode 2.3.0. The route runs
`run --standalone --format json --auto`, taking the prompt as the last argv
element. The private standalone server lives inside the agent process tree
so the runner can stop it with the run. Exit 0 also requires the last
`step_finish` reason to be `stop` with no error event.

- `--resume ID` maps to `-s ID`. A model maps to `-m MODEL`; if thinking is
  set, it becomes `-m MODEL#VARIANT`. Thinking without a model is rejected
  before a run directory is created. For `gdd.py stage`, these values come
  from `GDD_MODEL` and `GDD_THINKING` when set.
- On Windows, use a native executable for multiline prompts; the shared runner
  refuses newlines or shell metacharacters in argv passed to a batch shim.
- There is no native schema flag in this route: the stage prompts for JSON
  and the runner validates the result.

See [gdd transport](../gdd/references/transport.md) for detach, logs and
recovery. Check the stage result and run the repository's gates independently.

Files in this skill

  • SKILL.md1.8 KB
  • agents/openai.yaml43 B
  • scripts/route.py2.2 KB
  • scripts/tests/fixtures/opencode.fail.ndjson400 B
  • scripts/tests/fixtures/opencode.ok.ndjson2.2 KB
  • scripts/tests/test_opencode_route.py1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.