[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CASFRZSDJEXGKGQ3DN959M":3,"skill-same:01M6CASFRZSDJEXGKGQ3DN959M":91},{"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":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":68,"ownerHtmlUrl":69,"ownerBlogUrl":70,"ownerDescription":71,"updatedAt":72,"install":73,"resources":85},"01M6CASFRZSDJEXGKGQ3DN959M","aiwg-refresh","AIWG CLI 更新与重新部署","Update AIWG CLI and redeploy frameworks\u002Ftools to current project without leaving the session","更新 AIWG CLI，并在不离开当前会话的情况下将框架\u002F工具重新部署到当前项目。","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-refresh\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"refresh","aiwg refresh","provider","dry-run","true","root","Redeploy","name","dry","project","frameworks","cli","channel","session","Bash","Tools","update","run","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: aiwg-refresh\nplatforms: [all]\nkernel: true\ndescription: Update AIWG CLI and redeploy frameworks\u002Ftools to current project without leaving the session\nscript:\n  entrypoint: run.sh\n  runtime: bash\n  cwd: project-root\n  argsHint: '[--update-cli] [--all] [--provider \u003Cname>] [--dry-run] [--channel \u003Cname>]'\n---\n\n> **Deterministic execution (#1267)**: this skill has a `script:` entrypoint\n> that shells out to `aiwg refresh \"$@\"`. Prefer\n> `aiwg run skill aiwg-refresh -- \u003Cflags>` when a platform supports it; on\n> platforms without a deployed command stub (e.g. hermes) invoke the CLI\n> directly. The CLI owns the deterministic execution step: version\u002Fchannel\n> resolution, CLI update, framework redeploy, provider detection, and exit\n> codes. The skill owns the agentic layer around that step: intent alignment,\n> output formatting, workspace-state reconciliation, summary, next actions,\n> gates, and recovery. Do not reimplement the refresh manually or add\n> redundant permission prompts before calling the CLI for execution.\n\n# Refresh AIWG Deployment\n\nUpdate the AIWG CLI and\u002For redeploy frameworks, agents, commands, and tools to the current\nproject without leaving the agentic session.\n\n## Use Cases\n\n- **After AIWG updates**: Get latest framework features without restarting\n- **After switching branches**: Ensure deployed content matches expectations\n- **After manual edits**: Restore canonical AIWG content\n- **Provider switch**: Redeploy for different platform (Claude → Factory)\n- **Model selection**: Redeploy with different AI models for each tier\n\n## Parameters\n\n| Flag | Description |\n|------|-------------|\n| `--update-cli` | Update AIWG CLI to latest version before redeploying |\n| `--all` | Redeploy all installed frameworks |\n| `--sdlc` | Redeploy SDLC framework only |\n| `--marketing` | Redeploy Marketing framework only |\n| `--utils` | Redeploy aiwg-utils addon only |\n| `--provider \u003Cname>` | Target platform: claude, factory, openai, cursor, warp (default: auto-detect) |\n| `--reasoning-model \u003Cname>` | Override model for reasoning agents (opus tier) |\n| `--coding-model \u003Cname>` | Override model for coding agents (sonnet tier) |\n| `--efficiency-model \u003Cname>` | Override model for efficiency agents (haiku tier) |\n| `--filter \u003Cpattern>` | Only deploy agents matching glob pattern (e.g., `*architect*`) |\n| `--filter-role \u003Crole>` | Only deploy agents of specified role: reasoning, coding, efficiency |\n| `--save` | Persist model selection to project models.json |\n| `--force` | Force redeploy even if already up-to-date |\n| `--dry-run` | Show what would be done without executing |\n\n## Execution Steps\n\nAny removal list requires explicit human review of the listed removals before execution.\nAuthorization lookup must never bypass that review, even with a receipt for other effects.\n\n### Step 1: Show Current Status\n\nRun status check and report current state:\n\n```bash\naiwg -status\n```\n\nReport:\n\n```text\nAIWG Refresh - Current Status\n==============================\n\nCLI Version: 1.2.3 (stable channel)\nWorkspace: \u002Fpath\u002Fto\u002Fproject\u002F.aiwg\n\nInstalled Frameworks:\n  - sdlc-complete v1.0.0 (58 agents, 48 commands)\n  - aiwg-utils v1.0.0 (3 agents, 25 commands)\n\nPlatform: Claude Code (.claude\u002F)\n  - Agents: 61 deployed\n  - Commands: 73 deployed\n```\n\n### Step 2: Update CLI (if --update-cli)\n\nIf `--update-cli` flag is set:\n\n```bash\naiwg -update\n```\n\nReport update status:\n\n```text\nChecking for updates...\n  Current: 1.2.3\n  Latest:  1.2.5\n\nUpdating AIWG CLI...\n✓ Updated to v1.2.5\n\nChanges in v1.2.5:\n  - New mutation-analyst agent\n  - Testing-quality addon\n  - Bug fixes\n```\n\nIf already up-to-date:\n\n```text\nAIWG CLI is up-to-date (v1.2.3)\n```\n\n### Step 3: Determine What to Redeploy\n\nBased on flags, determine scope:\n\n| Flags | Action |\n|-------|--------|\n| No flags | Show status only, prompt for action |\n| `--all` | Redeploy all installed frameworks |\n| `--sdlc` | Redeploy sdlc-complete only |\n| `--marketing` | Redeploy media-marketing-kit only |\n| `--utils` | Redeploy aiwg-utils addon only |\n| Multiple | Redeploy specified frameworks |\n\nIf no framework flags and not `--dry-run`, ask user:\n\n```text\nWhat would you like to refresh?\n\n[1] All frameworks (sdlc-complete, aiwg-utils)\n[2] SDLC framework only\n[3] Utils addon only\n[4] Just show status (no changes)\n\nChoice:\n```\n\n### Step 4: Detect Target Platform\n\nIf `--provider` not specified, auto-detect:\n\n1. Check existing deployments:\n   - `.claude\u002Fagents\u002F` exists → claude\n   - `.factory\u002Fdroids\u002F` exists → factory\n   - `.codex\u002Fagents\u002F` exists → openai\n   - `.cursor\u002Frules\u002F` exists → cursor\n\n2. If multiple detected, ask user:\n\n   ```text\n   Multiple platforms detected:\n   [1] Claude Code (.claude\u002F)\n   [2] Factory AI (.factory\u002F)\n\n   Which platform to refresh?\n   ```\n\n3. If none detected, default to claude\n\nReport:\n\n```text\nTarget platform: Claude Code\nDeployment paths:\n  - Agents: .claude\u002Fagents\u002F\n  - Commands: .claude\u002Fcommands\u002F\n```\n\n### Step 5: Execute Redeploy\n\nFor each framework to deploy:\n\n```bash\n# SDLC Framework\naiwg use sdlc --provider \u003Cplatform> --force [model-flags] [filter-flags]\n\n# Marketing Framework\naiwg use marketing --provider \u003Cplatform> --force [model-flags] [filter-flags]\n\n# Utils (included with sdlc)\n# No separate command needed\n```\n\n**Model flags** (if specified):\n- `--reasoning-model \u003Cname>` - applies to all opus-tier agents\n- `--coding-model \u003Cname>` - applies to all sonnet-tier agents\n- `--efficiency-model \u003Cname>` - applies to all haiku-tier agents\n\n**Filter flags** (if specified):\n- `--filter \u003Cpattern>` - only deploys matching agents\n- `--filter-role \u003Crole>` - only deploys agents of specified role\n\n**If `--dry-run`:**\nShow commands without executing:\n\n```text\nDry Run - Would execute:\n========================\n\n1. aiwg use sdlc --provider claude --force --reasoning-model opus-4-2\n   → Deploy 58 agents to .claude\u002Fagents\u002F (reasoning tier with opus-4-2)\n   → Deploy 48 commands to .claude\u002Fcommands\u002F\n\n2. aiwg use marketing --provider claude --force --reasoning-model opus-4-2\n   → Deploy 37 agents to .claude\u002Fagents\u002F (reasoning tier with opus-4-2)\n   → Deploy 20 commands to .claude\u002Fcommands\u002F\n\nNo changes made (dry run mode)\n```\n\n**Progress Reporting:**\n\n```text\nRefreshing AIWG Deployment\n==========================\n\n[1\u002F2] Deploying sdlc-complete...\n  → Copying 58 agents...\n  → Copying 48 commands...\n  → Copying 12 templates...\n  ✓ sdlc-complete deployed\n\n[2\u002F2] Deploying aiwg-utils...\n  → Copying 3 agents...\n  → Copying 25 commands...\n  ✓ aiwg-utils deployed\n```\n\n### Step 6: Verify Deployment\n\nAfter deployment, verify:\n\n```bash\n# Count deployed assets\nls .claude\u002Fagents\u002F*.md 2>\u002Fdev\u002Fnull | wc -l\nls .claude\u002Fcommands\u002F*.md 2>\u002Fdev\u002Fnull | wc -l\n```\n\nReport:\n\n```text\nVerification\n============\n\nDeployed Assets:\n  - Agents: 95 files\n  - Commands: 93 files\n\nPlatform Files:\n  - CLAUDE.md: Present\n  - .claude\u002Fsettings.local.json: Present\n\nAll assets deployed successfully!\n```\n\n### Step 7: Summary Report\n\n```text\nAIWG Refresh Complete\n=====================\n\nCLI:\n  Version: 1.2.5 (updated from 1.2.3)\n\nFrameworks Deployed:\n  ✓ sdlc-complete v1.0.0 (58 agents, 48 commands)\n  ✓ aiwg-utils v1.0.0 (3 agents, 25 commands)\n\nPlatform: Claude Code\n  - .claude\u002Fagents\u002F: 61 files\n  - .claude\u002Fcommands\u002F: 73 files\n\nNew capabilities available:\n  - \u002Fsetup-tdd - TDD enforcement setup\n  - \u002Fflow-test-strategy-execution - Test execution workflow\n  - mutation-analyst agent - Test quality analysis\n\nSession ready - new features are now available!\n```\n\nIf the installation update fails but re-deployment completes, do not use the\nunqualified `AIWG Refresh Complete` summary above. Report **AIWG Refresh\nPartial Recovery**, repeat the update failure, and warn that AIWG may remain on\nthe previous version. When relaying quiet output, preserve the CLI status\n`refreshed-with-update-failure` so automation can distinguish this result from\na successful package update.\n\n## Examples\n\n```bash\n# Check status only\n\u002Faiwg-refresh\n\n# Update CLI and redeploy everything\n\u002Faiwg-refresh --update-cli --all\n\n# Just redeploy SDLC framework\n\u002Faiwg-refresh --sdlc\n\n# Switch to Factory AI deployment\n\u002Faiwg-refresh --all --provider factory\n\n# Preview what would happen\n\u002Faiwg-refresh --all --dry-run\n\n# Force refresh even if up-to-date\n\u002Faiwg-refresh --all --force\n\n# Redeploy with custom reasoning model\n\u002Faiwg-refresh --all --reasoning-model claude-opus-4-2\n\n# Redeploy with custom models for all tiers\n\u002Faiwg-refresh --all --reasoning-model opus-4-2 --coding-model sonnet-5 --efficiency-model haiku-4\n\n# Redeploy and save model selection for future deploys\n\u002Faiwg-refresh --all --coding-model claude-sonnet-5-0 --save\n\n# Only update architect agents with new reasoning model\n\u002Faiwg-refresh --sdlc --filter \"*architect*\" --reasoning-model opus-4-2\n\n# Only update reasoning-tier agents\n\u002Faiwg-refresh --all --filter-role reasoning --reasoning-model custom-reasoning\n```\n\n## Natural Language Triggers\n\nThis command should activate when user says:\n\n- \"refresh aiwg\" \u002F \"update aiwg\"\n- \"redeploy frameworks\" \u002F \"redeploy agents\"\n- \"get latest aiwg features\"\n- \"update my aiwg tools\"\n- \"sync aiwg deployment\"\n- \"change agent models\" \u002F \"switch to opus\" \u002F \"use different model\"\n- \"redeploy with custom models\"\n- \"update reasoning agents\" \u002F \"update architect agents\"\n\n## Error Handling\n\n| Condition | Action |\n|-----------|--------|\n| AIWG CLI not found | Error: \"AIWG CLI not installed. Run: curl -fsSL ... \\| bash\" |\n| Network or package error on update | Warn, continue re-deployment, and report partial recovery with `refreshed-with-update-failure` |\n| Framework not installed | Offer to install: \"SDLC not installed. Install now? [y\u002FN]\" |\n| Permission denied | Error with specific file\u002Fdirectory that failed |\n| Invalid provider | Error listing valid providers |\n\n## Post-Refresh Recommendations\n\nAfter refresh, suggest:\n\n```text\nRecommended next steps:\n1. Review new features: aiwg -help\n2. Check framework docs: \u002Faiwg-kb sdlc\n3. Run health check: aiwg doctor\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fdocs\u002Fdevelopment\u002Ffile-placement-guide.md - Correct file placement workflow\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fcommands\u002Faiwg-regenerate.md - Context file regeneration\n- @$AIWG_ROOT\u002Fdocs\u002FCLI_USAGE.md - Full CLI documentation\n","> **Deterministic execution (#1267)**: this skill has a `script:` entrypoint\n> that shells out to `aiwg refresh \"$@\"`. Prefer\n> `aiwg run skill aiwg-refresh -- \u003Cflags>` when a platform supports it; on\n> platforms without a deployed command stub (e.g. hermes) invoke the CLI\n> directly. The CLI owns the deterministic execution step: version\u002Fchannel\n> resolution, CLI update, framework redeploy, provider detection, and exit\n> codes. The skill owns the agentic layer around that step: intent alignment,\n> output formatting, workspace-state reconciliation, summary, next actions,\n> gates, and recovery. Do not reimplement the refresh manually or add\n> redundant permission prompts before calling the CLI for execution.\n\n# Refresh AIWG Deployment\n\nUpdate the AIWG CLI and\u002For redeploy frameworks, agents, commands, and tools to the current\nproject without leaving the agentic session.\n\n## Use Cases\n\n- **After AIWG updates**: Get latest framework features without restarting\n- **After switching branches**: Ensure deployed content matches expectations\n- **After manual edits**: Restore canonical AIWG content\n- **Provider switch**: Redeploy for different platform (Claude → Factory)\n- **Model selection**: Redeploy with different AI models for each tier\n\n## Parameters\n\n| Flag | Description |\n|------|-------------|\n| `--update-cli` | Update AIWG CLI to latest version before redeploying |\n| `--all` | Redeploy all installed frameworks |\n| `--sdlc` | Redeploy SDLC framework only |\n| `--marketing` | Redeploy Marketing framework only |\n| `--utils` | Redeploy aiwg-utils addon only |\n| `--provider \u003Cname>` | Target platform: claude, factory, openai, cursor, warp (default: auto-detect) |\n| `--reasoning-model \u003Cname>` | Override model for reasoning agents (opus tier) |\n| `--coding-model \u003Cname>` | Override model for coding agents (sonnet tier) |\n| `--efficiency-model \u003Cname>` | Override model for efficiency agents (haiku tier) |\n| `--filter \u003Cpattern>` | Only deploy agents matching glob pattern (e.g., `*architect*`) |\n| `--filter-role \u003Crole>` | Only deploy agents of specified role: reasoning, coding, efficiency |\n| `--save` | Persist model selection to project models.json |\n| `--force` | Force redeploy even if already up-to-date |\n| `--dry-run` | Show what would be done without executing |\n\n## Execution Steps\n\nAny removal list requires explicit human review of the listed removals before execution.\nAuthorization lookup must never bypass that review, even with a receipt for other effects.\n\n### Step 1: Show Current Status\n\nRun status check and report current state:\n\n```bash\naiwg -status\n```\n\nReport:\n\n```text\nAIWG Refresh - Current Status\n==============================\n\nCLI Version: 1.2.3 (stable channel)\nWorkspace: \u002Fpath\u002Fto\u002Fproject\u002F.aiwg\n\nInstalled Frameworks:\n  - sdlc-complete v1.0.0 (58 agents, 48 commands)\n  - aiwg-utils v1.0.0 (3 agents, 25 commands)\n\nPlatform: Claude Code (.claude\u002F)\n  - Agents: 61 deployed\n  - Commands: 73 deployed\n```\n\n### Step 2: Update CLI (if --update-cli)\n\nIf `--update-cli` flag is set:\n\n```bash\naiwg -update\n```\n\nReport update status:\n\n```text\nChecking for updates...\n  Current: 1.2.3\n  Latest:  1.2.5\n\nUpdating AIWG CLI...\n✓ Updated to v1.2.5\n\nChanges in v1.2.5:\n  - New mutation-analyst agent\n  - Testing-quality addon\n  - Bug fixes\n```\n\nIf already up-to-date:\n\n```text\nAIWG CLI is up-to-date (v1.2.3)\n```\n\n### Step 3: Determine What to Redeploy\n\nBased on flags, determine scope:\n\n| Flags | Action |\n|-------|--------|\n| No flags | Show status only, prompt for action |\n| `--all` | Redeploy all installed frameworks |\n| `--sdlc` | Redeploy sdlc-complete only |\n| `--marketing` | Redeploy media-marketing-kit only |\n| `--utils` | Redeploy aiwg-utils addon only |\n| Multiple | Redeploy specified frameworks |\n\nIf no framework flags and not `--dry-run`, ask user:\n\n```text\nWhat would you like to refresh?\n\n[1] All frameworks (sdlc-complete, aiwg-utils)\n[2] SDLC framework only\n[3] Utils addon only\n[4] Just show status (no changes)\n\nChoice:\n```\n\n### Step 4: Detect Target Platform\n\nIf `--provider` not specified, auto-detect:\n\n1. Check existing deployments:\n   - `.claude\u002Fagents\u002F` exists → claude\n   - `.factory\u002Fdroids\u002F` exists → factory\n   - `.codex\u002Fagents\u002F` exists → openai\n   - `.cursor\u002Frules\u002F` exists → cursor\n\n2. If multiple detected, ask user:\n\n   ```text\n   Multiple platforms detected:\n   [1] Claude Code (.claude\u002F)\n   [2] Factory AI (.factory\u002F)\n\n   Which platform to refresh?\n   ```\n\n3. If none detected, default to claude\n\nReport:\n\n```text\nTarget platform: Claude Code\nDeployment paths:\n  - Agents: .claude\u002Fagents\u002F\n  - Commands: .claude\u002Fcommands\u002F\n```\n\n### Step 5: Execute Redeploy\n\nFor each framework to deploy:\n\n```bash\n# SDLC Framework\naiwg use sdlc --provider \u003Cplatform> --force [model-flags] [filter-flags]\n\n# Marketing Framework\naiwg use marketing --provider \u003Cplatform> --force [model-flags] [filter-flags]\n\n# Utils (included with sdlc)\n# No separate command needed\n```\n\n**Model flags** (if specified):\n- `--reasoning-model \u003Cname>` - applies to all opus-tier agents\n- `--coding-model \u003Cname>` - applies to all sonnet-tier agents\n- `--efficiency-model \u003Cname>` - applies to all haiku-tier agents\n\n**Filter flags** (if specified):\n- `--filter \u003Cpattern>` - only deploys matching agents\n- `--filter-role \u003Crole>` - only deploys agents of specified role\n\n**If `--dry-run`:**\nShow commands without executing:\n\n```text\nDry Run - Would execute:\n========================\n\n1. aiwg use sdlc --provider claude --force --reasoning-model opus-4-2\n   → Deploy 58 agents to .claude\u002Fagents\u002F (reasoning tier with opus-4-2)\n   → Deploy 48 commands to .claude\u002Fcommands\u002F\n\n2. aiwg use marketing --provider claude --force --reasoning-model opus-4-2\n   → Deploy 37 agents to .claude\u002Fagents\u002F (reasoning tier with opus-4-2)\n   → Deploy 20 commands to .claude\u002Fcommands\u002F\n\nNo changes made (dry run mode)\n```\n\n**Progress Reporting:**\n\n```text\nRefreshing AIWG Deployment\n==========================\n\n[1\u002F2] Deploying sdlc-complete...\n  → Copying 58 agents...\n  → Copying 48 commands...\n  → Copying 12 templates...\n  ✓ sdlc-complete deployed\n\n[2\u002F2] Deploying aiwg-utils...\n  → Copying 3 agents...\n  → Copying 25 commands...\n  ✓ aiwg-utils deployed\n```\n\n### Step 6: Verify Deployment\n\nAfter deployment, verify:\n\n```bash\n# Count deployed assets\nls .claude\u002Fagents\u002F*.md 2>\u002Fdev\u002Fnull | wc -l\nls .claude\u002Fcommands\u002F*.md 2>\u002Fdev\u002Fnull | wc -l\n```\n\nReport:\n\n```text\nVerification\n============\n\nDeployed Assets:\n  - Agents: 95 files\n  - Commands: 93 files\n\nPlatform Files:\n  - CLAUDE.md: Present\n  - .claude\u002Fsettings.local.json: Present\n\nAll assets deployed successfully!\n```\n\n### Step 7: Summary Report\n\n```text\nAIWG Refresh Complete\n=====================\n\nCLI:\n  Version: 1.2.5 (updated from 1.2.3)\n\nFrameworks Deployed:\n  ✓ sdlc-complete v1.0.0 (58 agents, 48 commands)\n  ✓ aiwg-utils v1.0.0 (3 agents, 25 commands)\n\nPlatform: Claude Code\n  - .claude\u002Fagents\u002F: 61 files\n  - .claude\u002Fcommands\u002F: 73 files\n\nNew capabilities available:\n  - \u002Fsetup-tdd - TDD enforcement setup\n  - \u002Fflow-test-strategy-execution - Test execution workflow\n  - mutation-analyst agent - Test quality analysis\n\nSession ready - new features are now available!\n```\n\nIf the installation update fails but re-deployment completes, do not use the\nunqualified `AIWG Refresh Complete` summary above. Report **AIWG Refresh\nPartial Recovery**, repeat the update failure, and warn that AIWG may remain on\nthe previous version. When relaying quiet output, preserve the CLI status\n`refreshed-with-update-failure` so automation can distinguish this result from\na successful package update.\n\n## Examples\n\n```bash\n# Check status only\n\u002Faiwg-refresh\n\n# Update CLI and redeploy everything\n\u002Faiwg-refresh --update-cli --all\n\n# Just redeploy SDLC framework\n\u002Faiwg-refresh --sdlc\n\n# Switch to Factory AI deployment\n\u002Faiwg-refresh --all --provider factory\n\n# Preview what would happen\n\u002Faiwg-refresh --all --dry-run\n\n# Force refresh even if up-to-date\n\u002Faiwg-refresh --all --force\n\n# Redeploy with custom reasoning model\n\u002Faiwg-refresh --all --reasoning-model claude-opus-4-2\n\n# Redeploy with custom models for all tiers\n\u002Faiwg-refresh --all --reasoning-model opus-4-2 --coding-model sonnet-5 --efficiency-model haiku-4\n\n# Redeploy and save model selection for future deploys\n\u002Faiwg-refresh --all --coding-model claude-sonnet-5-0 --save\n\n# Only update architect agents with new reasoning model\n\u002Faiwg-refresh --sdlc --filter \"*architect*\" --reasoning-model opus-4-2\n\n# Only update reasoning-tier agents\n\u002Faiwg-refresh --all --filter-role reasoning --reasoning-model custom-reasoning\n```\n\n## Natural Language Triggers\n\nThis command should activate when user says:\n\n- \"refresh aiwg\" \u002F \"update aiwg\"\n- \"redeploy frameworks\" \u002F \"redeploy agents\"\n- \"get latest aiwg features\"\n- \"update my aiwg tools\"\n- \"sync aiwg deployment\"\n- \"change agent models\" \u002F \"switch to opus\" \u002F \"use different model\"\n- \"redeploy with custom models\"\n- \"update reasoning agents\" \u002F \"update architect agents\"\n\n## Error Handling\n\n| Condition | Action |\n|-----------|--------|\n| AIWG CLI not found | Error: \"AIWG CLI not installed. Run: curl -fsSL ... \\| bash\" |\n| Network or package error on update | Warn, continue re-deployment, and report partial recovery with `refreshed-with-update-failure` |\n| Framework not installed | Offer to install: \"SDLC not installed. Install now? [y\u002FN]\" |\n| Permission denied | Error with specific file\u002Fdirectory that failed |\n| Invalid provider | Error listing valid providers |\n\n## Post-Refresh Recommendations\n\nAfter refresh, suggest:\n\n```text\nRecommended next steps:\n1. Review new features: aiwg -help\n2. Check framework docs: \u002Faiwg-kb sdlc\n3. Run health check: aiwg doctor\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fdocs\u002Fdevelopment\u002Ffile-placement-guide.md - Correct file placement workflow\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fcommands\u002Faiwg-regenerate.md - Context file regeneration\n- @$AIWG_ROOT\u002Fdocs\u002FCLI_USAGE.md - Full CLI documentation\n",{"name":5,"kernel":54,"script":55,"namespace":60,"platforms":61,"description":7},true,{"cwd":56,"runtime":57,"argsHint":58,"entrypoint":59},"project-root","bash","[--update-cli] [--all] [--provider \u003Cname>] [--dry-run] [--channel \u003Cname>]","run.sh","aiwg",[62],"all","main","ac56f6a215342ed836e51f1945653968b95edd64","agentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Faiwg-refresh",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":74,"prompt":84,"zipAvailable":54},[75,78,81],{"tool":76,"command":77},"npx","npx skills add jmagly\u002Faiwg --skill aiwg-refresh",{"tool":79,"command":80},"bunx","bunx skills add jmagly\u002Faiwg --skill aiwg-refresh",{"tool":82,"command":83},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill aiwg-refresh","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Faiwg-refresh\u002FSKILL.md",[86],{"path":59,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"SCRIPT","脚本",436,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Faiwg-refresh\u002Frun.sh",[92,100,105,131,151,156],{"skillNo":93,"name":94,"nameZh":17,"description":95,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"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":101,"name":94,"nameZh":17,"description":95,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":99},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":17,"description":108,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":49},"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",[],[112,113,114,115,116,117,118,119,120,121,122,123,124,45,125,126,127,128,129,130],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":132,"name":133,"nameZh":17,"description":134,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":49},"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",[],[138,139,140,141,142,143,117,144,123,129,45,145,113,146,126,147,148,130,149,150],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":152,"name":107,"nameZh":17,"description":108,"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":49},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[112,113,114,128,129,130,124,127,120,116,117,118,119,121,122,123,115,45,125,126],{"skillNo":157,"name":133,"nameZh":17,"description":134,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":49},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[138,139,150,149,142,148,147,126,141,143,117,144,123,140,45,145,113,130,129,146]]