[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2GRVG805A3Z5871Z51PYZ":3,"skill-same:01M6C2GRVG805A3Z5871Z51PYZ":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":65,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":82},"01M6C2GRVG805A3Z5871Z51PYZ","agent-loop-ext",null,"Crash-resilient external agent loop with state persistence and CI\u002FCD integration","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fagent-loop-ext\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"agent loop","loop","agent loop ext","ralph","CI\u002FCD","infer","efficiency","max","provider","auto","max-iterations","write","read","branch","openclaw","haiku","hermes","Bash","ci","persistence","integration","state","code","commit","automation","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: agent-loop-ext\nlegacyName: ralph-external\nplatforms: [all]\ndescription: Crash-resilient external agent loop with state persistence and CI\u002FCD integration\ncommandHint:\n  argumentHint: \"\\\"\u003Cobjective>\\\" [--completion \\\"\u003Ccriteria>\\\"] [--max-iterations N] [--timeout M] [--provider \u003Cp>] [--no-commit] [--branch \u003Cname>] [--quiet] [--auto-criteria | --no-infer-completion]\"\n  allowedTools: Bash, Read, Write\n  model: haiku\n  category: automation\n  orchestration: true\n  platforms: [claude-code, hermes, openclaw]\n  modelRole: efficiency\n  modelTier: economy\n---\n\n\u003C!-- AIWG-SKILL-CALLOUT -->\n> **Skill access pattern (post-kernel-pivot, 2026.5+)**\n>\n> Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `\u002Fskill-name` by the platform. Reach them via:\n>\n> ```bash\n> aiwg discover \"\u003Ccapability>\"\n> aiwg show skill \u003Cname> --body\n> ```\n>\n> Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fskill-discovery.md).\n\n\n# Al External\n\n**You are the Al External Orchestrator** — launching and managing crash-resilient iterative loops that run outside the AI session for long-running tasks.\n\n## HITL authorization checkpoints\n\nBefore any confirmation below, read and apply\n[agent-loop authorization checkpoints](..\u002F..\u002Fdocs\u002Fhitl-authorization.md).\nCall `aiwg config authorization check --action-file \"$ACTION_FILE\" --target \"$TARGET_REPO\"`\nfor host-classified effects. Only `auto-authorized` with a signed receipt skips\nthat workflow prompt; retain existing prompts\u002Frefusals otherwise. Platform\nprompts are never bypassed. Limits, regression and threat overrides still require review.\n\n## Core Difference from `ralph`\n\n`ralph` runs the loop inside the current AI session. `agent-loop-ext` (formerly `ralph-external`) launches the loop as an external process via `tools\u002Fralph-external\u002Frun.sh`, persisting all state to `.aiwg\u002Fralph-external\u002F`. If the session dies mid-loop, the loop survives and can be reattached or resumed.\n\nUse `agent-loop-ext` when:\n- The task will take longer than a single session\n- You need CI\u002FCD pipeline integration\n- You want crash recovery guarantees\n- You need to run multiple loops in parallel\n\n## Natural Language Triggers\n\nUsers may say:\n- \"agent-loop-ext\"\n- \"external agent loop\"\n- \"out-of-session loop\"\n- \"persistent agent loop\"\n- \"ralph external\"\n- \"external ralph\"\n- \"crash-resilient loop\"\n- \"persistent ralph\"\n- \"long-running ralph task\"\n- \"ralph with crash recovery\"\n- \"start background ralph\"\n\n## Parameters\n\n### Objective (required)\nThe task the loop should accomplish. Passed as the first positional argument.\n\n### --completion (optional — inferred when omitted)\nSuccess criteria as a verifiable command. The loop exits when this command returns exit code 0.\n\n**Good examples**:\n- `--completion \"npm test passes with 0 failures\"`\n- `--completion \"npx tsc --noEmit exits with code 0\"`\n- `--completion \"coverage report shows >80%\"`\n\n**When omitted**: the launcher invokes the `infer-completion-criteria` skill before the external loop starts. The skill derives a measurable criterion from project state (CLAUDE.md \u002F AGENTS.md \u002F AIWG.md, package manifests, CI configuration, `.aiwg\u002F` artifacts) and emits a structured proposal with rationale. The proposal is written to `.aiwg\u002Fralph-external\u002F\u003Crun-id>\u002Finferred-completion.yaml` and used as the loop's gate.\n\nBecause `agent-loop-ext` runs externally (potentially headless \u002F in CI), the confirmation flow is:\n- Interactive session (TTY attached): show proposal, accept `Y \u002F n \u002F edit` like the in-session `ralph` skill\n- Non-interactive \u002F `--auto-criteria` \u002F CI environment: use the inferred criterion if confidence is `high`, otherwise fail fast and print the proposal as a diagnostic so the user can re-launch with `--completion` explicitly\n\nPass `--no-infer-completion` to require explicit `--completion` and fail before launch if missing. See `@$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Finfer-completion-criteria\u002FSKILL.md`.\n\n### --max-iterations (default: 10)\nMaximum iterations before the loop halts and saves state for manual review.\n\n### --timeout (default: 60 minutes)\nMaximum wall-clock time. Loop checkpoints state before exiting so it can be resumed.\n\n### --provider (default: claude)\nAI provider to use for loop iterations. Supported: `claude`, `codex`, `factory`, `opencode`.\n\n### --no-commit\nSkip automatic git commits after each iteration.\n\n### --branch (optional)\nCreate and work on a dedicated feature branch. The branch is created before iteration 1.\n\n### --quiet\nSuppress verbose progress output. Completion banner is always shown.\n\n## Behavior\n\nWhen triggered:\n\n1. **Resolve completion criteria**:\n   - If `--completion` is provided → use it directly\n   - Else if `--no-infer-completion` is set → fail fast before launch with a helpful error\n   - Else → invoke `infer-completion-criteria` skill, persist proposal to `.aiwg\u002Fralph-external\u002F\u003Crun-id>\u002Finferred-completion.yaml`, confirm or auto-adopt per session-interactivity rules above\n2. Validate the resolved criterion is verifiable (can be checked via command)\n3. Check for an existing `.aiwg\u002Fralph-external\u002F` workspace; create if absent\n3. Generate a unique `loop-id` (8-character hex) and create the loop state file at `.aiwg\u002Fralph-external\u002Floops\u002F\u003Cloop-id>.json`\n4. Write the initial state: `{ objective, completionCriteria, maxIterations, timeout, provider, status: \"pending\", iteration: 0 }`\n5. If `--branch` is specified, create the git branch now\n6. Invoke `tools\u002Fralph-external\u002Frun.sh` with all parsed flags, passing the loop-id\n7. The external process owns execution from this point. Print the loop-id and attach info:\n\n```\nAl External Loop Started\n\nLoop ID: abc123\nObjective: {objective}\nCompletion: {completion}\nMax iterations: {max} | Timeout: {timeout}m | Provider: {provider}\n\nLoop is running externally. Follow progress:\n  \u002Fralph-attach --loop-id abc123\n\nCheck status:\n  \u002Fralph-status\n\nState: .aiwg\u002Fralph-external\u002Floops\u002Fabc123.json\nLog:   .aiwg\u002Fralph-external\u002Flogs\u002Fabc123.log\n```\n\n8. If `--quiet` is NOT set, automatically attach to the loop's output stream (equivalent to running `\u002Fralph-attach --loop-id \u003Cid>`)\n\n## State Persistence and Crash Recovery\n\nState is written to disk before each external process action. If the process crashes:\n\n- The loop state file retains the last known iteration and learnings\n- On restart, `tools\u002Fralph-external\u002Frun.sh` detects the incomplete state and resumes from the last checkpoint\n- Learnings from completed iterations are injected into the next iteration's prompt via the memory layer\n\n**State file schema** (`.aiwg\u002Fralph-external\u002Floops\u002F\u003Cid>.json`):\n```json\n{\n  \"loopId\": \"abc123\",\n  \"objective\": \"Fix all auth tests\",\n  \"completionCriteria\": \"npm test passes with 0 failures\",\n  \"maxIterations\": 10,\n  \"timeout\": 60,\n  \"provider\": \"claude\",\n  \"status\": \"running\",\n  \"iteration\": 3,\n  \"startedAt\": \"2026-04-01T10:30:00Z\",\n  \"lastCheckpoint\": \"2026-04-01T10:38:42Z\",\n  \"logFile\": \".aiwg\u002Fralph-external\u002Flogs\u002Fabc123.log\",\n  \"branch\": null,\n  \"learnings\": [\"auth mocks must be initialized before describe block\"]\n}\n```\n\n## CI\u002FCD Integration\n\nFor use in pipelines, pass `--quiet` and read the exit code:\n- `0` — loop completed successfully (completion criteria verified)\n- `1` — loop failed (max iterations or timeout reached)\n- `2` — configuration error (bad arguments)\n\n**GitHub Actions example**:\n```yaml\n- name: Auto-fix tests\n  run: |\n    aiwg ralph-external \"Fix all failing unit tests\" \\\n      --completion \"npm test passes\" \\\n      --max-iterations 5 \\\n      --timeout 30 \\\n      --quiet\n```\n\n## Error Handling\n\n**Missing --completion**:\n```\nError: --completion is required for \u002Fralph-external.\n\nProvide a verifiable success criterion:\n  \u002Fralph-external \"Fix tests\" --completion \"npm test passes\"\n```\n\n**External process launch failure**:\n```\nFailed to launch external Al process.\n\nCheck:\n1. tools\u002Fralph-external\u002Frun.sh is executable\n2. Node.js >= 18 is available\n3. .aiwg\u002F directory is writable\n\nRun with --verbose for diagnostics.\n```\n\n**Loop already active for this objective**:\n```\nAn existing loop may be running for a similar objective.\n\nActive loops:\n  abc123 — Fix auth tests (running, iteration 3\u002F10)\n\nOptions:\n1. Attach to existing:  \u002Fralph-attach --loop-id abc123\n2. Start new anyway:    confirm and proceed\n3. Abort existing:      \u002Fralph-abort --loop-id abc123\n```\n\n## Examples\n\n### Example 1: Fix failing tests\n```\n\u002Fralph-external \"Fix all failing tests in src\u002Fauth\u002F\" --completion \"npm test -- --testPathPattern=auth passes\"\n```\n**Response**: Starts external loop, prints loop ID, streams live output.\n\n### Example 2: Long-running migration with branch\n```\n\u002Fralph-external \"Migrate src\u002F to ESM\" --completion \"npx tsc --noEmit exits with code 0\" --max-iterations 20 --timeout 120 --branch feat\u002Fesm-migration\n```\n**Response**: Creates branch `feat\u002Fesm-migration`, starts loop, streams output.\n\n### Example 3: CI\u002FCD pipeline usage\n```\naiwg ralph-external \"Fix lint errors\" --completion \"npm run lint exits 0\" --max-iterations 5 --quiet\necho \"Exit: $?\"\n```\n**Response**: Runs silently, exits 0 on success or 1 on failure.\n\n### Example 4: Alternative provider\n```\n\u002Fralph-external \"Refactor payment module\" --completion \"npm test passes\" --provider codex --max-iterations 8\n```\n**Response**: Runs iterations using OpenAI Codex instead of Claude.\n\n## Related\n\n- `ralph` — In-session iterative loop (no crash recovery)\n- `ralph-attach` — Attach to a running external loop's output stream\n- `ralph-status` — Check active and completed loop status\n- `ralph-abort` — Stop a running loop\n- `ralph-resume` — Resume a paused or interrupted loop\n\n## References\n\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fralph.ts — Al CLI handler\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fralph-launcher.ts — External loop launcher\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002FREADME.md — External loop architecture\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002Forchestrator.mjs — Loop orchestration engine\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002Fstate-manager.mjs — State persistence layer\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002Fsession-launcher.mjs — AI session launcher\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — Al documentation\n","\u003C!-- AIWG-SKILL-CALLOUT -->\n> **Skill access pattern (post-kernel-pivot, 2026.5+)**\n>\n> Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `\u002Fskill-name` by the platform. Reach them via:\n>\n> ```bash\n> aiwg discover \"\u003Ccapability>\"\n> aiwg show skill \u003Cname> --body\n> ```\n>\n> Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fskill-discovery.md).\n\n\n# Al External\n\n**You are the Al External Orchestrator** — launching and managing crash-resilient iterative loops that run outside the AI session for long-running tasks.\n\n## HITL authorization checkpoints\n\nBefore any confirmation below, read and apply\n[agent-loop authorization checkpoints](..\u002F..\u002Fdocs\u002Fhitl-authorization.md).\nCall `aiwg config authorization check --action-file \"$ACTION_FILE\" --target \"$TARGET_REPO\"`\nfor host-classified effects. Only `auto-authorized` with a signed receipt skips\nthat workflow prompt; retain existing prompts\u002Frefusals otherwise. Platform\nprompts are never bypassed. Limits, regression and threat overrides still require review.\n\n## Core Difference from `ralph`\n\n`ralph` runs the loop inside the current AI session. `agent-loop-ext` (formerly `ralph-external`) launches the loop as an external process via `tools\u002Fralph-external\u002Frun.sh`, persisting all state to `.aiwg\u002Fralph-external\u002F`. If the session dies mid-loop, the loop survives and can be reattached or resumed.\n\nUse `agent-loop-ext` when:\n- The task will take longer than a single session\n- You need CI\u002FCD pipeline integration\n- You want crash recovery guarantees\n- You need to run multiple loops in parallel\n\n## Natural Language Triggers\n\nUsers may say:\n- \"agent-loop-ext\"\n- \"external agent loop\"\n- \"out-of-session loop\"\n- \"persistent agent loop\"\n- \"ralph external\"\n- \"external ralph\"\n- \"crash-resilient loop\"\n- \"persistent ralph\"\n- \"long-running ralph task\"\n- \"ralph with crash recovery\"\n- \"start background ralph\"\n\n## Parameters\n\n### Objective (required)\nThe task the loop should accomplish. Passed as the first positional argument.\n\n### --completion (optional — inferred when omitted)\nSuccess criteria as a verifiable command. The loop exits when this command returns exit code 0.\n\n**Good examples**:\n- `--completion \"npm test passes with 0 failures\"`\n- `--completion \"npx tsc --noEmit exits with code 0\"`\n- `--completion \"coverage report shows >80%\"`\n\n**When omitted**: the launcher invokes the `infer-completion-criteria` skill before the external loop starts. The skill derives a measurable criterion from project state (CLAUDE.md \u002F AGENTS.md \u002F AIWG.md, package manifests, CI configuration, `.aiwg\u002F` artifacts) and emits a structured proposal with rationale. The proposal is written to `.aiwg\u002Fralph-external\u002F\u003Crun-id>\u002Finferred-completion.yaml` and used as the loop's gate.\n\nBecause `agent-loop-ext` runs externally (potentially headless \u002F in CI), the confirmation flow is:\n- Interactive session (TTY attached): show proposal, accept `Y \u002F n \u002F edit` like the in-session `ralph` skill\n- Non-interactive \u002F `--auto-criteria` \u002F CI environment: use the inferred criterion if confidence is `high`, otherwise fail fast and print the proposal as a diagnostic so the user can re-launch with `--completion` explicitly\n\nPass `--no-infer-completion` to require explicit `--completion` and fail before launch if missing. See `@$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Finfer-completion-criteria\u002FSKILL.md`.\n\n### --max-iterations (default: 10)\nMaximum iterations before the loop halts and saves state for manual review.\n\n### --timeout (default: 60 minutes)\nMaximum wall-clock time. Loop checkpoints state before exiting so it can be resumed.\n\n### --provider (default: claude)\nAI provider to use for loop iterations. Supported: `claude`, `codex`, `factory`, `opencode`.\n\n### --no-commit\nSkip automatic git commits after each iteration.\n\n### --branch (optional)\nCreate and work on a dedicated feature branch. The branch is created before iteration 1.\n\n### --quiet\nSuppress verbose progress output. Completion banner is always shown.\n\n## Behavior\n\nWhen triggered:\n\n1. **Resolve completion criteria**:\n   - If `--completion` is provided → use it directly\n   - Else if `--no-infer-completion` is set → fail fast before launch with a helpful error\n   - Else → invoke `infer-completion-criteria` skill, persist proposal to `.aiwg\u002Fralph-external\u002F\u003Crun-id>\u002Finferred-completion.yaml`, confirm or auto-adopt per session-interactivity rules above\n2. Validate the resolved criterion is verifiable (can be checked via command)\n3. Check for an existing `.aiwg\u002Fralph-external\u002F` workspace; create if absent\n3. Generate a unique `loop-id` (8-character hex) and create the loop state file at `.aiwg\u002Fralph-external\u002Floops\u002F\u003Cloop-id>.json`\n4. Write the initial state: `{ objective, completionCriteria, maxIterations, timeout, provider, status: \"pending\", iteration: 0 }`\n5. If `--branch` is specified, create the git branch now\n6. Invoke `tools\u002Fralph-external\u002Frun.sh` with all parsed flags, passing the loop-id\n7. The external process owns execution from this point. Print the loop-id and attach info:\n\n```\nAl External Loop Started\n\nLoop ID: abc123\nObjective: {objective}\nCompletion: {completion}\nMax iterations: {max} | Timeout: {timeout}m | Provider: {provider}\n\nLoop is running externally. Follow progress:\n  \u002Fralph-attach --loop-id abc123\n\nCheck status:\n  \u002Fralph-status\n\nState: .aiwg\u002Fralph-external\u002Floops\u002Fabc123.json\nLog:   .aiwg\u002Fralph-external\u002Flogs\u002Fabc123.log\n```\n\n8. If `--quiet` is NOT set, automatically attach to the loop's output stream (equivalent to running `\u002Fralph-attach --loop-id \u003Cid>`)\n\n## State Persistence and Crash Recovery\n\nState is written to disk before each external process action. If the process crashes:\n\n- The loop state file retains the last known iteration and learnings\n- On restart, `tools\u002Fralph-external\u002Frun.sh` detects the incomplete state and resumes from the last checkpoint\n- Learnings from completed iterations are injected into the next iteration's prompt via the memory layer\n\n**State file schema** (`.aiwg\u002Fralph-external\u002Floops\u002F\u003Cid>.json`):\n```json\n{\n  \"loopId\": \"abc123\",\n  \"objective\": \"Fix all auth tests\",\n  \"completionCriteria\": \"npm test passes with 0 failures\",\n  \"maxIterations\": 10,\n  \"timeout\": 60,\n  \"provider\": \"claude\",\n  \"status\": \"running\",\n  \"iteration\": 3,\n  \"startedAt\": \"2026-04-01T10:30:00Z\",\n  \"lastCheckpoint\": \"2026-04-01T10:38:42Z\",\n  \"logFile\": \".aiwg\u002Fralph-external\u002Flogs\u002Fabc123.log\",\n  \"branch\": null,\n  \"learnings\": [\"auth mocks must be initialized before describe block\"]\n}\n```\n\n## CI\u002FCD Integration\n\nFor use in pipelines, pass `--quiet` and read the exit code:\n- `0` — loop completed successfully (completion criteria verified)\n- `1` — loop failed (max iterations or timeout reached)\n- `2` — configuration error (bad arguments)\n\n**GitHub Actions example**:\n```yaml\n- name: Auto-fix tests\n  run: |\n    aiwg ralph-external \"Fix all failing unit tests\" \\\n      --completion \"npm test passes\" \\\n      --max-iterations 5 \\\n      --timeout 30 \\\n      --quiet\n```\n\n## Error Handling\n\n**Missing --completion**:\n```\nError: --completion is required for \u002Fralph-external.\n\nProvide a verifiable success criterion:\n  \u002Fralph-external \"Fix tests\" --completion \"npm test passes\"\n```\n\n**External process launch failure**:\n```\nFailed to launch external Al process.\n\nCheck:\n1. tools\u002Fralph-external\u002Frun.sh is executable\n2. Node.js >= 18 is available\n3. .aiwg\u002F directory is writable\n\nRun with --verbose for diagnostics.\n```\n\n**Loop already active for this objective**:\n```\nAn existing loop may be running for a similar objective.\n\nActive loops:\n  abc123 — Fix auth tests (running, iteration 3\u002F10)\n\nOptions:\n1. Attach to existing:  \u002Fralph-attach --loop-id abc123\n2. Start new anyway:    confirm and proceed\n3. Abort existing:      \u002Fralph-abort --loop-id abc123\n```\n\n## Examples\n\n### Example 1: Fix failing tests\n```\n\u002Fralph-external \"Fix all failing tests in src\u002Fauth\u002F\" --completion \"npm test -- --testPathPattern=auth passes\"\n```\n**Response**: Starts external loop, prints loop ID, streams live output.\n\n### Example 2: Long-running migration with branch\n```\n\u002Fralph-external \"Migrate src\u002F to ESM\" --completion \"npx tsc --noEmit exits with code 0\" --max-iterations 20 --timeout 120 --branch feat\u002Fesm-migration\n```\n**Response**: Creates branch `feat\u002Fesm-migration`, starts loop, streams output.\n\n### Example 3: CI\u002FCD pipeline usage\n```\naiwg ralph-external \"Fix lint errors\" --completion \"npm run lint exits 0\" --max-iterations 5 --quiet\necho \"Exit: $?\"\n```\n**Response**: Runs silently, exits 0 on success or 1 on failure.\n\n### Example 4: Alternative provider\n```\n\u002Fralph-external \"Refactor payment module\" --completion \"npm test passes\" --provider codex --max-iterations 8\n```\n**Response**: Runs iterations using OpenAI Codex instead of Claude.\n\n## Related\n\n- `ralph` — In-session iterative loop (no crash recovery)\n- `ralph-attach` — Attach to a running external loop's output stream\n- `ralph-status` — Check active and completed loop status\n- `ralph-abort` — Stop a running loop\n- `ralph-resume` — Resume a paused or interrupted loop\n\n## References\n\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fralph.ts — Al CLI handler\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fralph-launcher.ts — External loop launcher\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002FREADME.md — External loop architecture\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002Forchestrator.mjs — Loop orchestration engine\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002Fstate-manager.mjs — State persistence layer\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002Fsession-launcher.mjs — AI session launcher\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — Al documentation\n",{"name":5,"namespace":49,"platforms":50,"legacyName":52,"commandHint":53,"description":7},"aiwg",[51],"all","ralph-external",{"model":34,"category":43,"modelRole":25,"modelTier":54,"platforms":55,"allowedTools":57,"argumentHint":58,"orchestration":59},"economy",[56,35,33],"claude-code","Bash, Read, Write","\"\u003Cobjective>\" [--completion \"\u003Ccriteria>\"] [--max-iterations N] [--timeout M] [--provider \u003Cp>] [--no-commit] [--branch \u003Cname>] [--quiet] [--auto-criteria | --no-infer-completion]",true,"main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fagent-loop-ext",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":59},[72,75,78],{"tool":73,"command":74},"npx","npx skills add jmagly\u002Faiwg --skill agent-loop-ext",{"tool":76,"command":77},"bunx","bunx skills add jmagly\u002Faiwg --skill agent-loop-ext",{"tool":79,"command":80},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill agent-loop-ext","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fagent-loop-ext\u002FSKILL.md",[],[84,92,97,122,141,146],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":91},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":93,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":91},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":44},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[104,105,106,107,108,31,109,110,111,112,113,114,115,36,116,117,118,119,120,121],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":44},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[129,130,131,132,133,30,31,134,114,120,36,135,105,136,117,137,138,121,139,140],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":142,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":44},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[104,105,106,119,120,121,115,118,111,108,31,109,110,112,113,114,107,36,116,117],{"skillNo":147,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":44},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[129,130,140,139,133,138,137,117,132,30,31,134,114,131,36,135,105,121,120,136]]