[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CASQFRDQM78WVNPY3PXEEC":3,"skill-same:01M6CASQFRDQM78WVNPY3PXEEC":82},{"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":23,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":63,"ownerHtmlUrl":64,"ownerBlogUrl":65,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M6CASQFRDQM78WVNPY3PXEEC","aiwg-regenerate-codex",null,"Regenerate Codex context file (CODEX.md or ~\u002F.codex\u002Finstructions.md) with AIWG framework content","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\u002Futils\u002Fskills\u002Faiwg-regenerate-codex\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"aiwg regenerate","aiwg regenerate codex","codex","edit","standard","dry-run","sonnet","with","dry","user","instructions","context","write","read","coding","migrate","Bash","backup","file","content","framework","run","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: aiwg-regenerate-codex\nplatforms: [all]\ndescription: Regenerate Codex context file (CODEX.md or ~\u002F.codex\u002Finstructions.md) with AIWG framework content\ncommandHint:\n  argumentHint: \"[--no-backup] [--dry-run] [--user-level] [--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 Codex Context\n\nRegenerate the Codex context file (`CODEX.md` or `~\u002F.codex\u002Finstructions.md`) for OpenAI Codex 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. Full injection used (Codex does not support @-link directives).**\n\n## Important: No @-Link Support\n\nCodex context files do not support `@filename` style includes. AIWG content is embedded directly using injection markers:\n\n```markdown\n\u003C!-- BEGIN AIWG -->\n[AIWG content]\n\u003C!-- END AIWG -->\n```\n\nThis is different from other providers that use the hook file approach.\n\n## Parameters\n\n| Flag | Description |\n|------|-------------|\n| `--no-backup` | Skip creating backup file |\n| `--dry-run` | Preview changes without writing |\n| `--user-level` | Update `~\u002F.codex\u002Finstructions.md` instead of project-level `CODEX.md` |\n| `--migrate` | Extract injection to `AIWG-codex.md` and reference from CODEX.md (future-proofing) |\n\n## Context File Locations\n\n| Scope | Path | Use case |\n|-------|------|----------|\n| Project-level | `CODEX.md` | Project-specific AIWG context |\n| User-level | `~\u002F.codex\u002Finstructions.md` | User-wide context across all projects |\n\nDefault: project-level `CODEX.md`. Use `--user-level` for user-wide context.\n\n## Execution Steps\n\n### Step 1: Create Backup\n\nUnless `--no-backup` specified, create `CODEX.md.backup-{YYYYMMDD-HHMMSS}`.\n\n### Step 2: Analyze Existing Content\n\nRead `CODEX.md` if it exists and categorize:\n\n- **Team content** (PRESERVE): Project rules, conventions, business logic, above or below AIWG block\n- **AIWG content** (UPDATE): Content between `\u003C!-- BEGIN AIWG -->` and `\u003C!-- END AIWG -->`\n\n### Step 3: Generate AIWG Content\n\nGenerate AIWG content from installed framework manifests. Same content as other providers' hook files, but embedded inline.\n\nAlso write `AIWG-codex.md` as a side file for reference and for potential future migration if Codex adds @-link support.\n\n### Step 4: Inject Content\n\n**If AIWG markers found**: Replace content between markers with freshly generated content.\n\n**If no markers found**: Append AIWG block to end of file (before `\u003C!-- TEAM DIRECTIVES -->` marker if present).\n\n```markdown\n[team content preserved above]\n\n\u003C!-- BEGIN AIWG -->\n\u003C!-- Managed by aiwg — regenerate with: aiwg-regenerate-codex -->\n[AIWG content]\n\u003C!-- END AIWG -->\n\n\u003C!-- TEAM DIRECTIVES: Add project-specific guidance below -->\n```\n\n### Step 5: Report\n\n```\nCodex Context Regenerated\n==========================\n\nBackup: CODEX.md.backup-20260322-190000\n\nAIWG content: 312 lines (injected between markers)\nSide file:    AIWG-codex.md (312 lines, written for reference)\n\nTeam content preserved: 22 lines\n\nNote: Codex does not support @-link directives.\n      Content embedded directly with \u003C!-- BEGIN\u002FEND AIWG --> markers.\n      To update: aiwg-regenerate-codex\n```\n\n## Examples\n\n```bash\n# Default (project-level CODEX.md)\n\u002Faiwg-regenerate-codex\n\n# Update user-level instructions\n\u002Faiwg-regenerate-codex --user-level\n\n# Preview without writing\n\u002Faiwg-regenerate-codex --dry-run\n\n# Skip backup\n\u002Faiwg-regenerate-codex --no-backup\n```\n\n## Related Commands\n\n| Command | Regenerates |\n|---------|-------------|\n| `\u002Faiwg-regenerate` | Auto-detect and delegate |\n| `\u002Fhook-status` | Check hook state (shows \"full inject\" for Codex) |\n| `\u002Fhook-regenerate --provider codex` | Rebuild AIWG-codex.md side file |\n\n## References\n\n- #439 — AIWG.md hook file architecture\n- #444 — Multi-provider @-link support research (Codex confirmed no @-link support)\n- #446 — Regenerate command suite update\n","# Regenerate Codex Context\n\nRegenerate the Codex context file (`CODEX.md` or `~\u002F.codex\u002Finstructions.md`) for OpenAI Codex 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. Full injection used (Codex does not support @-link directives).**\n\n## Important: No @-Link Support\n\nCodex context files do not support `@filename` style includes. AIWG content is embedded directly using injection markers:\n\n```markdown\n\u003C!-- BEGIN AIWG -->\n[AIWG content]\n\u003C!-- END AIWG -->\n```\n\nThis is different from other providers that use the hook file approach.\n\n## Parameters\n\n| Flag | Description |\n|------|-------------|\n| `--no-backup` | Skip creating backup file |\n| `--dry-run` | Preview changes without writing |\n| `--user-level` | Update `~\u002F.codex\u002Finstructions.md` instead of project-level `CODEX.md` |\n| `--migrate` | Extract injection to `AIWG-codex.md` and reference from CODEX.md (future-proofing) |\n\n## Context File Locations\n\n| Scope | Path | Use case |\n|-------|------|----------|\n| Project-level | `CODEX.md` | Project-specific AIWG context |\n| User-level | `~\u002F.codex\u002Finstructions.md` | User-wide context across all projects |\n\nDefault: project-level `CODEX.md`. Use `--user-level` for user-wide context.\n\n## Execution Steps\n\n### Step 1: Create Backup\n\nUnless `--no-backup` specified, create `CODEX.md.backup-{YYYYMMDD-HHMMSS}`.\n\n### Step 2: Analyze Existing Content\n\nRead `CODEX.md` if it exists and categorize:\n\n- **Team content** (PRESERVE): Project rules, conventions, business logic, above or below AIWG block\n- **AIWG content** (UPDATE): Content between `\u003C!-- BEGIN AIWG -->` and `\u003C!-- END AIWG -->`\n\n### Step 3: Generate AIWG Content\n\nGenerate AIWG content from installed framework manifests. Same content as other providers' hook files, but embedded inline.\n\nAlso write `AIWG-codex.md` as a side file for reference and for potential future migration if Codex adds @-link support.\n\n### Step 4: Inject Content\n\n**If AIWG markers found**: Replace content between markers with freshly generated content.\n\n**If no markers found**: Append AIWG block to end of file (before `\u003C!-- TEAM DIRECTIVES -->` marker if present).\n\n```markdown\n[team content preserved above]\n\n\u003C!-- BEGIN AIWG -->\n\u003C!-- Managed by aiwg — regenerate with: aiwg-regenerate-codex -->\n[AIWG content]\n\u003C!-- END AIWG -->\n\n\u003C!-- TEAM DIRECTIVES: Add project-specific guidance below -->\n```\n\n### Step 5: Report\n\n```\nCodex Context Regenerated\n==========================\n\nBackup: CODEX.md.backup-20260322-190000\n\nAIWG content: 312 lines (injected between markers)\nSide file:    AIWG-codex.md (312 lines, written for reference)\n\nTeam content preserved: 22 lines\n\nNote: Codex does not support @-link directives.\n      Content embedded directly with \u003C!-- BEGIN\u002FEND AIWG --> markers.\n      To update: aiwg-regenerate-codex\n```\n\n## Examples\n\n```bash\n# Default (project-level CODEX.md)\n\u002Faiwg-regenerate-codex\n\n# Update user-level instructions\n\u002Faiwg-regenerate-codex --user-level\n\n# Preview without writing\n\u002Faiwg-regenerate-codex --dry-run\n\n# Skip backup\n\u002Faiwg-regenerate-codex --no-backup\n```\n\n## Related Commands\n\n| Command | Regenerates |\n|---------|-------------|\n| `\u002Faiwg-regenerate` | Auto-detect and delegate |\n| `\u002Fhook-status` | Check hook state (shows \"full inject\" for Codex) |\n| `\u002Fhook-regenerate --provider codex` | Rebuild AIWG-codex.md side file |\n\n## References\n\n- #439 — AIWG.md hook file architecture\n- #444 — Multi-provider @-link support research (Codex confirmed no @-link support)\n- #446 — Regenerate command suite update\n",{"name":5,"namespace":51,"platforms":52,"commandHint":54,"description":7},"aiwg",[53],"all",{"model":30,"category":55,"modelRole":38,"modelTier":28,"allowedTools":56,"argumentHint":57},"context-regeneration","Read, Write, Edit, Bash, Glob","[--no-backup] [--dry-run] [--user-level] [--migrate]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Faiwg-regenerate-codex",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":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add jmagly\u002Faiwg --skill aiwg-regenerate-codex",{"tool":74,"command":75},"bunx","bunx skills add jmagly\u002Faiwg --skill aiwg-regenerate-codex",{"tool":77,"command":78},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill aiwg-regenerate-codex","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Faiwg-regenerate-codex\u002FSKILL.md",true,[],[83,109,132,138,145,159],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":90,"publishedAt":46},"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],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[91,92,93,37,94,95,96,97,98,99,40,100,101,102,103,104,105,106,107,108],"host","host hardening","hardening","re","recommendations","remediation","plan","port","verification","access","only","retention","audit","never","firewall","bind","secrets","request",{"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":119,"publishedAt":46},"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",[115,118],{"categoryNo":116,"categoryName":117,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[120,121,122,37,123,98,124,125,40,126,91,127,101,128,129,104,105,130,131,36],"exposure analysis","analysis","unknown","credentials","collection","ufw","ports","internet","local","scope","reconstruction","operator",{"skillNo":133,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":137,"publishedAt":46},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[136],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[93,91,92,100,37,108,96,95,103,97,98,99,40,107,101,102,94,104,105,106],{"skillNo":139,"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":140,"categories":141,"keywords":144,"publishedAt":46},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[142,143],{"categoryNo":116,"categoryName":117,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[121,120,104,123,98,124,40,122,91,127,101,128,129,37,105,126,125,130,131,36],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":152,"publishedAt":46},"01M6CB4DDR0B4NNCFK7ZK7449H","fixture-skill","Exercise rule delivery.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Frule-delivery\u002Fskills\u002Ffixture-skill\u002FSKILL.md",[151],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[153,154,155,156,157,158],"fixture skill","fixture","rule","delivery","true","exercise",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":166,"publishedAt":46},"01M6CB4AVK1W76MFMPP0JP32CJ","pi-local","Pi-local duplicate-precedence fixture.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fproviders\u002Fpi\u002Fproject\u002F.pi\u002Fskills\u002Fpi-local\u002FSKILL.md",[165],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[167,168,128,169,154],"pi","pi local","duplicate"]