[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAT6AE53C8NGQJCDXQB19V":3,"skill-same:01M6CAT6AE53C8NGQJCDXQB19V":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":64,"commitSha":65,"skillDirectory":66,"forksCount":67,"repositoryHtmlUrl":68,"repositoryHomepageUrl":69,"ownerHtmlUrl":70,"ownerBlogUrl":71,"ownerDescription":72,"updatedAt":73,"install":74,"resources":87},"01M6CAT6AE53C8NGQJCDXQB19V","aiwg-regenerate-opencode","OpenCode 上下文文件重新生成","Regenerate OpenCode context file (.opencode\u002Fcontext.md) with AIWG framework content","使用 AIWG 框架内容重新生成 OpenCode 上下文文件（.opencode\u002Fcontext.md）。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Faiwg-regenerate-opencode\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFBYPPFQY4HRA5R71EZ0TS","AI系统核心与身份配置","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"opencode","aiwg regenerate","aiwg regenerate opencode","edit","standard","dry-run","sonnet","with","dry","full","context","run","write","read","coding","migrate","Bash","backup","file","content","framework","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: aiwg-regenerate-opencode\nplatforms: [all]\ndescription: Regenerate OpenCode context file (.opencode\u002Fcontext.md) with AIWG framework content\ncommandHint:\n  argumentHint: \"[--no-backup] [--dry-run] [--full-inject] [--migrate]\"\n  allowedTools: Read, Write, Edit, Bash, Glob\n  model: sonnet\n  category: context-regeneration\n  modelRole: coding\n  modelTier: standard\n---\n\n# Regenerate OpenCode Context\n\nRegenerate the `.opencode\u002Fcontext.md` file for OpenCode integration. Performs an **intelligent merge** — preserving team-written content while updating AIWG context.\n\n## Core Principle\n\n**Team content is preserved. AIWG content is updated. Hook file approach used when supported.**\n\n## Parameters\n\n| Flag | Description |\n|------|-------------|\n| `--no-backup` | Skip creating backup file |\n| `--dry-run` | Preview changes without writing |\n| `--full-inject` | Inject full content directly into context.md (legacy\u002Fcompatibility mode) |\n| `--migrate` | Migrate existing full-injection to hook file approach |\n\n## Hook File Approach (Default)\n\nBy default, this command uses the hook file architecture:\n\n1. Generate `AIWG-opencode.md` with AIWG framework content\n2. Add `@AIWG-opencode.md` directive to `.opencode\u002Fcontext.md`\n\n**Note**: OpenCode's support for `@file` directives is not yet confirmed. If the `@` directive is not supported, use `--full-inject` as a fallback. See #444 for status.\n\n## Execution Steps\n\n### Step 1: Create Backup\n\nUnless `--no-backup` specified, create `.opencode\u002Fcontext.md.backup-{YYYYMMDD-HHMMSS}`.\n\n### Step 2: Analyze Existing Content\n\nRead `.opencode\u002Fcontext.md` if it exists and categorize:\n\n- **Team content** (PRESERVE): Project rules, conventions, business logic\n- **AIWG content** (UPDATE): Framework integration sections\n\n### Step 3: Detect Hook File Support\n\nCheck whether existing `.opencode\u002Fcontext.md` uses a hook file directive:\n\n```bash\ngrep -q \"@AIWG-opencode.md\" .opencode\u002Fcontext.md && echo \"hook approach\" || echo \"full inject or fresh\"\n```\n\n### Step 4: Generate AIWG-opencode.md\n\nGenerate the hook file content from installed framework manifests (same as `aiwg hook-regenerate --provider opencode`).\n\n**If `--full-inject`**: Skip hook file generation, embed content directly.\n\n### Step 5: Write Output\n\n**Hook approach** (default):\n1. Write `AIWG-opencode.md` with generated content\n2. Update `.opencode\u002Fcontext.md`: preserve team content + add `@AIWG-opencode.md` directive\n\n**Full inject** (`--full-inject`):\n1. Embed full AIWG content in `.opencode\u002Fcontext.md` between markers:\n   ```\n   \u003C!-- BEGIN AIWG -->\n   [content]\n   \u003C!-- END AIWG -->\n   ```\n\n### Step 6: Report\n\n```\nOpenCode Context Regenerated\n=============================\n\nBackup: .opencode\u002Fcontext.md.backup-20260322-190000\n\nHook file:    AIWG-opencode.md (312 lines, written)\nContext file: .opencode\u002Fcontext.md updated\n  @AIWG-opencode.md directive added\n\nTeam content preserved: 14 lines\n```\n\n## Note on OpenCode @-Link Support\n\nOpenCode's support for `@file` includes within `.opencode\u002Fcontext.md` is currently unverified (see #444). If you encounter issues with AIWG context not loading:\n\n```bash\n# Fall back to full injection\n\u002Faiwg-regenerate-opencode --full-inject\n```\n\n## Examples\n\n```bash\n# Default (hook file approach)\n\u002Faiwg-regenerate-opencode\n\n# Full injection (compatibility mode)\n\u002Faiwg-regenerate-opencode --full-inject\n\n# Preview without writing\n\u002Faiwg-regenerate-opencode --dry-run\n\n# Migrate from full inject to hook file\n\u002Faiwg-regenerate-opencode --migrate\n```\n\n## Related Commands\n\n| Command | Regenerates |\n|---------|-------------|\n| `\u002Faiwg-regenerate` | Auto-detect and delegate |\n| `\u002Fhook-status` | Check hook state |\n| `\u002Fhook-regenerate --provider opencode` | Rebuild hook file only |\n| `\u002Fmigrate-hook --provider opencode` | Migrate full inject to hook |\n\n## References\n\n- #439 — AIWG.md hook file architecture\n- #444 — Multi-provider @-link support research\n- #446 — Regenerate command suite update\n","# Regenerate OpenCode Context\n\nRegenerate the `.opencode\u002Fcontext.md` file for OpenCode integration. Performs an **intelligent merge** — preserving team-written content while updating AIWG context.\n\n## Core Principle\n\n**Team content is preserved. AIWG content is updated. Hook file approach used when supported.**\n\n## Parameters\n\n| Flag | Description |\n|------|-------------|\n| `--no-backup` | Skip creating backup file |\n| `--dry-run` | Preview changes without writing |\n| `--full-inject` | Inject full content directly into context.md (legacy\u002Fcompatibility mode) |\n| `--migrate` | Migrate existing full-injection to hook file approach |\n\n## Hook File Approach (Default)\n\nBy default, this command uses the hook file architecture:\n\n1. Generate `AIWG-opencode.md` with AIWG framework content\n2. Add `@AIWG-opencode.md` directive to `.opencode\u002Fcontext.md`\n\n**Note**: OpenCode's support for `@file` directives is not yet confirmed. If the `@` directive is not supported, use `--full-inject` as a fallback. See #444 for status.\n\n## Execution Steps\n\n### Step 1: Create Backup\n\nUnless `--no-backup` specified, create `.opencode\u002Fcontext.md.backup-{YYYYMMDD-HHMMSS}`.\n\n### Step 2: Analyze Existing Content\n\nRead `.opencode\u002Fcontext.md` if it exists and categorize:\n\n- **Team content** (PRESERVE): Project rules, conventions, business logic\n- **AIWG content** (UPDATE): Framework integration sections\n\n### Step 3: Detect Hook File Support\n\nCheck whether existing `.opencode\u002Fcontext.md` uses a hook file directive:\n\n```bash\ngrep -q \"@AIWG-opencode.md\" .opencode\u002Fcontext.md && echo \"hook approach\" || echo \"full inject or fresh\"\n```\n\n### Step 4: Generate AIWG-opencode.md\n\nGenerate the hook file content from installed framework manifests (same as `aiwg hook-regenerate --provider opencode`).\n\n**If `--full-inject`**: Skip hook file generation, embed content directly.\n\n### Step 5: Write Output\n\n**Hook approach** (default):\n1. Write `AIWG-opencode.md` with generated content\n2. Update `.opencode\u002Fcontext.md`: preserve team content + add `@AIWG-opencode.md` directive\n\n**Full inject** (`--full-inject`):\n1. Embed full AIWG content in `.opencode\u002Fcontext.md` between markers:\n   ```\n   \u003C!-- BEGIN AIWG -->\n   [content]\n   \u003C!-- END AIWG -->\n   ```\n\n### Step 6: Report\n\n```\nOpenCode Context Regenerated\n=============================\n\nBackup: .opencode\u002Fcontext.md.backup-20260322-190000\n\nHook file:    AIWG-opencode.md (312 lines, written)\nContext file: .opencode\u002Fcontext.md updated\n  @AIWG-opencode.md directive added\n\nTeam content preserved: 14 lines\n```\n\n## Note on OpenCode @-Link Support\n\nOpenCode's support for `@file` includes within `.opencode\u002Fcontext.md` is currently unverified (see #444). If you encounter issues with AIWG context not loading:\n\n```bash\n# Fall back to full injection\n\u002Faiwg-regenerate-opencode --full-inject\n```\n\n## Examples\n\n```bash\n# Default (hook file approach)\n\u002Faiwg-regenerate-opencode\n\n# Full injection (compatibility mode)\n\u002Faiwg-regenerate-opencode --full-inject\n\n# Preview without writing\n\u002Faiwg-regenerate-opencode --dry-run\n\n# Migrate from full inject to hook file\n\u002Faiwg-regenerate-opencode --migrate\n```\n\n## Related Commands\n\n| Command | Regenerates |\n|---------|-------------|\n| `\u002Faiwg-regenerate` | Auto-detect and delegate |\n| `\u002Fhook-status` | Check hook state |\n| `\u002Fhook-regenerate --provider opencode` | Rebuild hook file only |\n| `\u002Fmigrate-hook --provider opencode` | Migrate full inject to hook |\n\n## References\n\n- #439 — AIWG.md hook file architecture\n- #444 — Multi-provider @-link support research\n- #446 — Regenerate command suite update\n",{"name":5,"namespace":57,"platforms":58,"commandHint":60,"description":7},"aiwg",[59],"all",{"model":37,"category":61,"modelRole":45,"modelTier":35,"allowedTools":62,"argumentHint":63},"context-regeneration","Read, Write, Edit, Bash, Glob","[--no-backup] [--dry-run] [--full-inject] [--migrate]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Faiwg-regenerate-opencode",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":9,"skillName":5,"commands":75,"prompt":85,"zipAvailable":86},[76,79,82],{"tool":77,"command":78},"npx","npx skills add jmagly\u002Faiwg --skill aiwg-regenerate-opencode",{"tool":80,"command":81},"bunx","bunx skills add jmagly\u002Faiwg --skill aiwg-regenerate-opencode",{"tool":83,"command":84},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill aiwg-regenerate-opencode","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Faiwg-regenerate-opencode\u002FSKILL.md",true,[],[89,97,102,127,146,151],{"skillNo":90,"name":91,"nameZh":17,"description":92,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"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":98,"name":91,"nameZh":17,"description":92,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":96},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":17,"description":105,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":52},"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",[],[109,110,111,112,113,44,114,115,116,117,118,119,120,47,121,122,123,124,125,126],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":128,"name":129,"nameZh":17,"description":130,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":52},"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",[],[134,135,136,137,138,43,44,139,119,125,47,140,110,141,122,142,143,126,144,145],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":147,"name":104,"nameZh":17,"description":105,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":52},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[109,110,111,124,125,126,120,123,116,113,44,114,115,117,118,119,112,47,121,122],{"skillNo":152,"name":129,"nameZh":17,"description":130,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":52},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[134,135,145,144,138,143,142,122,137,43,44,139,119,136,47,140,110,126,125,141]]