بنقرة واحدة
ikigai-ctl
Control socket client for programmatic interaction with running ikigai
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Control socket client for programmatic interaction with running ikigai
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Automated quality check loops with escalation and fix sub-agents
JSON-based end-to-end test format, runner, and mock provider
Jujutsu (jj) skill for the ikigai project
How to write effective Ralph goals for Ikigai-driven workflows
Create and manage Ralph goals from Ikigai using the real ralph-pipeline scripts
Create repositories using the real ralph-pipeline repo-create script
| name | ikigai-ctl |
| description | Control socket client for programmatic interaction with running ikigai |
Command-line client for sending requests to a running ikigai instance via its Unix domain control socket. Useful for agents, test harnesses, and external tooling that need to inspect ikigai state programmatically.
ikigai-ctl <message-type> # Auto-discover socket
ikigai-ctl <message-type> --socket PATH # Explicit socket path
When --socket is not specified, the script looks in $IKIGAI_RUNTIME_DIR for socket files matching ikigai-*.sock:
--socketSocket path convention: $IKIGAI_RUNTIME_DIR/ikigai-<pid>.sock
| Context | IKIGAI_RUNTIME_DIR |
|---|---|
| Development (.envrc) | $PWD/run |
| Production | ${XDG_RUNTIME_DIR}/ikigai |
Captures exactly what is on screen at the moment of the request.
ikigai-ctl read_framebuffer
Response fields:
type — "framebuffer"rows, cols — screen dimensionscursor — {row, col, visible}lines — array of {row, spans} where each span has text and styleStyle attributes (only present when set): fg (0-255), bg (0-255), bold, dim, reverse.
Every screen row is represented. Empty rows have a single span with empty text.
Injects keystrokes into the running ikigai instance as if typed by the user.
ikigai-ctl send_keys "hello world\r"
ikigai-ctl send_keys "test\x1b" # Supports C-style escape sequences
The keys argument supports C-style escape sequences:
\r — carriage return (Enter)\n — newline\x1b or \e — escape\t — tabResponse fields:
type — "ok" on successerror — error message on failureAdditional request types planned (same request/response pattern):
read_scrollback — scrollback buffer contentsread_input_buffer — current input lineread_completion — active completion statescripts/bin/ikigai-ctl — client scriptapps/ikigai/control_socket.c — server-side socket lifecycleapps/ikigai/serialize_framebuffer.c — framebuffer JSON serializerproject/control-socket.md — full protocol specification