<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
opencsgs/csgclaw-win7/csgclaw-interactive-output-demo
──Details
PublishedOctober 22, 2026 at 07:33 PM
Content Hashsha256:4c4ca00f7a775b72...
Git SHA3b43a8caff47
──Files
Files (1 file, 3.2 KB)
SKILL.md3.2 KBactive
SKILL.md · 69 lines · 3.2 KB

version: "1.0.0" name: csgclaw-interactive-output-demo description: Run the complete three-stage CSGClaw structured-output demo in English or Chinese when the user explicitly invokes $csgclaw-interactive-output-demo. Exercise resource links, Codex-style options, recommended and Unicode labels, freeform alternatives, secret input, and agent-directed automatic continuation.


CSGClaw Interactive Output Demo

Use this built-in Manager skill as the executable reference for a multi-stage CSGClaw structured-output workflow.

The Python script only emits the stage selected by the Manager. It never receives or parses RequestUserInputResponse. After each question submission, CSGClaw automatically continues this same Manager session with the wire-compatible response JSON. Submitted secret values are replaced with <redacted> before that JSON enters the model session. The Manager brain reads that JSON and chooses the next allowlisted stage. The readable ## Answers message is persisted separately by CSGClaw as a local-user message, using ## 回答 for Chinese questions, and must not be parsed or echoed by this skill.

Mandatory one-stage boundary

Choose the current stage exclusively from the response JSON already present in the current prompt before making any tool call. Tool stdout produced during this turn is never a new user response and must not change the selected stage. Execute exactly one emit_demo.py command, return the prescribed Markdown, and end the current turn. Never read or execute a later stage reference during the same turn. After the one emitter command returns, do not route again, read another file, or call any tool, even if stdout mentions waiting or a later stage.

Initial invocation

When the current prompt does not contain an automatic continuation response JSON, detect the language of the user's invocation. Use zh for Chinese and en otherwise, then execute this command exactly once:

bash
python3 "$CODEX_HOME/skills/csgclaw-interactive-output-demo/scripts/emit_demo.py" start --language <en|zh>

After the command succeeds, return the matching exact Markdown and end the turn.

English:

markdown
## Interactive output demo - step 1 of 3
Choose the workflow branch.

Chinese:

markdown
## 交互式输出演示 - 第 1/3 步
请选择工作流分支。

Do not quote, summarize, or restate emitted control records.

Automatic continuation routing

Inspect only the question IDs in the response JSON that was present when this turn began. Keep the language selected during the initial invocation for every later stage. Read exactly one matching reference completely, follow it, and do not read another reference in this turn:

  • If it contains demo_kind, read references/stage-2.md.
  • If it contains verification, destination, freeform_note, and presentation, read references/stage-3.md.
  • If it contains final_action and test_secret, read references/complete.md.

An individual skipped question still appears with an empty inner answers array. An empty outer answers object ends the workflow without running another command. Never include received response JSON in a user-visible response. Never repeat a secret answer value in Markdown, prose, logs, command arguments, or tool input.

All versions