[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAR953HFW3069060C7GRFE":3,"skill-same:01M6CAR953HFW3069060C7GRFE":73},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6CAR953HFW3069060C7GRFE","add-agent","智能体定义文件搭建","Scaffold a new agent definition file inside an existing addon or framework","在现有插件（addon）或框架中搭建新的智能体（agent）定义文件","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\u002Fadd-agent\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40],"add agent","add","scaffold","framework","file","new agent","agent definition","Existing","definition","new","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: add-agent\nplatforms: [all]\ndescription: Scaffold a new agent definition file inside an existing addon or framework\n---\n\n# Add Agent\n\nScaffold a new agent definition file inside an existing addon or framework.\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"I need a new agent\" → scaffold agent in specified target\n- \"build me an agent\" → scaffold agent with interactive guidance\n- \"write an agent for X\" → scaffold agent named after the described role\n- \"agent for \u003Crole>\" → derive name from role, prompt for target\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| Named add | \"add agent security-auditor --to sdlc-complete\" | Scaffold directly |\n| Role description | \"create an agent that reviews PRs\" | Derive name, scaffold |\n| Interactive | \"add agent --interactive\" | Guided mode, ask for name\u002Ftarget\u002Ftemplate |\n| Target omitted | \"add agent code-reviewer\" | Ask which addon or framework |\n\n## Process\n\n### 1. Parse Arguments\n\nExtract from `$ARGUMENTS`:\n- `\u003Cname>` — kebab-case agent name (required)\n- `--to \u003Ctarget>` — addon or framework directory name (required)\n- `--template \u003Ctype>` — one of `simple` (default), `complex`, `orchestrator`, `validator`\n- `--interactive` — enable guided design questions\n\nIf either `\u003Cname>` or `--to` is missing, ask before proceeding.\n\n### 2. Validate Target\n\nConfirm the target addon or framework exists:\n\n```bash\n# Check addons\nls agentic\u002Fcode\u002Faddons\u002F\u003Ctarget>\u002F\n\n# Check frameworks\nls agentic\u002Fcode\u002Fframeworks\u002F\u003Ctarget>\u002F\n```\n\nIf not found, report available targets and stop.\n\n### 3. Interactive Design (if --interactive)\n\nAsk the following before generating:\n\n1. **Role**: What is this agent's primary role?\n2. **Expertise**: What domains or technologies does it specialize in?\n3. **Responsibilities**: What are its 3-5 key responsibilities?\n4. **Tools needed**: Which tools does it require? (Read, Write, Bash, Grep, WebFetch, Task)\n5. **Model tier**: haiku (fast\u002Futility), sonnet (balanced), opus (reasoning-heavy)\n6. **Output format**: What structured output should it produce?\n\n### 4. Select Template\n\n| Template | Use When | Default Model | Tools |\n|----------|----------|---------------|-------|\n| `simple` | Single-purpose utility agent | haiku | Read, Write |\n| `complex` | Domain expert, reviewer, analyst | sonnet | Read, Write, Grep |\n| `orchestrator` | Coordinates other agents | opus | Task |\n| `validator` | Read-only quality\u002Fcompliance gate | haiku | Read, Grep |\n\n### 5. Run Scaffolding\n\n```bash\naiwg add-agent \u003Cname> --to \u003Ctarget> --template \u003Ctype>\n```\n\nThis generates `\u003Ctarget>\u002Fagents\u002F\u003Cname>.md` with the appropriate frontmatter and section stubs.\n\n### 6. Customize the Generated File\n\nThe generated agent file requires population of these sections:\n\n```markdown\n---\nname: \u003Cname>\ndescription: \u003Cone-sentence purpose>\nmodel: \u003Cclaude-haiku-4-5|claude-sonnet-5|claude-opus-5>  # Pin specific variant; bare aliases (`sonnet`) inherit the parent session's 1M-context attributes and hit the usage-credit gate on subagent dispatch. See #1442.\ntools: \u003Ccomma-separated tool list>\ncategory: \u003Cphase or domain>\n---\n\n# Agent Title\n\n[Role description]\n\n## Expertise\n\n[Domain knowledge and skills]\n\n## Responsibilities\n\n[Numbered list of what this agent does]\n\n## Workflow\n\n[How it approaches tasks — research, draft, validate, output]\n\n## Output Format\n\n[Expected structure of deliverables]\n```\n\n### 7. Validate Against 10 Golden Rules\n\nAfter creation, run the agent linter:\n\n```bash\naiwg lint agents \u003Ctarget>\u002Fagents\u002F\u003Cname>.md --verbose\n```\n\nKey checks:\n- Single responsibility (no \"and\" overload in description)\n- Minimal tools (0-3 tools, each justified)\n- Explicit I\u002FO contract defined\n- Model tier matches task complexity\n\n### 8. Update Manifest\n\nThe CLI tool updates `\u003Ctarget>\u002Fmanifest.json` automatically. Verify:\n\n```json\n{\n  \"agents\": [\"existing-agent\", \"\u003Cname>\"]\n}\n```\n\n## Generated Structure\n\n```\n\u003Ctarget>\u002Fagents\u002F\u003Cname>.md\n```\n\nManifest updated: `\u003Ctarget>\u002Fmanifest.json`\n\n## Output Format\n\n```\nAgent Created: \u003Cname>\n─────────────────────\nLocation: \u003Ctarget>\u002Fagents\u002F\u003Cname>.md\nTemplate:  \u003Ctype>\nModel:     \u003Cmodel>\n\nCreated:\n  ✓ \u003Ctarget>\u002Fagents\u002F\u003Cname>.md\n  ✓ manifest.json updated\n\nValidation:\n  ✓ Single responsibility\n  ✓ Tool count within limit\n  ✓ I\u002FO contract defined\n\nNext Steps:\n  1. Edit Expertise section with domain knowledge\n  2. Define Responsibilities (3-5 items)\n  3. Specify Output Format structure\n  4. Run: aiwg lint agents \u003Ctarget>\u002Fagents\u002F\u003Cname>.md\n```\n\n## Examples\n\n### Example 1: Simple utility agent\n\n**User**: \"add agent dependency-auditor --to aiwg-utils\"\n\n**Action**:\n```bash\naiwg add-agent dependency-auditor --to aiwg-utils\n```\n\n**Result**: `agentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fagents\u002Fdependency-auditor.md` scaffolded with simple template (haiku, Read + Grep tools).\n\n### Example 2: Complex domain expert\n\n**User**: \"create a threat modeling agent for sdlc-complete\"\n\n**Extraction**: name=`threat-modeler`, target=`sdlc-complete`, template=`complex`\n\n**Action**:\n```bash\naiwg add-agent threat-modeler --to sdlc-complete --template complex\n```\n\n**Result**: `agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002Fthreat-modeler.md` scaffolded with sonnet model, Read\u002FWrite\u002FGrep tools.\n\n### Example 3: Interactive guided creation\n\n**User**: \"add agent --interactive --to sdlc-complete\"\n\n**Process**: Guided questions gather role, expertise, responsibilities, tools, and model tier before scaffolding.\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fdevkit-create-agent\u002FSKILL.md — Devkit equivalent (interactive design)\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fscaffolding.ts — CLI handler implementation\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — Full CLI reference\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002F — Example agent definitions\n","# Add Agent\n\nScaffold a new agent definition file inside an existing addon or framework.\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"I need a new agent\" → scaffold agent in specified target\n- \"build me an agent\" → scaffold agent with interactive guidance\n- \"write an agent for X\" → scaffold agent named after the described role\n- \"agent for \u003Crole>\" → derive name from role, prompt for target\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| Named add | \"add agent security-auditor --to sdlc-complete\" | Scaffold directly |\n| Role description | \"create an agent that reviews PRs\" | Derive name, scaffold |\n| Interactive | \"add agent --interactive\" | Guided mode, ask for name\u002Ftarget\u002Ftemplate |\n| Target omitted | \"add agent code-reviewer\" | Ask which addon or framework |\n\n## Process\n\n### 1. Parse Arguments\n\nExtract from `$ARGUMENTS`:\n- `\u003Cname>` — kebab-case agent name (required)\n- `--to \u003Ctarget>` — addon or framework directory name (required)\n- `--template \u003Ctype>` — one of `simple` (default), `complex`, `orchestrator`, `validator`\n- `--interactive` — enable guided design questions\n\nIf either `\u003Cname>` or `--to` is missing, ask before proceeding.\n\n### 2. Validate Target\n\nConfirm the target addon or framework exists:\n\n```bash\n# Check addons\nls agentic\u002Fcode\u002Faddons\u002F\u003Ctarget>\u002F\n\n# Check frameworks\nls agentic\u002Fcode\u002Fframeworks\u002F\u003Ctarget>\u002F\n```\n\nIf not found, report available targets and stop.\n\n### 3. Interactive Design (if --interactive)\n\nAsk the following before generating:\n\n1. **Role**: What is this agent's primary role?\n2. **Expertise**: What domains or technologies does it specialize in?\n3. **Responsibilities**: What are its 3-5 key responsibilities?\n4. **Tools needed**: Which tools does it require? (Read, Write, Bash, Grep, WebFetch, Task)\n5. **Model tier**: haiku (fast\u002Futility), sonnet (balanced), opus (reasoning-heavy)\n6. **Output format**: What structured output should it produce?\n\n### 4. Select Template\n\n| Template | Use When | Default Model | Tools |\n|----------|----------|---------------|-------|\n| `simple` | Single-purpose utility agent | haiku | Read, Write |\n| `complex` | Domain expert, reviewer, analyst | sonnet | Read, Write, Grep |\n| `orchestrator` | Coordinates other agents | opus | Task |\n| `validator` | Read-only quality\u002Fcompliance gate | haiku | Read, Grep |\n\n### 5. Run Scaffolding\n\n```bash\naiwg add-agent \u003Cname> --to \u003Ctarget> --template \u003Ctype>\n```\n\nThis generates `\u003Ctarget>\u002Fagents\u002F\u003Cname>.md` with the appropriate frontmatter and section stubs.\n\n### 6. Customize the Generated File\n\nThe generated agent file requires population of these sections:\n\n```markdown\n---\nname: \u003Cname>\ndescription: \u003Cone-sentence purpose>\nmodel: \u003Cclaude-haiku-4-5|claude-sonnet-5|claude-opus-5>  # Pin specific variant; bare aliases (`sonnet`) inherit the parent session's 1M-context attributes and hit the usage-credit gate on subagent dispatch. See #1442.\ntools: \u003Ccomma-separated tool list>\ncategory: \u003Cphase or domain>\n---\n\n# Agent Title\n\n[Role description]\n\n## Expertise\n\n[Domain knowledge and skills]\n\n## Responsibilities\n\n[Numbered list of what this agent does]\n\n## Workflow\n\n[How it approaches tasks — research, draft, validate, output]\n\n## Output Format\n\n[Expected structure of deliverables]\n```\n\n### 7. Validate Against 10 Golden Rules\n\nAfter creation, run the agent linter:\n\n```bash\naiwg lint agents \u003Ctarget>\u002Fagents\u002F\u003Cname>.md --verbose\n```\n\nKey checks:\n- Single responsibility (no \"and\" overload in description)\n- Minimal tools (0-3 tools, each justified)\n- Explicit I\u002FO contract defined\n- Model tier matches task complexity\n\n### 8. Update Manifest\n\nThe CLI tool updates `\u003Ctarget>\u002Fmanifest.json` automatically. Verify:\n\n```json\n{\n  \"agents\": [\"existing-agent\", \"\u003Cname>\"]\n}\n```\n\n## Generated Structure\n\n```\n\u003Ctarget>\u002Fagents\u002F\u003Cname>.md\n```\n\nManifest updated: `\u003Ctarget>\u002Fmanifest.json`\n\n## Output Format\n\n```\nAgent Created: \u003Cname>\n─────────────────────\nLocation: \u003Ctarget>\u002Fagents\u002F\u003Cname>.md\nTemplate:  \u003Ctype>\nModel:     \u003Cmodel>\n\nCreated:\n  ✓ \u003Ctarget>\u002Fagents\u002F\u003Cname>.md\n  ✓ manifest.json updated\n\nValidation:\n  ✓ Single responsibility\n  ✓ Tool count within limit\n  ✓ I\u002FO contract defined\n\nNext Steps:\n  1. Edit Expertise section with domain knowledge\n  2. Define Responsibilities (3-5 items)\n  3. Specify Output Format structure\n  4. Run: aiwg lint agents \u003Ctarget>\u002Fagents\u002F\u003Cname>.md\n```\n\n## Examples\n\n### Example 1: Simple utility agent\n\n**User**: \"add agent dependency-auditor --to aiwg-utils\"\n\n**Action**:\n```bash\naiwg add-agent dependency-auditor --to aiwg-utils\n```\n\n**Result**: `agentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fagents\u002Fdependency-auditor.md` scaffolded with simple template (haiku, Read + Grep tools).\n\n### Example 2: Complex domain expert\n\n**User**: \"create a threat modeling agent for sdlc-complete\"\n\n**Extraction**: name=`threat-modeler`, target=`sdlc-complete`, template=`complex`\n\n**Action**:\n```bash\naiwg add-agent threat-modeler --to sdlc-complete --template complex\n```\n\n**Result**: `agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002Fthreat-modeler.md` scaffolded with sonnet model, Read\u002FWrite\u002FGrep tools.\n\n### Example 3: Interactive guided creation\n\n**User**: \"add agent --interactive --to sdlc-complete\"\n\n**Process**: Guided questions gather role, expertise, responsibilities, tools, and model tier before scaffolding.\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fdevkit-create-agent\u002FSKILL.md — Devkit equivalent (interactive design)\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fscaffolding.ts — CLI handler implementation\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — Full CLI reference\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002F — Example agent definitions\n",{"name":5,"namespace":46,"platforms":47,"description":7},"aiwg",[48],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fadd-agent",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":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add jmagly\u002Faiwg --skill add-agent",{"tool":65,"command":66},"bunx","bunx skills add jmagly\u002Faiwg --skill add-agent",{"tool":68,"command":69},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill add-agent","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fadd-agent\u002FSKILL.md",true,[],[74,82,87,114,134,139],{"skillNo":75,"name":76,"nameZh":17,"description":77,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"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":83,"name":76,"nameZh":17,"description":77,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":81},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":115,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":120,"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",[],[121,122,123,124,125,126,99,127,105,112,107,128,95,129,109,130,131,113,132,133],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":135,"name":89,"nameZh":17,"description":90,"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":41},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[94,95,96,111,112,113,106,110,102,98,99,100,101,103,104,105,97,107,108,109],{"skillNo":140,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":41},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[121,122,133,132,125,131,130,109,124,126,99,127,105,123,107,128,95,113,112,129]]