ワンクリックで
code-mode
Runs lightweight tmux-backed REPL workflows so agents can execute code and engineer context without bloating prompt history.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Runs lightweight tmux-backed REPL workflows so agents can execute code and engineer context without bloating prompt history.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Runs core mu operator workflows for bounded investigation, CLI-first state operations, and session handoffs. Use when general mu execution or state-management guidance is needed.
Meta-skill for core mu operating primitives. Routes to mu, programmable-ui, memory, tmux, and code-mode based on task shape.
Produces clear, argument-driven technical prose. Use when drafting or reviewing systems papers, design docs, READMEs, PR descriptions, error messages, API references, or other technical communication.
Builds and debugs mu_ui UiDocs with schema-valid payloads, interaction wiring, and status/snapshot verification.
Runs cross-store memory retrieval and index maintenance workflows with bounded filters and timeline anchors. Use when querying prior context or repairing memory index health.
Defines compositional control-flow policies for orchestration DAGs (for example review-gated retry loops) using protocol-preserving transitions.
| name | code-mode |
| description | Runs lightweight tmux-backed REPL workflows so agents can execute code and engineer context without bloating prompt history. |
Use this skill when a task is better solved by iterative code execution in a live REPL than by stuffing intermediate data into chat context.
The core idea is intentionally simple: tmux provides a persistent runtime shell,
and the agent drives it with bash.
Use persistent runtime state, not prompt state
One session per task scope
Bounded command passes
On-demand discovery
help(...), dir(...),
.help, etc.) instead of loading everything up front.No extra harness required
tmux + bash + REPL.Before mutating tmux session state, load tmux and follow its canonical
session lifecycle and bounded pass protocol.
tmux as source-of-truth for create/reuse, capture, fan-out, and teardown.code-mode skill defines REPL/context-engineering behavior only.Follow the Bounded execution protocol in the tmux skill to create
sessions, run commands with a completion marker, and capture output.
Example session creation for a REPL:
session="mu-code-py"
tmux has-session -t "$session" 2>/dev/null || tmux new-session -d -s "$session" "python3 -q"
Then send your REPL commands and the marker, according to the tmux skill.
Teardown the session when finished.
Use the runtime to compress context before speaking:
summary.json, notes.md, results.csv).Practical rules:
Python:
tmux new-session -d -s mu-code-py "python3 -q"
Node:
tmux new-session -d -s mu-code-node "node"
SQLite:
tmux new-session -d -s mu-code-sql "sqlite3 data.db"
Shell-only REPL (for pipelines/tools):
tmux new-session -d -s mu-code-sh "bash --noprofile --norc -i"
planning when a plan step needs exploratory coding.protocol/execution by assigning one tmux session per worker.control-flow for explicit retry/termination policy around code passes.heartbeats/crons when bounded code passes should run on schedule.Exploratory data pass
Multi-pass debugging
Language swap with same control pattern