[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAX8PV9ZJZ1FG17HA4D5TX":3,"skill-same:01M6CAX8PV9ZJZ1FG17HA4D5TX":78},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M6CAX8PV9ZJZ1FG17HA4D5TX","hook-enable",null,"Enable the AIWG context hook in platform context files without re-deploying","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\u002Fhook-enable\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"hook","hook enable","cursor","re","platform","context files","efficiency","windsurf","provider","files","opencode","codex","management","factory","context","edit","write","read","haiku","Bash","warp","copilot","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: hook-enable\nplatforms: [all]\ndescription: Enable the AIWG context hook in platform context files without re-deploying\ncommandHint:\n  argumentHint: \"[--provider claude|warp|copilot|cursor|factory|windsurf|opencode|codex] [--all]\"\n  allowedTools: Read, Write, Edit, Bash, Glob\n  model: haiku\n  category: hook-management\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# Hook Enable\n\nYou are an AIWG Hook Management Specialist responsible for enabling the AIWG context hook in platform context files.\n\n## Your Task\n\nRe-add the AIWG hook directive to the appropriate platform context file(s) so AIWG context is loaded at the next session start. If the hook file (`AIWG.md` or equivalent) does not exist, regenerate it first.\n\n## Parameters\n\n| Flag | Description |\n|------|-------------|\n| `--provider \u003Cname>` | Target specific provider: `claude`, `warp`, `copilot`, `cursor`, `factory`, `windsurf`, `opencode`, `codex` |\n| `--all` | Enable for all installed providers (default if no provider specified) |\n\n## Hook File Map\n\n| Provider | Context File | Hook File | Directive |\n|----------|-------------|-----------|-----------|\n| Claude Code | `CLAUDE.md` | `AIWG.md` | `@AIWG.md` |\n| Warp Terminal | `WARP.md` | `AIWG-warp.md` | `@AIWG-warp.md` |\n| Windsurf | `AGENTS.md` | `AIWG-windsurf.md` | `@AIWG-windsurf.md` |\n| GitHub Copilot | `.github\u002Fcopilot-instructions.md` | `AIWG-copilot.md` | `@AIWG-copilot.md` |\n| Cursor | `.cursorrules` | `AIWG-cursor.md` | `@AIWG-cursor.md` |\n| Factory AI | `AGENTS.md` | `AIWG-factory.md` | `@AIWG-factory.md` |\n| OpenCode | `.opencode\u002Fcontext.md` | `AIWG-opencode.md` | `@AIWG-opencode.md` |\n| Codex | `CODEX.md` | `AIWG-codex.md` | Full injection (no @-link) |\n\n## Workflow\n\n### Step 1: Determine Target Providers\n\nIf `--provider \u003Cname>` specified, operate on that provider only.\nIf `--all` or no flag, detect installed providers by checking for their context files.\n\n```bash\n# Detect installed providers\nls CLAUDE.md WARP.md AGENTS.md .github\u002Fcopilot-instructions.md .cursorrules CODEX.md 2>\u002Fdev\u002Fnull\nls .opencode\u002Fcontext.md 2>\u002Fdev\u002Fnull\n```\n\n### Step 2: Check Current State\n\nFor each target provider:\n\n1. Check if the context file exists\n2. Check if the hook directive is already present\n3. Check if the hook file exists on disk\n\n```bash\n# Example for Claude Code\ngrep -q \"@AIWG.md\" CLAUDE.md && echo \"already enabled\" || echo \"disabled\"\nls AIWG.md 2>\u002Fdev\u002Fnull && echo \"hook file exists\" || echo \"hook file missing\"\n```\n\n### Step 3: Regenerate Hook File (if missing)\n\nIf the hook file does not exist on disk:\n\n1. Run `\u002Fhook-regenerate --provider \u003Cname>` to generate it\n2. Verify the hook file was created before proceeding\n\nIf regeneration fails, report the error and stop.\n\n### Step 4: Add Directive to Context File\n\nIf directive is missing from context file, add it:\n\n**For Claude Code** — add `@AIWG.md` after the repository purpose section:\n\n```markdown\n## Repository Purpose\n\n[existing content]\n\n@AIWG.md\n```\n\n**For providers with @-link support** — add `@AIWG-{provider}.md` in the appropriate location.\n\n**For Codex** (no @-link) — insert full AIWG-codex.md content into CODEX.md, marked with AIWG begin\u002Fend markers.\n\n**For Warp** (if @-link uncertain) — add a dedicated AIWG section to WARP.md:\n\n```markdown\n## AIWG Framework Context\n\n@AIWG-warp.md\n```\n\n### Step 5: Report Outcome\n\n```\nHook enabled for Claude Code\n  Added @AIWG.md directive to CLAUDE.md\n  AIWG context will load at next session start\n\nTo disable: aiwg hook-disable\nTo regenerate content: aiwg hook-regenerate\n```\n\n## Idempotency\n\nIf the hook directive is already present:\n\n```\nHook already enabled for Claude Code\n  @AIWG.md directive found in CLAUDE.md\n  No changes made.\n```\n\n## Error Handling\n\n| Condition | Action |\n|-----------|--------|\n| Context file missing | Report error: cannot enable hook without context file. Run `aiwg use {provider}` first. |\n| Hook file missing, regeneration fails | Report error with regeneration failure details |\n| No write permission | Report permission error, suggest running with elevated permissions |\n| Provider not installed | Skip with informational message |\n\n## Examples\n\n```bash\n# Enable for Claude Code\n\u002Fhook-enable --provider claude\n\n# Enable for all installed providers\n\u002Fhook-enable --all\n\n# Enable (default: all installed)\n\u002Fhook-enable\n```\n\n## Related Commands\n\n- `\u002Fhook-disable` — Remove the AIWG hook directive without uninstalling\n- `\u002Fhook-status` — Show current hook state across all providers\n- `\u002Fhook-regenerate` — Rebuild hook files from installed manifests\n\n## References\n\n- @.aiwg\u002Fplanning\u002Fhook-file-architecture.md — Architecture design\n- #439 — AIWG.md hook file architecture\n- #440 — This command's issue\n","# Hook Enable\n\nYou are an AIWG Hook Management Specialist responsible for enabling the AIWG context hook in platform context files.\n\n## Your Task\n\nRe-add the AIWG hook directive to the appropriate platform context file(s) so AIWG context is loaded at the next session start. If the hook file (`AIWG.md` or equivalent) does not exist, regenerate it first.\n\n## Parameters\n\n| Flag | Description |\n|------|-------------|\n| `--provider \u003Cname>` | Target specific provider: `claude`, `warp`, `copilot`, `cursor`, `factory`, `windsurf`, `opencode`, `codex` |\n| `--all` | Enable for all installed providers (default if no provider specified) |\n\n## Hook File Map\n\n| Provider | Context File | Hook File | Directive |\n|----------|-------------|-----------|-----------|\n| Claude Code | `CLAUDE.md` | `AIWG.md` | `@AIWG.md` |\n| Warp Terminal | `WARP.md` | `AIWG-warp.md` | `@AIWG-warp.md` |\n| Windsurf | `AGENTS.md` | `AIWG-windsurf.md` | `@AIWG-windsurf.md` |\n| GitHub Copilot | `.github\u002Fcopilot-instructions.md` | `AIWG-copilot.md` | `@AIWG-copilot.md` |\n| Cursor | `.cursorrules` | `AIWG-cursor.md` | `@AIWG-cursor.md` |\n| Factory AI | `AGENTS.md` | `AIWG-factory.md` | `@AIWG-factory.md` |\n| OpenCode | `.opencode\u002Fcontext.md` | `AIWG-opencode.md` | `@AIWG-opencode.md` |\n| Codex | `CODEX.md` | `AIWG-codex.md` | Full injection (no @-link) |\n\n## Workflow\n\n### Step 1: Determine Target Providers\n\nIf `--provider \u003Cname>` specified, operate on that provider only.\nIf `--all` or no flag, detect installed providers by checking for their context files.\n\n```bash\n# Detect installed providers\nls CLAUDE.md WARP.md AGENTS.md .github\u002Fcopilot-instructions.md .cursorrules CODEX.md 2>\u002Fdev\u002Fnull\nls .opencode\u002Fcontext.md 2>\u002Fdev\u002Fnull\n```\n\n### Step 2: Check Current State\n\nFor each target provider:\n\n1. Check if the context file exists\n2. Check if the hook directive is already present\n3. Check if the hook file exists on disk\n\n```bash\n# Example for Claude Code\ngrep -q \"@AIWG.md\" CLAUDE.md && echo \"already enabled\" || echo \"disabled\"\nls AIWG.md 2>\u002Fdev\u002Fnull && echo \"hook file exists\" || echo \"hook file missing\"\n```\n\n### Step 3: Regenerate Hook File (if missing)\n\nIf the hook file does not exist on disk:\n\n1. Run `\u002Fhook-regenerate --provider \u003Cname>` to generate it\n2. Verify the hook file was created before proceeding\n\nIf regeneration fails, report the error and stop.\n\n### Step 4: Add Directive to Context File\n\nIf directive is missing from context file, add it:\n\n**For Claude Code** — add `@AIWG.md` after the repository purpose section:\n\n```markdown\n## Repository Purpose\n\n[existing content]\n\n@AIWG.md\n```\n\n**For providers with @-link support** — add `@AIWG-{provider}.md` in the appropriate location.\n\n**For Codex** (no @-link) — insert full AIWG-codex.md content into CODEX.md, marked with AIWG begin\u002Fend markers.\n\n**For Warp** (if @-link uncertain) — add a dedicated AIWG section to WARP.md:\n\n```markdown\n## AIWG Framework Context\n\n@AIWG-warp.md\n```\n\n### Step 5: Report Outcome\n\n```\nHook enabled for Claude Code\n  Added @AIWG.md directive to CLAUDE.md\n  AIWG context will load at next session start\n\nTo disable: aiwg hook-disable\nTo regenerate content: aiwg hook-regenerate\n```\n\n## Idempotency\n\nIf the hook directive is already present:\n\n```\nHook already enabled for Claude Code\n  @AIWG.md directive found in CLAUDE.md\n  No changes made.\n```\n\n## Error Handling\n\n| Condition | Action |\n|-----------|--------|\n| Context file missing | Report error: cannot enable hook without context file. Run `aiwg use {provider}` first. |\n| Hook file missing, regeneration fails | Report error with regeneration failure details |\n| No write permission | Report permission error, suggest running with elevated permissions |\n| Provider not installed | Skip with informational message |\n\n## Examples\n\n```bash\n# Enable for Claude Code\n\u002Fhook-enable --provider claude\n\n# Enable for all installed providers\n\u002Fhook-enable --all\n\n# Enable (default: all installed)\n\u002Fhook-enable\n```\n\n## Related Commands\n\n- `\u002Fhook-disable` — Remove the AIWG hook directive without uninstalling\n- `\u002Fhook-status` — Show current hook state across all providers\n- `\u002Fhook-regenerate` — Rebuild hook files from installed manifests\n\n## References\n\n- @.aiwg\u002Fplanning\u002Fhook-file-architecture.md — Architecture design\n- #439 — AIWG.md hook file architecture\n- #440 — This command's issue\n",{"name":5,"namespace":46,"platforms":47,"commandHint":49,"description":7},"aiwg",[48],"all",{"model":37,"category":50,"modelRole":25,"modelTier":51,"allowedTools":52,"argumentHint":53},"hook-management","economy","Read, Write, Edit, Bash, Glob","[--provider claude|warp|copilot|cursor|factory|windsurf|opencode|codex] [--all]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fhook-enable",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":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add jmagly\u002Faiwg --skill hook-enable",{"tool":70,"command":71},"bunx","bunx skills add jmagly\u002Faiwg --skill hook-enable",{"tool":73,"command":74},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill hook-enable","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fhook-enable\u002FSKILL.md",true,[],[79,87,92,116,135,140],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":86},"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":88,"name":81,"nameZh":6,"description":82,"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":86},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":41},"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",[],[99,100,101,102,103,36,104,105,106,107,108,109,110,38,111,112,113,22,114,115],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","never","firewall",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":41},"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",[],[123,124,125,126,127,35,36,128,109,114,38,129,100,130,112,131,132,115,133,134],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":136,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":41},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[99,100,101,22,114,115,110,113,106,103,36,104,105,107,108,109,102,38,111,112],{"skillNo":141,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":41},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[123,124,134,133,127,132,131,112,126,35,36,128,109,125,38,129,100,115,114,130]]