/dark-factory:ralph ISSUE-OR-PROMPT [--max-iterations N] [--completion-promise TEXT]from Dark Factory
Start an in-session Dark Factory Ralph loop
Ships in Dark Factory. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Start a workspace-local Ralph loop from $ARGUMENTS.
python3 "${CLAUDE_PLUGIN_ROOT}/hooks/start-ralph.py" "$ARGUMENTS"
--max-iterations N (default 0, unlimited) and
--completion-promise TEXT (default null). Reject a missing prompt,
unknown options, or a max that is not a non-negative integer.#N, bare issue number, or GitHub
issue URL, inspect .dark-factory/controller.json. When its current issue
has the same number and .dark-factory/controller.lock is actively held
(verify with a non-blocking fcntl.flock attempt), do not create Ralph
state. Run
"$CLAUDE_PLUGIN_ROOT/bin/dark-factory" monitor --workspace "$PWD" and tell
the user to monitor or stop the detached controller before starting Ralph..dark-factory/ralph-session.json with:{
"prompt": "<the parsed prompt>",
"iteration": 1,
"max_iterations": 0,
"completion_promise": null,
"session_id": "<CLAUDE_CODE_SESSION_ID when available>"
}
Preserve the parsed max and promise values in place of the defaults. Then work
on the prompt. Output <promise>TEXT</promise> only when the configured
completion promise is completely true.
7-day visitors to each command page
6 commands in this plugin
/cancelCancel RalphCancel the active Dark Factory Ralph loop/dark-factoryDark FactoryStart the detached Dark Factory controller/dark-factory-dry-runDark Factory Dry RunPreview the next Dark Factory delivery without writes/dark-factory-monitorDark Factory MonitorShow the durable Dark Factory controller state/dark-factory-stopDark Factory StopGracefully stop the Dark Factory controller2 plugins ship this exact command · first indexed Jul 21, 2026
npx claudepluginhub chervonnyyanton/dark-factory-plugin --plugin dark-factoryOther plugins' commands for the same job