원클릭으로
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: