[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C1BSJMHFH49C1SMYD3JWH9":3,"skill-same:01M6C1BSJMHFH49C1SMYD3JWH9":68},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6C1BSJMHFH49C1SMYD3JWH9","run","配置脚本执行","Execute a named script defined in .aiwg\u002Faiwg.config or list all available scripts","执行 .aiwg\u002Faiwg.config 中定义的命名脚本，或列出所有可用脚本。","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\u002Faddons\u002Faiwg-utils\u002Fskills\u002Frun\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[5,31,32,33,34,35],"config","list","execute","scripts","script","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: run\nplatforms: [all]\ndescription: Execute a named script defined in .aiwg\u002Faiwg.config or list all available scripts\n\n---\n\n# Run\n\nYou execute a named script defined in `.aiwg\u002Faiwg.config`, or list all available scripts when no name is given.\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"what scripts are available\" → list scripts\n- \"run the deploy script\" → run `deploy`\n- \"execute test script\" → run `test`\n- \"aiwg run\" → list if no name; run if name given\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| Named run | \"run the test script\" | Run `aiwg run test` |\n| Explicit list | \"list aiwg scripts\" | Run `aiwg run` (no args) |\n| With args | \"run deploy with flag --prod\" | Run `aiwg run deploy --prod` |\n| Unknown name | \"run the build script\" | Run `aiwg run build`; report if not found |\n\n## Behavior\n\nWhen triggered:\n\n1. **Verify config exists**:\n   - Read `.aiwg\u002Faiwg.config` to confirm `scripts` block is present.\n   - If no config found, suggest `aiwg init` to create one.\n\n2. **Extract arguments**:\n   - Is a script name specified? If yes, run it.\n   - If no name, list all registered scripts with their shell commands.\n   - Are additional arguments passed through? Append them to the shell invocation.\n\n3. **Run the appropriate command**:\n\n   ```bash\n   # List all available scripts\n   aiwg run\n\n   # Run a named script\n   aiwg run \u003Cscript-name>\n\n   # Run with pass-through arguments\n   aiwg run \u003Cscript-name> -- \u003Cextra-args>\n   ```\n\n4. **What \"run\" does**:\n   - Reads the script's shell command from `.aiwg\u002Faiwg.config`\n   - Executes it in the project root\n   - Streams output to the terminal\n   - Reports exit code on completion\n\n5. **Report the result** — show the command that was executed, stream output, and confirm success or failure with exit code.\n\n## Examples\n\n### Example 1: List available scripts\n\n**User**: \"What scripts do I have registered in aiwg?\"\n\n**Extraction**: List request, no script name\n\n**Action**:\n```bash\naiwg run\n```\n\n**Response**:\n```\nRegistered scripts (from .aiwg\u002Faiwg.config):\n\n  test    → npm test\n  lint    → npm run lint\n  deploy  → .\u002Fscripts\u002Fdeploy.sh --env staging\n\nRun a script with: aiwg run \u003Cscript-name>\n```\n\n### Example 2: Run a named script\n\n**User**: \"Run the lint script\"\n\n**Extraction**: Script name `lint`\n\n**Action**:\n```bash\naiwg run lint\n```\n\n**Response**: Executes `npm run lint`, streams output, then reports: \"Script `lint` completed (exit 0).\"\n\n### Example 3: Run with pass-through arguments\n\n**User**: \"Run the deploy script with --env production\"\n\n**Extraction**: Script name `deploy`, extra args `--env production`\n\n**Action**:\n```bash\naiwg run deploy -- --env production\n```\n\n**Response**: Executes `.\u002Fscripts\u002Fdeploy.sh --env staging --env production` (or however the script merges args), then reports exit status.\n\n### Example 4: Script not found\n\n**User**: \"Run the build script\"\n\n**Extraction**: Script name `build`, not present in config\n\n**Action**:\n```bash\naiwg run build\n```\n\n**Response**: \"No script named `build` found in `.aiwg\u002Faiwg.config`. Available scripts: test, lint, deploy. Register `build` with `aiwg init --interactive` or edit `.aiwg\u002Faiwg.config` directly.\"\n\n### Example 5: No config present\n\n**User**: \"aiwg run test\"\n\n**Extraction**: No `.aiwg\u002Faiwg.config` found\n\n**Response**: \"`.aiwg\u002Faiwg.config` not found. Run `aiwg init` to create one and register scripts.\"\n\n## Clarification Prompts\n\nIf the user's intent is ambiguous:\n\n- \"Which script would you like to run? Available: test, lint, deploy.\"\n- \"No script name given — should I list all registered scripts?\"\n\n## References\n\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Frun.ts — `run` command handler\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Finit\u002FSKILL.md — Registering scripts via init\n","# Run\n\nYou execute a named script defined in `.aiwg\u002Faiwg.config`, or list all available scripts when no name is given.\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"what scripts are available\" → list scripts\n- \"run the deploy script\" → run `deploy`\n- \"execute test script\" → run `test`\n- \"aiwg run\" → list if no name; run if name given\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| Named run | \"run the test script\" | Run `aiwg run test` |\n| Explicit list | \"list aiwg scripts\" | Run `aiwg run` (no args) |\n| With args | \"run deploy with flag --prod\" | Run `aiwg run deploy --prod` |\n| Unknown name | \"run the build script\" | Run `aiwg run build`; report if not found |\n\n## Behavior\n\nWhen triggered:\n\n1. **Verify config exists**:\n   - Read `.aiwg\u002Faiwg.config` to confirm `scripts` block is present.\n   - If no config found, suggest `aiwg init` to create one.\n\n2. **Extract arguments**:\n   - Is a script name specified? If yes, run it.\n   - If no name, list all registered scripts with their shell commands.\n   - Are additional arguments passed through? Append them to the shell invocation.\n\n3. **Run the appropriate command**:\n\n   ```bash\n   # List all available scripts\n   aiwg run\n\n   # Run a named script\n   aiwg run \u003Cscript-name>\n\n   # Run with pass-through arguments\n   aiwg run \u003Cscript-name> -- \u003Cextra-args>\n   ```\n\n4. **What \"run\" does**:\n   - Reads the script's shell command from `.aiwg\u002Faiwg.config`\n   - Executes it in the project root\n   - Streams output to the terminal\n   - Reports exit code on completion\n\n5. **Report the result** — show the command that was executed, stream output, and confirm success or failure with exit code.\n\n## Examples\n\n### Example 1: List available scripts\n\n**User**: \"What scripts do I have registered in aiwg?\"\n\n**Extraction**: List request, no script name\n\n**Action**:\n```bash\naiwg run\n```\n\n**Response**:\n```\nRegistered scripts (from .aiwg\u002Faiwg.config):\n\n  test    → npm test\n  lint    → npm run lint\n  deploy  → .\u002Fscripts\u002Fdeploy.sh --env staging\n\nRun a script with: aiwg run \u003Cscript-name>\n```\n\n### Example 2: Run a named script\n\n**User**: \"Run the lint script\"\n\n**Extraction**: Script name `lint`\n\n**Action**:\n```bash\naiwg run lint\n```\n\n**Response**: Executes `npm run lint`, streams output, then reports: \"Script `lint` completed (exit 0).\"\n\n### Example 3: Run with pass-through arguments\n\n**User**: \"Run the deploy script with --env production\"\n\n**Extraction**: Script name `deploy`, extra args `--env production`\n\n**Action**:\n```bash\naiwg run deploy -- --env production\n```\n\n**Response**: Executes `.\u002Fscripts\u002Fdeploy.sh --env staging --env production` (or however the script merges args), then reports exit status.\n\n### Example 4: Script not found\n\n**User**: \"Run the build script\"\n\n**Extraction**: Script name `build`, not present in config\n\n**Action**:\n```bash\naiwg run build\n```\n\n**Response**: \"No script named `build` found in `.aiwg\u002Faiwg.config`. Available scripts: test, lint, deploy. Register `build` with `aiwg init --interactive` or edit `.aiwg\u002Faiwg.config` directly.\"\n\n### Example 5: No config present\n\n**User**: \"aiwg run test\"\n\n**Extraction**: No `.aiwg\u002Faiwg.config` found\n\n**Response**: \"`.aiwg\u002Faiwg.config` not found. Run `aiwg init` to create one and register scripts.\"\n\n## Clarification Prompts\n\nIf the user's intent is ambiguous:\n\n- \"Which script would you like to run? Available: test, lint, deploy.\"\n- \"No script name given — should I list all registered scripts?\"\n\n## References\n\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Frun.ts — `run` command handler\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Finit\u002FSKILL.md — Registering scripts via init\n",{"name":5,"namespace":41,"platforms":42,"description":7},"aiwg",[43],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Frun",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":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add jmagly\u002Faiwg --skill run",{"tool":60,"command":61},"bunx","bunx skills add jmagly\u002Faiwg --skill run",{"tool":63,"command":64},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill run","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Frun\u002FSKILL.md",true,[],[69,77,82,109,129,134],{"skillNo":70,"name":71,"nameZh":17,"description":72,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"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":17,"description":72,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"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":17,"description":85,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":36},"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":17,"description":112,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":36},"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":17,"description":85,"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":36},"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":17,"description":112,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":36},"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]]