[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2HPBMPZB5HNT86PTWKM7A":3,"skill-same:01M6C2HPBMPZB5HNT86PTWKM7A":84},{"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":28,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":65,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M6C2HPBMPZB5HNT86PTWKM7A","ralph-attach",null,"Attach to a running agent loop's live output stream","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\u002Fralph-attach\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"ralph","ralph attach","attach","running","openclaw","stream","output","id","live","efficiency","claude-code","agent loop","read","haiku","hermes","loop","code","automation","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: ralph-attach\nplatforms: [all]\ndescription: Attach to a running agent loop's live output stream\ncommandHint:\n  argumentHint: \"[--loop-id \u003Cid>]\"\n  allowedTools: Read\n  model: haiku\n  category: automation\n  platforms: [claude-code, hermes, openclaw]\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# Al Attach\n\nAttach to a running external agent loop and tail its output log in real time. Press Ctrl+C to detach without interrupting the loop.\n\n## Natural Language Triggers\n\nUsers may say:\n- \"ralph attach\"\n- \"attach to ralph\"\n- \"follow ralph\"\n- \"watch ralph output\"\n- \"tail the agent loop\"\n- \"stream ralph progress\"\n\n## Parameters\n\n### --loop-id (optional)\nThe ID of the loop to attach to. If omitted, attaches to the most recently started active loop.\n\n```\n\u002Fralph-attach --loop-id abc123\n```\n\nWhen multiple loops are active, you must specify `--loop-id`. Run `\u002Fralph-status` first to list active loop IDs.\n\n## Behavior\n\nWhen triggered:\n\n1. Read `.aiwg\u002Fralph-external\u002Floops\u002F` to find active loop state files\n2. If `--loop-id` is not provided, select the loop with the most recent `startedAt` timestamp that has `status: \"running\"`\n3. If no active loop is found, report clearly and exit\n4. If multiple loops are active and no `--loop-id` is given, list them and prompt the user to specify\n5. Resolve the loop's `logFile` path from its state JSON (typically `.aiwg\u002Fralph-external\u002Flogs\u002F\u003Cloop-id>.log`)\n6. Begin reading the log file from the current end, streaming new lines as they are appended\n7. Display each new line to the user as it arrives, prefixed with a timestamp\n8. Continue until the user presses Ctrl+C or the loop reaches a terminal state (`succeeded`, `failed`, `aborted`)\n9. On loop completion, print a final status banner and exit cleanly\n\n**Output format while tailing**:\n```\n[10:42:01] Agent loop abc123 — ACTIVE (iteration 3\u002F10)\n[10:42:01] Running verification: npm test\n[10:42:03] PASS src\u002Fauth\u002Fauth.test.ts\n[10:42:03] Tests: 12 passed, 0 failed\n[10:42:04] Iteration 3: VERIFIED — criteria met\n[10:42:04] Agent loop: SUCCESS\n```\n\n**On loop completion**:\n```\n═══════════════════════════════════════════\nAgent Loop Completed: SUCCESS\nLoop ID: abc123\nIterations: 3\nDuration: 4m 12s\nReport: .aiwg\u002Fralph-external\u002Freports\u002Fabc123.md\n═══════════════════════════════════════════\n\nDetached from loop abc123.\n```\n\n## Error Handling\n\n**No active loops**:\n```\nNo active agent loops found.\n\nStart one with:\n  aiwg ralph \"your task\" --completion \"criteria\"\n\nOr check completed loops with:\n  \u002Fralph-status --all\n```\n\n**Loop ID not found**:\n```\nLoop 'xyz999' not found in .aiwg\u002Fralph-external\u002Floops\u002F.\n\nActive loops:\n  abc123 — Fix auth tests (running, iteration 2\u002F10)\n  def456 — Migrate to ESM (running, iteration 5\u002F20)\n\nAttach with: \u002Fralph-attach --loop-id abc123\n```\n\n**Log file missing or unreadable**:\n```\nCannot read log for loop abc123.\n\nExpected: .aiwg\u002Fralph-external\u002Flogs\u002Fabc123.log\nCheck that the loop process is still running and has write access to the log directory.\n```\n\n**Multiple loops active (no --loop-id)**:\n```\nMultiple active agent loops. Specify which to attach to:\n\n  abc123 — Fix auth tests (running, iteration 2\u002F10, started 10:38)\n  def456 — Migrate to ESM (running, iteration 5\u002F20, started 09:15)\n\nUsage: \u002Fralph-attach --loop-id \u003Cid>\n```\n\n## State File Location\n\n- Loop states: `.aiwg\u002Fralph-external\u002Floops\u002F\u003Cloop-id>.json`\n- Loop logs:   `.aiwg\u002Fralph-external\u002Flogs\u002F\u003Cloop-id>.log`\n- Reports:     `.aiwg\u002Fralph-external\u002Freports\u002F\u003Cloop-id>.md`\n\n## Examples\n\n### Example 1: Attach to the only active loop\n```\n\u002Fralph-attach\n```\n**Response**: Streams live output from the single running agent loop.\n\n### Example 2: Attach to a specific loop by ID\n```\n\u002Fralph-attach --loop-id abc123\n```\n**Response**: Streams output only from loop `abc123`.\n\n### Example 3: Detach without stopping\nPress `Ctrl+C` while attached.\n**Response**: Returns to normal prompt; the agent loop continues running unaffected.\n\n## Related\n\n- `\u002Fralph-status` — Check loop IDs and current iteration progress\n- `\u002Fralph-abort` — Stop a loop entirely\n- `\u002Fralph-resume` — Resume a paused loop\n- `\u002Fralph-external` — Start a new crash-resilient external loop\n\n## References\n\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fralph.ts — Al handler (attachToLoopOutput)\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fralph-launcher.ts — Loop launcher and state management\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — Al documentation\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002FREADME.md — External loop architecture\n","# Al Attach\n\nAttach to a running external agent loop and tail its output log in real time. Press Ctrl+C to detach without interrupting the loop.\n\n## Natural Language Triggers\n\nUsers may say:\n- \"ralph attach\"\n- \"attach to ralph\"\n- \"follow ralph\"\n- \"watch ralph output\"\n- \"tail the agent loop\"\n- \"stream ralph progress\"\n\n## Parameters\n\n### --loop-id (optional)\nThe ID of the loop to attach to. If omitted, attaches to the most recently started active loop.\n\n```\n\u002Fralph-attach --loop-id abc123\n```\n\nWhen multiple loops are active, you must specify `--loop-id`. Run `\u002Fralph-status` first to list active loop IDs.\n\n## Behavior\n\nWhen triggered:\n\n1. Read `.aiwg\u002Fralph-external\u002Floops\u002F` to find active loop state files\n2. If `--loop-id` is not provided, select the loop with the most recent `startedAt` timestamp that has `status: \"running\"`\n3. If no active loop is found, report clearly and exit\n4. If multiple loops are active and no `--loop-id` is given, list them and prompt the user to specify\n5. Resolve the loop's `logFile` path from its state JSON (typically `.aiwg\u002Fralph-external\u002Flogs\u002F\u003Cloop-id>.log`)\n6. Begin reading the log file from the current end, streaming new lines as they are appended\n7. Display each new line to the user as it arrives, prefixed with a timestamp\n8. Continue until the user presses Ctrl+C or the loop reaches a terminal state (`succeeded`, `failed`, `aborted`)\n9. On loop completion, print a final status banner and exit cleanly\n\n**Output format while tailing**:\n```\n[10:42:01] Agent loop abc123 — ACTIVE (iteration 3\u002F10)\n[10:42:01] Running verification: npm test\n[10:42:03] PASS src\u002Fauth\u002Fauth.test.ts\n[10:42:03] Tests: 12 passed, 0 failed\n[10:42:04] Iteration 3: VERIFIED — criteria met\n[10:42:04] Agent loop: SUCCESS\n```\n\n**On loop completion**:\n```\n═══════════════════════════════════════════\nAgent Loop Completed: SUCCESS\nLoop ID: abc123\nIterations: 3\nDuration: 4m 12s\nReport: .aiwg\u002Fralph-external\u002Freports\u002Fabc123.md\n═══════════════════════════════════════════\n\nDetached from loop abc123.\n```\n\n## Error Handling\n\n**No active loops**:\n```\nNo active agent loops found.\n\nStart one with:\n  aiwg ralph \"your task\" --completion \"criteria\"\n\nOr check completed loops with:\n  \u002Fralph-status --all\n```\n\n**Loop ID not found**:\n```\nLoop 'xyz999' not found in .aiwg\u002Fralph-external\u002Floops\u002F.\n\nActive loops:\n  abc123 — Fix auth tests (running, iteration 2\u002F10)\n  def456 — Migrate to ESM (running, iteration 5\u002F20)\n\nAttach with: \u002Fralph-attach --loop-id abc123\n```\n\n**Log file missing or unreadable**:\n```\nCannot read log for loop abc123.\n\nExpected: .aiwg\u002Fralph-external\u002Flogs\u002Fabc123.log\nCheck that the loop process is still running and has write access to the log directory.\n```\n\n**Multiple loops active (no --loop-id)**:\n```\nMultiple active agent loops. Specify which to attach to:\n\n  abc123 — Fix auth tests (running, iteration 2\u002F10, started 10:38)\n  def456 — Migrate to ESM (running, iteration 5\u002F20, started 09:15)\n\nUsage: \u002Fralph-attach --loop-id \u003Cid>\n```\n\n## State File Location\n\n- Loop states: `.aiwg\u002Fralph-external\u002Floops\u002F\u003Cloop-id>.json`\n- Loop logs:   `.aiwg\u002Fralph-external\u002Flogs\u002F\u003Cloop-id>.log`\n- Reports:     `.aiwg\u002Fralph-external\u002Freports\u002F\u003Cloop-id>.md`\n\n## Examples\n\n### Example 1: Attach to the only active loop\n```\n\u002Fralph-attach\n```\n**Response**: Streams live output from the single running agent loop.\n\n### Example 2: Attach to a specific loop by ID\n```\n\u002Fralph-attach --loop-id abc123\n```\n**Response**: Streams output only from loop `abc123`.\n\n### Example 3: Detach without stopping\nPress `Ctrl+C` while attached.\n**Response**: Returns to normal prompt; the agent loop continues running unaffected.\n\n## Related\n\n- `\u002Fralph-status` — Check loop IDs and current iteration progress\n- `\u002Fralph-abort` — Stop a loop entirely\n- `\u002Fralph-resume` — Resume a paused loop\n- `\u002Fralph-external` — Start a new crash-resilient external loop\n\n## References\n\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fralph.ts — Al handler (attachToLoopOutput)\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fralph-launcher.ts — Loop launcher and state management\n- @$AIWG_ROOT\u002F${CLAUDE_PLUGIN_ROOT}\u002FREADME.md — Al documentation\n- @$AIWG_ROOT\u002Ftools\u002Fralph-external\u002FREADME.md — External loop architecture\n",{"name":5,"namespace":52,"platforms":53,"commandHint":55,"description":7},"aiwg",[54],"all",{"model":42,"category":46,"modelRole":38,"modelTier":56,"platforms":57,"allowedTools":58,"argumentHint":59},"economy",[39,43,33],"Read","[--loop-id \u003Cid>]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fralph-attach",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":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add jmagly\u002Faiwg --skill ralph-attach",{"tool":76,"command":77},"bunx","bunx skills add jmagly\u002Faiwg --skill ralph-attach",{"tool":79,"command":80},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill ralph-attach","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fagent-loop\u002Fskills\u002Fralph-attach\u002FSKILL.md",true,[],[85,93,98,125,149,155],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":92},"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":94,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":92},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":105,"publishedAt":47},"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],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[106,107,108,109,110,41,111,112,113,114,115,116,117,118,119,120,121,122,123,124],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":135,"publishedAt":47},"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",[131,134],{"categoryNo":132,"categoryName":133,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[136,137,138,139,140,141,41,142,116,123,118,143,107,144,120,145,146,124,147,148],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":150,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":154,"publishedAt":47},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[153],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[106,107,108,122,123,124,117,121,113,110,41,111,112,114,115,116,109,118,119,120],{"skillNo":156,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":161,"publishedAt":47},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[159,160],{"categoryNo":132,"categoryName":133,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[136,137,148,147,140,146,145,120,139,141,41,142,116,138,118,143,107,124,123,144]]