[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2GWJ2DZF0QSNHFQA68VZK":3,"skill-same:01M6C2GWJ2DZF0QSNHFQA68VZK":68},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6C2GWJ2DZF0QSNHFQA68VZK","agent-loop",null,"Detect requests for iterative autonomous agent loops and route to the appropriate loop executor","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\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"loop","agent loop","autonomous","route","autonomous agent","executor","detect","loops","requests","for","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: agent-loop\ndescription: Detect requests for iterative autonomous agent loops and route to the appropriate loop executor\nversion: 3.1.0\nplatforms: [all]\n\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# Agent Loop Skill\n\nYou detect when users want iterative autonomous task execution and route to an internal, in-session loop by default. External daemon loops are opt-in and require an explicit request.\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## Loop Taxonomy\n\nThis skill is the **detection and routing layer** for autonomous agent loops — iterative patterns where a single agent retries a task against completion criteria until success or limits.\n\n| Loop Type | Implementation | Description |\n|-----------|---------------|-------------|\n| **Internal Agent Loop** | current assistant session \u002F internal loop | Default visible iterate-until-complete workflow in the active session |\n| **Al** | internal `ralph` concept | Basic iterate-until-complete when named without external qualifiers |\n| **External Agent Loop** | `agent-loop-ext` \u002F `ralph-external` daemon | Explicitly requested background, detached, crash-resilient, or resumable work |\n| *(future)* | — | Reflection loops, critic-actor loops, branching loops |\n\nGeneric loop requests route to the internal in-session loop. As new loop types are added, this skill will route based on task characteristics.\n\n## Routing Policy\n\n### Step 0: Provider Capability Check\n\nBefore choosing the loop mechanism, detect the active provider via `aiwg runtime-info` or the steward capability surface. The provider branch is internal to this skill; users invoke the same `agent-loop` \u002F `ralph` names everywhere.\n\n| Provider capability | Route | Notes |\n|---|---|---|\n| Provider with native `\u002Fgoal` (Codex, Claude Code) | Delegate the in-session loop to `\u002Fgoal` | Convert the task plus completion criterion into a standing goal. If a programmatic goal tool is unavailable, print the exact `\u002Fgoal \"...\"` command for the operator instead of emulating a duplicate loop. |\n| Provider with native dynamic orchestration (Claude Code Workflow tool) | In-session multi-agent fan-out MAY delegate to the native orchestration tool | AIWG retains audit, gates, best-output selection, and cross-session durability. The native tool is in-session\u002Fbackground scoped — NOT a detached daemon — so detached\u002Fresume-after-session work stays AIWG-native (see external row). |\n| Other providers | AIWG internal loop discipline | Keep the existing visible act\u002Fverify\u002Fadapt cycle in the current session. |\n| Explicit external\u002Fbackground request | `agent-loop-ext` \u002F `ralph-external` | Detached, crash-resilient, resume-after-session-ends work stays AIWG-native: `\u002Fgoal` is in-session, and the Claude Code Workflow tool is session-scoped. Codex has no core `\u002Fworkflow` (verified, `codex-cli 0.135.0`, #1535). |\n\nNative `\u002Fgoal` mapping:\n\n```text\n\u002Fgoal \"\u003Ctask>; completion: \u003Cmeasurable criterion>\"\n```\n\nWhen completion is omitted, run `infer-completion-criteria` first and include the inferred criterion in the goal text. AIWG remains responsible for any activity-log entries, issue comments, and human-authorization gates around the loop.\n\nResearch and decision record: `.aiwg\u002Fresearch\u002Fcodex-goal-integration.md`, `.aiwg\u002Farchitecture\u002Fadr-codex-goal-routing.md`. The Claude Code dialect is the same operator-facing form: `\u002Fgoal \"\u003Ctask>; completion: \u003Ccriterion>\"`.\n\nExternal\u002Forchestration routing (provider-native `\u002Fworkflow`): `.aiwg\u002Fresearch\u002Fprovider-workflow-integration.md`, `.aiwg\u002Farchitecture\u002Fadr-workflow-routing.md`. Verified against `codex-cli 0.135.0` (#1535): Codex has no core `\u002Fworkflow`; Claude Code's Workflow tool is the in-session orchestration analog. Detached\u002Fcross-session work stays AIWG-native (`ralph-external`).\n\n### Default: Internal\u002FIn-Session Loop\n\nUse the internal loop when the user says `agent-loop`, `al`, `ralph`, `loop`, `iterate`, `keep trying`, `fix until green`, `address issues`, `handle all listed issues`, or supplies an iteration bound such as `--iterations 200` without explicit external wording.\n\nRun the work visibly in the current assistant session:\n\n1. Establish completion criteria.\n2. Declare any loop controls required by task criticality: budget ceilings,\n   eval\u002Fholdout split, and exploration quota.\n3. Record a hypothesis, expected failure mode, and distinguishing diagnostic\n   before each material change.\n4. Act on the next bounded slice of work.\n5. Verify with the relevant checks.\n6. Adapt with structural variation after flat cycles, then continue until\n   completion, blocker, budget stop, or the requested iteration cap.\n\nFor long-running, high-criticality, budgeted, adversarial, or eval-driven loops,\nAIWG treats mechanical evidence as load-bearing and self-report as secondary.\nRelevant controls:\n\n- **Budget stop**: declared wall-clock\u002Ftoken\u002Fspend\u002Ftool ceilings stop the loop\n  and require a best-output report.\n- **Dosed entropy**: non-improving cycles cannot repeat the same tactic; every\n  declared `K` cycles requires a structural variant or stop.\n- **Holdout isolation**: hidden fixtures or answer keys produce aggregate-only\n  feedback to the optimizer; detailed diagnostics stay in private audit logs.\n- **Experiment log**: hypothesis, expected failure mode, diagnostic, result,\n  and probe\u002Fgeneralization signal survive compaction.\n\nDo not launch detached processes, background sessions, or the Ralph external daemon for generic loop requests.\n\n### Explicit External Route\n\nRoute to `agent-loop-ext` \u002F `ralph-external` only when the user explicitly asks for external execution, background execution, a daemon, detached operation, crash resilience, session survival, resume-later behavior, unattended long-running work, or when they name `agent-loop-ext`, `ralph-external`, or the Ralph daemon directly.\n\nIf the user says `ralph` without external\u002Fbackground\u002Fdaemon qualifiers, treat it as the internal loop concept.\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"ralph this: [task]\" → iterative loop with extracted task\n- \"ralph it\" (after describing work in conversation) → loop using conversation context\n- \"keep trying until [condition]\" → loop with completion condition\n- \"fix until green\" → test-fixing loop shorthand\n- \"loop until [condition]\" → condition-based iteration\n- \"al: [task]\" → shortcut for agent-loop invocation\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| `ralph this: X` | \"ralph this: fix all lint errors\" | Internal loop: extract task, infer completion |\n| `ralph: X` | \"ralph: migrate to TypeScript\" | Internal loop: extract task, infer completion |\n| `ralph it` | \"ralph it\" (after task description) | Internal loop: use conversation context |\n| `keep trying until X` | \"keep trying until tests pass\" | Internal loop: task = current context, completion = X |\n| `loop until X` | \"loop until coverage >80%\" | Internal loop: task = improve coverage, completion = X |\n| `iterate until X` | \"iterate until no errors\" | Internal loop: task = fix errors, completion = X |\n| `run until passes` | \"run until passes\" | Internal loop: infer test command |\n| `fix until green` | \"fix until green\" | Internal loop: task = fix tests, completion = tests pass |\n| `keep fixing until X` | \"keep fixing until lint is clean\" | Internal loop: task = fix lint, completion = X |\n| `al: X` | \"al: fix all lint errors\" | Internal loop shortcut: extract task |\n\n## Extraction Logic\n\n### Task Extraction\n\n**From explicit task**:\n- \"ralph this: fix all TypeScript errors\" → Task: \"fix all TypeScript errors\"\n- \"ralph: migrate src\u002F to ESM\" → Task: \"migrate src\u002F to ESM\"\n\n**From context**:\n- \"ralph it\" after discussing a refactor → Use previous conversation as task context\n\n### Completion Inference\n\nWhen the user doesn't specify explicit verification, delegate to the **`infer-completion-criteria`** skill (`@$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Finfer-completion-criteria\u002FSKILL.md`). That skill runs a deterministic 5-layer pipeline:\n\n1. **Task verb** → criterion class (test-pass, type-clean, regression-gate, coverage, lint-clean, build-pass, implement-feature)\n2. **Project context files** (CLAUDE.md \u002F AGENTS.md \u002F AIWG.md) → canonical commands from the Development section\n3. **Package manifests** (`package.json`, `Cargo.toml`, `pyproject.toml`, `go.mod`, `pom.xml`, etc.) → discovered scripts\n4. **CI configuration** (`.github\u002Fworkflows\u002F`, `.gitea\u002Fworkflows\u002F`, GitLab\u002FCircleCI\u002FJenkins) → team's actual \"passes\" definition\n5. **`.aiwg\u002F` artifacts** (test-strategy, related use cases by ID match, prior progress files) → project-specific gates\n\nSynthesis is validated against the `vague-discretion` rule and emits a structured YAML proposal with criterion, verification command, rationale chain, confidence level, and alternatives considered.\n\n**Use the inline table below ONLY as a last-resort fallback** when the inference skill is unavailable (degraded environment, missing skill deployment). It is intentionally narrow — JavaScript\u002FNode-centric — and represents prior state before `infer-completion-criteria` was added.\n\nLegacy fallback table:\n\n| Task Pattern | Inferred Completion |\n|--------------|---------------------|\n| \"fix tests\" | \"npm test passes\" |\n| \"fix lint\" \u002F \"fix linting\" | \"npm run lint passes\" |\n| \"fix types\" \u002F \"fix TypeScript\" | \"npx tsc --noEmit passes\" |\n| \"fix build\" | \"npm run build succeeds\" |\n| \"add tests\" | \"test coverage increases\" |\n| \"migrate to ESM\" | \"node runs without errors\" |\n| \"refactor X\" | \"npm test passes\" (preserve behavior) |\n\nWhen the inference skill IS available, prefer it. The skill handles multi-language projects, monorepos, CI-defined gates, use-case acceptance criteria, and the refusal case (truly vague tasks like \"make it better\" that have no measurable criterion).\n\n### Examples\n\n**User**: \"ralph this: migrate all files in lib\u002F to ESM\"\n**Extraction**:\n- Task: \"migrate all files in lib\u002F to ESM\"\n- Completion (inferred): \"node --experimental-vm-modules lib\u002Findex.js runs without errors\"\n\n**Action**: Run an internal loop in the current session for `migrate all files in lib\u002F to ESM` until the inferred completion command succeeds\n\n---\n\n**User**: \"keep fixing until the tests are green\"\n**Extraction**:\n- Task: \"fix failing tests\" (from context or implied)\n- Completion: \"npm test passes with 0 failures\"\n\n**Action**: Run an internal loop in the current session until `npm test` passes\n\n---\n\n**User**: \"ralph it\" (after discussing adding auth validation)\n**Extraction**:\n- Task: (from conversation context about auth validation)\n- Completion: (infer based on task type)\n\n**Action**: Run an internal loop in the current session using the context-based task and inferred criteria\n\n---\n\n**User**: \"loop until coverage is above 80%\"\n**Extraction**:\n- Task: \"add tests to improve coverage\"\n- Completion: \"npm run coverage shows >80%\"\n\n**Action**: Run an internal loop in the current session until the coverage report shows more than 80%\n\n---\n\n**User**: \"Run this in the background with crash recovery and let me attach later\"\n**Extraction**:\n- Task: (from conversation context)\n- Completion: (infer based on task type)\n\n**Action**: Route to `agent-loop-ext` \u002F `ralph-external` because the user explicitly requested background crash-resilient execution\n\n## Clarification Prompts\n\nIf extraction is ambiguous, ask the user:\n\n```\nI'll start an iterative loop for: {extracted task}\n\nWhat command verifies completion?\n1. npm test (Recommended for test fixes)\n2. npx tsc --noEmit (For type errors)\n3. npm run lint (For lint errors)\n4. npm run build (For build issues)\n5. Custom command...\n```\n\nOr if task is unclear:\n\n```\nI detected an iterative loop request. To start iterating:\n\nWhat task should I repeat until success?\nWhat command tells me when it's done?\n```\n\n## External\u002FMulti-Loop Support\n\n**Version 2.0** added concurrent loop execution with registry tracking. This applies to explicit external daemon loops, not ordinary internal `agent-loop` requests.\n\n### Concurrency Limits\n\n- **MAX_CONCURRENT_LOOPS**: 4 (per REF-086)\n- **Research basis**: 17.2x error trap beyond 4 concurrent agents\n- **Communication overhead**: n*(n-1)\u002F2 paths = 6 at max capacity\n\n### Loop ID Format\n\nAll loops have unique identifiers:\n- Pattern: `ralph-{slug}-{uuid8}`\n- Example: `ralph-fix-tests-a1b2c3d4`\n\n### --loop-id Parameter\n\nUsers can optionally specify a loop ID for external daemon loops:\n\n```\n\u002Fralph \"fix tests\" --completion \"npm test passes\" --loop-id ralph-my-fixes-12345678\n```\n\nIf not provided, ID is auto-generated from task description.\n\n### Registry Tracking\n\nExternal active loops are tracked in `.aiwg\u002Fralph\u002Fregistry.json`:\n\n```json\n{\n  \"version\": \"2.0.0\",\n  \"max_concurrent_loops\": 4,\n  \"active_loops\": [\n    {\n      \"loop_id\": \"ralph-fix-tests-a1b2c3d4\",\n      \"status\": \"running\",\n      \"iteration\": 5,\n      \"task\": \"fix all TypeScript errors\",\n      \"started_at\": \"2026-02-02T21:00:00Z\",\n      \"pid\": 12345\n    }\n  ]\n}\n```\n\n### Concurrent Loop Behavior\n\n**When starting a new external loop**:\n\n1. Check registry: `active_loops.length \u003C 4`\n2. If at limit: Show error with active loop list\n3. If space available: Register new loop and start\n\n**User sees**:\n\n```\nError: Maximum concurrent loops (4) reached\n\nActive loops:\n1. ralph-fix-tests-a1b2c3d4 (iteration 5) - fix TypeScript errors\n2. ralph-add-docs-b2c3d4e5 (iteration 3) - add JSDoc comments\n3. ralph-refactor-c3d4e5f6 (iteration 8) - refactor API module\n4. ralph-migrate-d4e5f6a7 (iteration 2) - migrate to ESM\n\nAbort one with: aiwg ralph-abort {loop_id}\n```\n\n### Loop Status Commands\n\n**Check all active loops**:\n```\naiwg ralph-status --all\n```\n\n**Check specific loop**:\n```\naiwg ralph-status ralph-fix-tests-a1b2c3d4\n```\n\n**Abort a loop**:\n```\naiwg ralph-abort ralph-fix-tests-a1b2c3d4\n```\n\n**Resume a paused loop**:\n```\naiwg ralph-resume ralph-fix-tests-a1b2c3d4\n```\n\n### Directory Structure\n\nMulti-loop structure per loop:\n\n```\n.aiwg\u002Fralph\u002F\n├── registry.json                    # Multi-loop registry\n└── loops\u002F\n    ├── ralph-fix-tests-a1b2c3d4\u002F\n    │   ├── state.json\n    │   ├── checkpoints\u002F\n    │   │   ├── iteration-001.json.gz\n    │   │   └── iteration-002.json.gz\n    │   └── analytics\u002F\n    │       └── analytics.json\n    └── ralph-add-docs-b2c3d4e5\u002F\n        ├── state.json\n        └── ...\n```\n\n## Invocation\n\nOnce task and completion are extracted\u002Fconfirmed, use the default internal route unless explicit external wording is present.\n\nFor the default internal route:\n\n- **Task**: The extracted task description\n- **Completion criteria**: The verification command or condition\n- **Max iterations**: If user mentioned iteration limit\n- **Timeout**: If user mentioned time limit\n- **Operation**: Iterate in the current assistant session with visible progress and verification after meaningful changes\n\nFor explicit external daemon routes:\n\n- **Task**: The extracted task description\n- **Completion criteria**: The verification command or condition\n- **Max iterations**: If user mentioned iteration limit\n- **Timeout**: If user mentioned time limit\n- **Loop ID**: If user wants a custom loop identifier\n- **Operation**: Route through `agent-loop-ext` \u002F `ralph-external`, then surface status, log, attach, and abort commands\n\n### External Multi-Loop Examples\n\n**Parallel bug fixes**:\n```\nUser: \"run an external ralph loop to fix TypeScript errors in src\u002F\"\n→ Loop 1: ralph-fix-ts-errors-a1b2c3d4\n\nUser: \"also run an external ralph loop to add missing tests in lib\u002F\"\n→ Loop 2: ralph-add-tests-b2c3d4e5\n\nBoth running in parallel until completion criteria met.\n```\n\n**Sequential with manual abort**:\n```\nUser: \"run an external ralph loop to refactor the entire auth module\"\n→ Loop 1: ralph-refactor-auth-c3d4e5f6 (running)\n\nUser: \"actually, abort that and just fix the login bug\"\n→ aiwg ralph-abort ralph-refactor-auth-c3d4e5f6\n→ Loop 2: ralph-fix-login-d4e5f6a7 (running)\n```\n\n## Integration Notes\n\n- This skill has **high priority** - iterative loop phrases should route here\n- The skill is **exclusive** - once triggered, handle the entire request\n- Always confirm extraction before invoking if there's ambiguity\n- Prefer inferring completion criteria over asking (ask only if truly unclear)\n- Default ambiguous requests to the internal in-session loop\n- Do not start `ralph-external`, detached daemons, or background `aiwg ralph` processes unless the user explicitly asks for them\n- Check registry capacity before starting explicit external loops\n- Show helpful errors with active loop list when explicit external loops are at capacity\n\n## Related\n\n- `infer-completion-criteria` skill - derives measurable `--completion` from project state when the user doesn't supply one\n- `ralph` skill - legacy name for the iterative loop concept; `agent-loop` is canonical and defaults to in-session execution\n- `agent-loop-ext` skill - crash-resilient external loop with state persistence\n- `ralph-status` skill - check loop progress\n- `ralph-resume` skill - continue interrupted loops\n- `ralph-abort` skill - abort active loops\n- `@$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Floop-registry.yaml` - Registry schema\n- `@$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Floop-state.yaml` - Loop state schema\n- `@.aiwg\u002Fresearch\u002Ffindings\u002FREF-086-cognitive-load-limits.md` - Concurrency research\n\n## Version History\n\n- **3.1.0**: Defaulted generic `agent-loop` routing to internal in-session loops; require explicit wording for external daemon loops\n- **3.0.0**: Renamed from `ralph-loop` to `agent-loop`; added loop taxonomy (Issue #558)\n- **2.0.0**: Added multi-loop support with registry tracking (Issue #268)\n- **1.0.0**: Initial single-loop implementation\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — Ralph addon overview and loop executor documentation\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Floop-registry.yaml — Registry schema for multi-loop tracking\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Floop-state.yaml — Loop state schema\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Loop termination and completion criteria rules\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference for ralph commands\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# Agent Loop Skill\n\nYou detect when users want iterative autonomous task execution and route to an internal, in-session loop by default. External daemon loops are opt-in and require an explicit request.\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## Loop Taxonomy\n\nThis skill is the **detection and routing layer** for autonomous agent loops — iterative patterns where a single agent retries a task against completion criteria until success or limits.\n\n| Loop Type | Implementation | Description |\n|-----------|---------------|-------------|\n| **Internal Agent Loop** | current assistant session \u002F internal loop | Default visible iterate-until-complete workflow in the active session |\n| **Al** | internal `ralph` concept | Basic iterate-until-complete when named without external qualifiers |\n| **External Agent Loop** | `agent-loop-ext` \u002F `ralph-external` daemon | Explicitly requested background, detached, crash-resilient, or resumable work |\n| *(future)* | — | Reflection loops, critic-actor loops, branching loops |\n\nGeneric loop requests route to the internal in-session loop. As new loop types are added, this skill will route based on task characteristics.\n\n## Routing Policy\n\n### Step 0: Provider Capability Check\n\nBefore choosing the loop mechanism, detect the active provider via `aiwg runtime-info` or the steward capability surface. The provider branch is internal to this skill; users invoke the same `agent-loop` \u002F `ralph` names everywhere.\n\n| Provider capability | Route | Notes |\n|---|---|---|\n| Provider with native `\u002Fgoal` (Codex, Claude Code) | Delegate the in-session loop to `\u002Fgoal` | Convert the task plus completion criterion into a standing goal. If a programmatic goal tool is unavailable, print the exact `\u002Fgoal \"...\"` command for the operator instead of emulating a duplicate loop. |\n| Provider with native dynamic orchestration (Claude Code Workflow tool) | In-session multi-agent fan-out MAY delegate to the native orchestration tool | AIWG retains audit, gates, best-output selection, and cross-session durability. The native tool is in-session\u002Fbackground scoped — NOT a detached daemon — so detached\u002Fresume-after-session work stays AIWG-native (see external row). |\n| Other providers | AIWG internal loop discipline | Keep the existing visible act\u002Fverify\u002Fadapt cycle in the current session. |\n| Explicit external\u002Fbackground request | `agent-loop-ext` \u002F `ralph-external` | Detached, crash-resilient, resume-after-session-ends work stays AIWG-native: `\u002Fgoal` is in-session, and the Claude Code Workflow tool is session-scoped. Codex has no core `\u002Fworkflow` (verified, `codex-cli 0.135.0`, #1535). |\n\nNative `\u002Fgoal` mapping:\n\n```text\n\u002Fgoal \"\u003Ctask>; completion: \u003Cmeasurable criterion>\"\n```\n\nWhen completion is omitted, run `infer-completion-criteria` first and include the inferred criterion in the goal text. AIWG remains responsible for any activity-log entries, issue comments, and human-authorization gates around the loop.\n\nResearch and decision record: `.aiwg\u002Fresearch\u002Fcodex-goal-integration.md`, `.aiwg\u002Farchitecture\u002Fadr-codex-goal-routing.md`. The Claude Code dialect is the same operator-facing form: `\u002Fgoal \"\u003Ctask>; completion: \u003Ccriterion>\"`.\n\nExternal\u002Forchestration routing (provider-native `\u002Fworkflow`): `.aiwg\u002Fresearch\u002Fprovider-workflow-integration.md`, `.aiwg\u002Farchitecture\u002Fadr-workflow-routing.md`. Verified against `codex-cli 0.135.0` (#1535): Codex has no core `\u002Fworkflow`; Claude Code's Workflow tool is the in-session orchestration analog. Detached\u002Fcross-session work stays AIWG-native (`ralph-external`).\n\n### Default: Internal\u002FIn-Session Loop\n\nUse the internal loop when the user says `agent-loop`, `al`, `ralph`, `loop`, `iterate`, `keep trying`, `fix until green`, `address issues`, `handle all listed issues`, or supplies an iteration bound such as `--iterations 200` without explicit external wording.\n\nRun the work visibly in the current assistant session:\n\n1. Establish completion criteria.\n2. Declare any loop controls required by task criticality: budget ceilings,\n   eval\u002Fholdout split, and exploration quota.\n3. Record a hypothesis, expected failure mode, and distinguishing diagnostic\n   before each material change.\n4. Act on the next bounded slice of work.\n5. Verify with the relevant checks.\n6. Adapt with structural variation after flat cycles, then continue until\n   completion, blocker, budget stop, or the requested iteration cap.\n\nFor long-running, high-criticality, budgeted, adversarial, or eval-driven loops,\nAIWG treats mechanical evidence as load-bearing and self-report as secondary.\nRelevant controls:\n\n- **Budget stop**: declared wall-clock\u002Ftoken\u002Fspend\u002Ftool ceilings stop the loop\n  and require a best-output report.\n- **Dosed entropy**: non-improving cycles cannot repeat the same tactic; every\n  declared `K` cycles requires a structural variant or stop.\n- **Holdout isolation**: hidden fixtures or answer keys produce aggregate-only\n  feedback to the optimizer; detailed diagnostics stay in private audit logs.\n- **Experiment log**: hypothesis, expected failure mode, diagnostic, result,\n  and probe\u002Fgeneralization signal survive compaction.\n\nDo not launch detached processes, background sessions, or the Ralph external daemon for generic loop requests.\n\n### Explicit External Route\n\nRoute to `agent-loop-ext` \u002F `ralph-external` only when the user explicitly asks for external execution, background execution, a daemon, detached operation, crash resilience, session survival, resume-later behavior, unattended long-running work, or when they name `agent-loop-ext`, `ralph-external`, or the Ralph daemon directly.\n\nIf the user says `ralph` without external\u002Fbackground\u002Fdaemon qualifiers, treat it as the internal loop concept.\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"ralph this: [task]\" → iterative loop with extracted task\n- \"ralph it\" (after describing work in conversation) → loop using conversation context\n- \"keep trying until [condition]\" → loop with completion condition\n- \"fix until green\" → test-fixing loop shorthand\n- \"loop until [condition]\" → condition-based iteration\n- \"al: [task]\" → shortcut for agent-loop invocation\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| `ralph this: X` | \"ralph this: fix all lint errors\" | Internal loop: extract task, infer completion |\n| `ralph: X` | \"ralph: migrate to TypeScript\" | Internal loop: extract task, infer completion |\n| `ralph it` | \"ralph it\" (after task description) | Internal loop: use conversation context |\n| `keep trying until X` | \"keep trying until tests pass\" | Internal loop: task = current context, completion = X |\n| `loop until X` | \"loop until coverage >80%\" | Internal loop: task = improve coverage, completion = X |\n| `iterate until X` | \"iterate until no errors\" | Internal loop: task = fix errors, completion = X |\n| `run until passes` | \"run until passes\" | Internal loop: infer test command |\n| `fix until green` | \"fix until green\" | Internal loop: task = fix tests, completion = tests pass |\n| `keep fixing until X` | \"keep fixing until lint is clean\" | Internal loop: task = fix lint, completion = X |\n| `al: X` | \"al: fix all lint errors\" | Internal loop shortcut: extract task |\n\n## Extraction Logic\n\n### Task Extraction\n\n**From explicit task**:\n- \"ralph this: fix all TypeScript errors\" → Task: \"fix all TypeScript errors\"\n- \"ralph: migrate src\u002F to ESM\" → Task: \"migrate src\u002F to ESM\"\n\n**From context**:\n- \"ralph it\" after discussing a refactor → Use previous conversation as task context\n\n### Completion Inference\n\nWhen the user doesn't specify explicit verification, delegate to the **`infer-completion-criteria`** skill (`@$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Finfer-completion-criteria\u002FSKILL.md`). That skill runs a deterministic 5-layer pipeline:\n\n1. **Task verb** → criterion class (test-pass, type-clean, regression-gate, coverage, lint-clean, build-pass, implement-feature)\n2. **Project context files** (CLAUDE.md \u002F AGENTS.md \u002F AIWG.md) → canonical commands from the Development section\n3. **Package manifests** (`package.json`, `Cargo.toml`, `pyproject.toml`, `go.mod`, `pom.xml`, etc.) → discovered scripts\n4. **CI configuration** (`.github\u002Fworkflows\u002F`, `.gitea\u002Fworkflows\u002F`, GitLab\u002FCircleCI\u002FJenkins) → team's actual \"passes\" definition\n5. **`.aiwg\u002F` artifacts** (test-strategy, related use cases by ID match, prior progress files) → project-specific gates\n\nSynthesis is validated against the `vague-discretion` rule and emits a structured YAML proposal with criterion, verification command, rationale chain, confidence level, and alternatives considered.\n\n**Use the inline table below ONLY as a last-resort fallback** when the inference skill is unavailable (degraded environment, missing skill deployment). It is intentionally narrow — JavaScript\u002FNode-centric — and represents prior state before `infer-completion-criteria` was added.\n\nLegacy fallback table:\n\n| Task Pattern | Inferred Completion |\n|--------------|---------------------|\n| \"fix tests\" | \"npm test passes\" |\n| \"fix lint\" \u002F \"fix linting\" | \"npm run lint passes\" |\n| \"fix types\" \u002F \"fix TypeScript\" | \"npx tsc --noEmit passes\" |\n| \"fix build\" | \"npm run build succeeds\" |\n| \"add tests\" | \"test coverage increases\" |\n| \"migrate to ESM\" | \"node runs without errors\" |\n| \"refactor X\" | \"npm test passes\" (preserve behavior) |\n\nWhen the inference skill IS available, prefer it. The skill handles multi-language projects, monorepos, CI-defined gates, use-case acceptance criteria, and the refusal case (truly vague tasks like \"make it better\" that have no measurable criterion).\n\n### Examples\n\n**User**: \"ralph this: migrate all files in lib\u002F to ESM\"\n**Extraction**:\n- Task: \"migrate all files in lib\u002F to ESM\"\n- Completion (inferred): \"node --experimental-vm-modules lib\u002Findex.js runs without errors\"\n\n**Action**: Run an internal loop in the current session for `migrate all files in lib\u002F to ESM` until the inferred completion command succeeds\n\n---\n\n**User**: \"keep fixing until the tests are green\"\n**Extraction**:\n- Task: \"fix failing tests\" (from context or implied)\n- Completion: \"npm test passes with 0 failures\"\n\n**Action**: Run an internal loop in the current session until `npm test` passes\n\n---\n\n**User**: \"ralph it\" (after discussing adding auth validation)\n**Extraction**:\n- Task: (from conversation context about auth validation)\n- Completion: (infer based on task type)\n\n**Action**: Run an internal loop in the current session using the context-based task and inferred criteria\n\n---\n\n**User**: \"loop until coverage is above 80%\"\n**Extraction**:\n- Task: \"add tests to improve coverage\"\n- Completion: \"npm run coverage shows >80%\"\n\n**Action**: Run an internal loop in the current session until the coverage report shows more than 80%\n\n---\n\n**User**: \"Run this in the background with crash recovery and let me attach later\"\n**Extraction**:\n- Task: (from conversation context)\n- Completion: (infer based on task type)\n\n**Action**: Route to `agent-loop-ext` \u002F `ralph-external` because the user explicitly requested background crash-resilient execution\n\n## Clarification Prompts\n\nIf extraction is ambiguous, ask the user:\n\n```\nI'll start an iterative loop for: {extracted task}\n\nWhat command verifies completion?\n1. npm test (Recommended for test fixes)\n2. npx tsc --noEmit (For type errors)\n3. npm run lint (For lint errors)\n4. npm run build (For build issues)\n5. Custom command...\n```\n\nOr if task is unclear:\n\n```\nI detected an iterative loop request. To start iterating:\n\nWhat task should I repeat until success?\nWhat command tells me when it's done?\n```\n\n## External\u002FMulti-Loop Support\n\n**Version 2.0** added concurrent loop execution with registry tracking. This applies to explicit external daemon loops, not ordinary internal `agent-loop` requests.\n\n### Concurrency Limits\n\n- **MAX_CONCURRENT_LOOPS**: 4 (per REF-086)\n- **Research basis**: 17.2x error trap beyond 4 concurrent agents\n- **Communication overhead**: n*(n-1)\u002F2 paths = 6 at max capacity\n\n### Loop ID Format\n\nAll loops have unique identifiers:\n- Pattern: `ralph-{slug}-{uuid8}`\n- Example: `ralph-fix-tests-a1b2c3d4`\n\n### --loop-id Parameter\n\nUsers can optionally specify a loop ID for external daemon loops:\n\n```\n\u002Fralph \"fix tests\" --completion \"npm test passes\" --loop-id ralph-my-fixes-12345678\n```\n\nIf not provided, ID is auto-generated from task description.\n\n### Registry Tracking\n\nExternal active loops are tracked in `.aiwg\u002Fralph\u002Fregistry.json`:\n\n```json\n{\n  \"version\": \"2.0.0\",\n  \"max_concurrent_loops\": 4,\n  \"active_loops\": [\n    {\n      \"loop_id\": \"ralph-fix-tests-a1b2c3d4\",\n      \"status\": \"running\",\n      \"iteration\": 5,\n      \"task\": \"fix all TypeScript errors\",\n      \"started_at\": \"2026-02-02T21:00:00Z\",\n      \"pid\": 12345\n    }\n  ]\n}\n```\n\n### Concurrent Loop Behavior\n\n**When starting a new external loop**:\n\n1. Check registry: `active_loops.length \u003C 4`\n2. If at limit: Show error with active loop list\n3. If space available: Register new loop and start\n\n**User sees**:\n\n```\nError: Maximum concurrent loops (4) reached\n\nActive loops:\n1. ralph-fix-tests-a1b2c3d4 (iteration 5) - fix TypeScript errors\n2. ralph-add-docs-b2c3d4e5 (iteration 3) - add JSDoc comments\n3. ralph-refactor-c3d4e5f6 (iteration 8) - refactor API module\n4. ralph-migrate-d4e5f6a7 (iteration 2) - migrate to ESM\n\nAbort one with: aiwg ralph-abort {loop_id}\n```\n\n### Loop Status Commands\n\n**Check all active loops**:\n```\naiwg ralph-status --all\n```\n\n**Check specific loop**:\n```\naiwg ralph-status ralph-fix-tests-a1b2c3d4\n```\n\n**Abort a loop**:\n```\naiwg ralph-abort ralph-fix-tests-a1b2c3d4\n```\n\n**Resume a paused loop**:\n```\naiwg ralph-resume ralph-fix-tests-a1b2c3d4\n```\n\n### Directory Structure\n\nMulti-loop structure per loop:\n\n```\n.aiwg\u002Fralph\u002F\n├── registry.json                    # Multi-loop registry\n└── loops\u002F\n    ├── ralph-fix-tests-a1b2c3d4\u002F\n    │   ├── state.json\n    │   ├── checkpoints\u002F\n    │   │   ├── iteration-001.json.gz\n    │   │   └── iteration-002.json.gz\n    │   └── analytics\u002F\n    │       └── analytics.json\n    └── ralph-add-docs-b2c3d4e5\u002F\n        ├── state.json\n        └── ...\n```\n\n## Invocation\n\nOnce task and completion are extracted\u002Fconfirmed, use the default internal route unless explicit external wording is present.\n\nFor the default internal route:\n\n- **Task**: The extracted task description\n- **Completion criteria**: The verification command or condition\n- **Max iterations**: If user mentioned iteration limit\n- **Timeout**: If user mentioned time limit\n- **Operation**: Iterate in the current assistant session with visible progress and verification after meaningful changes\n\nFor explicit external daemon routes:\n\n- **Task**: The extracted task description\n- **Completion criteria**: The verification command or condition\n- **Max iterations**: If user mentioned iteration limit\n- **Timeout**: If user mentioned time limit\n- **Loop ID**: If user wants a custom loop identifier\n- **Operation**: Route through `agent-loop-ext` \u002F `ralph-external`, then surface status, log, attach, and abort commands\n\n### External Multi-Loop Examples\n\n**Parallel bug fixes**:\n```\nUser: \"run an external ralph loop to fix TypeScript errors in src\u002F\"\n→ Loop 1: ralph-fix-ts-errors-a1b2c3d4\n\nUser: \"also run an external ralph loop to add missing tests in lib\u002F\"\n→ Loop 2: ralph-add-tests-b2c3d4e5\n\nBoth running in parallel until completion criteria met.\n```\n\n**Sequential with manual abort**:\n```\nUser: \"run an external ralph loop to refactor the entire auth module\"\n→ Loop 1: ralph-refactor-auth-c3d4e5f6 (running)\n\nUser: \"actually, abort that and just fix the login bug\"\n→ aiwg ralph-abort ralph-refactor-auth-c3d4e5f6\n→ Loop 2: ralph-fix-login-d4e5f6a7 (running)\n```\n\n## Integration Notes\n\n- This skill has **high priority** - iterative loop phrases should route here\n- The skill is **exclusive** - once triggered, handle the entire request\n- Always confirm extraction before invoking if there's ambiguity\n- Prefer inferring completion criteria over asking (ask only if truly unclear)\n- Default ambiguous requests to the internal in-session loop\n- Do not start `ralph-external`, detached daemons, or background `aiwg ralph` processes unless the user explicitly asks for them\n- Check registry capacity before starting explicit external loops\n- Show helpful errors with active loop list when explicit external loops are at capacity\n\n## Related\n\n- `infer-completion-criteria` skill - derives measurable `--completion` from project state when the user doesn't supply one\n- `ralph` skill - legacy name for the iterative loop concept; `agent-loop` is canonical and defaults to in-session execution\n- `agent-loop-ext` skill - crash-resilient external loop with state persistence\n- `ralph-status` skill - check loop progress\n- `ralph-resume` skill - continue interrupted loops\n- `ralph-abort` skill - abort active loops\n- `@$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Floop-registry.yaml` - Registry schema\n- `@$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Floop-state.yaml` - Loop state schema\n- `@.aiwg\u002Fresearch\u002Ffindings\u002FREF-086-cognitive-load-limits.md` - Concurrency research\n\n## Version History\n\n- **3.1.0**: Defaulted generic `agent-loop` routing to internal in-session loops; require explicit wording for external daemon loops\n- **3.0.0**: Renamed from `ralph-loop` to `agent-loop`; added loop taxonomy (Issue #558)\n- **2.0.0**: Added multi-loop support with registry tracking (Issue #268)\n- **1.0.0**: Initial single-loop implementation\n\n## References\n\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — Ralph addon overview and loop executor documentation\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Floop-registry.yaml — Registry schema for multi-loop tracking\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Floop-state.yaml — Loop state schema\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fvague-discretion.md — Loop termination and completion criteria rules\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference for ralph commands\n",{"name":5,"version":34,"namespace":35,"platforms":36,"description":7},"3.1.0","aiwg",[37],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fagent-loop",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":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add jmagly\u002Faiwg --skill agent-loop",{"tool":54,"command":55},"bunx","bunx skills add jmagly\u002Faiwg --skill agent-loop",{"tool":57,"command":58},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill agent-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fagent-loop\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"manifest.json","REFERENCE","参考文档",521,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fagent-loop\u002Fmanifest.json",[69,77,82,109,129,134],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":76},"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":78,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":76},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":29},"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",[],[89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":29},"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",[],[116,117,118,119,120,121,94,122,100,107,102,123,90,124,104,125,126,108,127,128],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":130,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":29},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[89,90,91,106,107,108,101,105,97,93,94,95,96,98,99,100,92,102,103,104],{"skillNo":135,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":29},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[116,117,128,127,120,126,125,104,119,121,94,122,100,118,102,123,90,108,107,124]]