omp-all-in-one
OMP plugin. Prompt Uplift expands every user prompt into a nested XML specification before the coding agent runs — the same density as a production build prompt (role, context, constraints, named feature sections, acceptance, out of scope).
Default on. Each rewrite is echoed in the transcript (root, source, full XML) so you can audit what the agent received. Prefix raw: to send a prompt unchanged. /uplift off disables.
Install
omp plugin link /root/src/repos/plugin
Confirm with omp plugin list — you should see ● [email protected].
Extension modules load at session start. /reload-plugins does not pick up omp.extensions. Quit omp and start a new session.
TUI widgets (LSP section, uplift chrome) load the same way.
One-off without a permanent install:
omp -e /root/src/repos/plugin
Local marketplace:
omp plugin marketplace add /root/src/repos/plugin
omp plugin install all-in-one@aio
Claude Code plugin
The same pipeline runs inside Claude Code as a plugin, as a two-stage pipeline. A UserPromptSubmit hook fires at the start of every prompt:
Stage 1 — thinking on Grok 4.6 Ultra (grok-4.6 @ xhigh reasoning). The hook uses the SuperGrok Heavy OAuth session that grok login stores in ~/.grok/auth.json; the plugin calls the Grok CLI chat proxy /responses endpoint directly with that session — no API key, no grok process per call. It produces:
- Prompt Uplift — the request rewritten as the nested XML spec.
- Graph of Thought (4-8 nodes) and Chain of Thought per node in dependency order, independent nodes in parallel. The graph carries a
WORKFLOW of parallel waves (file-disjoint units per wave) and the synthesize node's conclusion names the waves plus the verification commands.
- HITL clarifications — the questions a senior engineer would ask before starting, injected as
<CLARIFICATIONS> into the spec (see below).
- Issues — a Tissue parent issue plus one sub-issue per node under
issues/, synced to the ktui board when ktui is on PATH.
Stage 2 — coding on the session model. The spec, graph, workflow, clarifications, and issue tree go back to Claude as hook context, framed as your own elaborated request. Claude Code's own model (claude-fable-5-1 via its built-in PKCE login) is untouched: it plans from the graph, dispatches the wave units as parallel Task subagents, and runs the named verification. A Stop hook moves the cards to done when the turn ends.
Claude Code 2.1.x hooks cannot replace the prompt text itself, so the XML rides alongside your message as additionalContext; the ORIGINAL element always holds your verbatim words.
Fail visibly, never downgrade. When Grok is not logged in or the session has expired the hook prints Prompt Uplift skipped · Grok 4.6 login required (run grok login) and the prompt passes through unchanged. grok.fallbackToClaude: true opts into the old behaviour (thinking on a headless claude -p child, summary tagged engine: claude (grok fallback)).
Requires bun, the claude CLI, and a logged-in grok CLI (grok login) on PATH.
# try it for one session
claude --plugin-dir /root/src/repos/plugin
# or install from the local marketplace
claude plugin marketplace add /root/src/repos/plugin
claude plugin install all-in-one@aio
# or the reversible full setup (settings env + marketplace + plugin + proxy unit)
bun scripts/claude-setup.ts apply
Commands: /all-in-one:uplift on|off|skip|status|last, /all-in-one:uplift think on|off|last, /all-in-one:uplift hitl on|off|last|status, /all-in-one:grok status|engine grok|engine claude|proxy status, /all-in-one:issues list|status|sync|on|off.
Prefix a prompt with raw: to send it untouched. Slash commands (including Claude Code <command-name> expansions) and trivial replies (ok, lgtm, ...) are never uplifted: the hook exits with no JSON so UserPromptExpansion and Skill dispatch still run. After an uplifted turn, those commands stay invocable by you and by Claude.
Config is read from ~/.omp/agent/all-in-one.json, then ~/.claude/all-in-one.json, then <project>/.claude/all-in-one.json (later wins). think.engine picks the Stage 1 engine; grok configures it and the proxy; claude controls the fallback child calls; hitl the clarifier: