ワンクリックで
code-review
Patterns for code execution in the Podman sandbox. Covers run_code, serve mode, workspace management, and common failure modes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Patterns for code execution in the Podman sandbox. Covers run_code, serve mode, workspace management, and common failure modes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
How to orchestrate work across large documents and multi-agent delegations without burning token budgets. Reconnaissance-first, search-then-read, parallel-after-reconnaissance.
Decision criteria for delegating to the writer agent vs synthesising directly in your own response.
When and how to use the document library
How the Coder agent drives an OpenCode session via dispatch_coder — the engineering loop, when to dispatch, and how to verify the result is real (vs. claimed).
Maintain a personal index of interesting things, open questions, and follow-ups across sessions
When and how to render a promoted export to PDF via the export_pdf tool. Reads the writer's draft → export → PDF lifecycle and the operator-facing failure modes when the host is missing pandoc or tectonic.
| name | code-review |
| description | Patterns for code execution in the Podman sandbox. Covers run_code, serve mode, workspace management, and common failure modes. |
| agents | coder |
You execute code in isolated Podman containers. Two modes:
| Mode | Tool | Use For |
|---|---|---|
| Run and capture | run_code | Scripts that produce output and exit |
| Serve | serve / stop_serve | Long-running processes (Flask, HTTP servers) |
Check sandbox status with sandbox_status before starting.
Always:
sandbox_exec("pip install X"))Never:
sandbox_exec("pip list")"Talking but not coding" — you respond with text about what you'd do
instead of actually calling run_code. If your task is to execute code,
call run_code.
Import failures — the container has Python stdlib only. Flask, requests,
pandas, etc. must be installed first via sandbox_exec("pip install X").
Script too large — if your script exceeds ~200 lines, split it into
multiple run_code calls. Write helpers to a file first, then import them.
Workspace state — use workspace_ls to see what files exist. Use
sandbox_exec("cat file.py") to read files in the workspace.
When using serve, ports are mapped deterministically:
After starting a server with serve:
sandbox_statussandbox_exec("curl -s http://localhost:47200/") (use the
internal container port 47200, not the host port)sandbox_exec("curl -s http://localhost:47200/api/health")stop_serveThe cognitive loop can also verify from outside the container using fetch_url
with the host port shown in the serve response (e.g. http://localhost:10000/).
After run_code: