Codex

update

Update AIWG to the latest stable version and re-deploy all installed frameworks from the registry

104 stars

Best use case

update is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

It is a strong fit for teams already working in Codex.

Update AIWG to the latest stable version and re-deploy all installed frameworks from the registry

Teams using update should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/update/SKILL.md --create-dirs "https://raw.githubusercontent.com/jmagly/aiwg/main/.agents/skills/update/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/update/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How update Compares

Feature / AgentupdateStandard Approach
Platform SupportCodexLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Update AIWG to the latest stable version and re-deploy all installed frameworks from the registry

Which AI agents support this skill?

This skill is designed for Codex.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# AIWG Update

You update AIWG to the latest stable version and re-deploy all installed frameworks from the registry.

## Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

- "refresh frameworks" → run `aiwg update`
- "redeploy everything" → run `aiwg update --all`
- "get the latest aiwg" → run `aiwg update`
- "reinstall my frameworks" → run `aiwg update --skip-check`
- "what would update change" → run `aiwg update --dry-run`

## Trigger Patterns Reference

| Pattern | Example | Action |
|---------|---------|--------|
| Update request | "update aiwg" / "upgrade aiwg" | Run `aiwg update` |
| Refresh request | "refresh frameworks" | Run `aiwg update` |
| Full redeploy | "redeploy everything" | Run `aiwg update --all` |
| Dry run | "what would update change" | Run `aiwg update --dry-run` |
| Provider-scoped | "update for copilot" | Run `aiwg update --provider copilot` |
| Skip version check | "just redeploy my frameworks" | Run `aiwg update --skip-check` |

## Behavior

When triggered:

1. **Extract intent**:
   - Should this update everything (`--all`) or only the currently installed frameworks (default)?
   - Is a specific provider mentioned?
   - Is this a preview only (`--dry-run`) or should changes be applied?
   - Is the user asking to redeploy without updating the package (`--skip-check`)?

2. **Run the appropriate command**:

   ```bash
   # Default: check for updates + re-deploy installed frameworks
   aiwg update

   # Re-deploy all frameworks (equivalent to `aiwg use all`)
   aiwg update --all

   # Preview what would be updated (no changes)
   aiwg update --dry-run

   # Re-deploy to a specific provider
   aiwg update --provider copilot

   # Skip version check, only re-deploy
   aiwg update --skip-check

   # Combine flags
   aiwg update --all --provider cursor
   ```

   Execution sequence:
   1. Check npm/git for a newer version (unless `--skip-check`)
   2. Read `.aiwg/frameworks/registry.json` to find installed frameworks
   3. Re-deploy each installed framework via `aiwg use <framework> [--provider <name>]`
   4. Print update summary with per-framework pass/fail status

3. **Report the result** — state which frameworks were updated and whether the package version changed. Flag any deployment failures with remediation (usually `aiwg doctor`).

## Difference from `aiwg sync`

`aiwg update` and `aiwg sync` overlap but serve different intents:

| | `aiwg update` | `aiwg sync` |
|---|---|---|
| Target channel | Stable only (default) | Follows configured channel |
| Scope | Installed frameworks only (default) | All deployed frameworks |
| Typical use | "Get the latest stable release" | "Keep this session current" |

Use `aiwg update` when bumping to a new stable release. Use `aiwg sync` during active development sessions to stay current with the configured channel.

## Examples

### Example 1: Standard update

**User**: "Update AIWG"

**Extraction**: Standard update, no flags

**Action**:
```bash
aiwg update
```

**Response**: "Updated AIWG 2026.3.12 → 2026.3.15. Re-deployed sdlc-complete and media-marketing-kit to claude-code. Both frameworks updated successfully."

### Example 2: Dry run preview

**User**: "What would `aiwg update` change?"

**Extraction**: Preview requested, no changes

**Action**:
```bash
aiwg update --dry-run
```

**Response**: "Dry run: would update from v2026.3.12 to v2026.3.15 and re-deploy the following frameworks: sdlc-complete, media-marketing-kit."

### Example 3: Full redeploy to a provider

**User**: "Redeploy all frameworks to Cursor"

**Extraction**: Full redeploy (`--all`), provider = cursor

**Action**:
```bash
aiwg update --all --provider cursor
```

**Response**: "Re-deployed all frameworks to cursor: sdlc-complete, media-marketing-kit, research-complete. Artifacts written to `.cursor/agents/`, `.cursor/commands/`, `.cursor/rules/`."

### Example 4: Redeploy without version check

**User**: "Just reinstall my frameworks — don't check for updates"

**Extraction**: Skip npm check, only redeploy installed frameworks

**Action**:
```bash
aiwg update --skip-check
```

**Response**: "Skipped version check. Re-deployed sdlc-complete to claude-code. 1/1 frameworks updated."

### Example 5: No frameworks installed

**User**: "Update AIWG"

**Extraction**: Standard update, but registry is empty or missing

**Action**:
```bash
aiwg update
```

**Response**: "No frameworks found in `.aiwg/frameworks/registry.json`. To deploy a framework first, run `aiwg use sdlc` or `aiwg use all`."

## Clarification Prompts

If the request is ambiguous between update and sync:

- "Would you like to update to the latest stable release (`aiwg update`) or sync the current session to your configured channel (`aiwg sync`)?"

## References

- @$AIWG_ROOT/src/cli/handlers/utilities.ts — Update command handler (updateHandler)
- @$AIWG_ROOT/src/update/checker.mjs — npm/git update check logic
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference

Related Skills

issue-update

104
from jmagly/aiwg

Update existing ticket/issue with status changes, comments, or field updates

Codex

aiwg-update-warp

104
from jmagly/aiwg

Update existing project WARP.md with latest AIWG orchestration guidance

Codex

aiwg-update-claude

104
from jmagly/aiwg

Update existing project CLAUDE.md with latest AIWG orchestration guidance

Codex

aiwg-orchestrate

104
from jmagly/aiwg

Route structured artifact work to AIWG workflows via MCP with zero parent context cost

venv-manager

104
from jmagly/aiwg

Create, manage, and validate Python virtual environments. Use for project isolation and dependency management.

pytest-runner

104
from jmagly/aiwg

Execute Python tests with pytest, supporting fixtures, markers, coverage, and parallel execution. Use for Python test automation.

vitest-runner

104
from jmagly/aiwg

Execute JavaScript/TypeScript tests with Vitest, supporting coverage, watch mode, and parallel execution. Use for JS/TS test automation.

eslint-checker

104
from jmagly/aiwg

Run ESLint for JavaScript/TypeScript code quality and style enforcement. Use for static analysis and auto-fixing.

repo-analyzer

104
from jmagly/aiwg

Analyze GitHub repositories for structure, documentation, dependencies, and contribution patterns. Use for codebase understanding and health assessment.

pr-reviewer

104
from jmagly/aiwg

Review GitHub pull requests for code quality, security, and best practices. Use for automated PR feedback and approval workflows.

YouTube Acquisition

104
from jmagly/aiwg

yt-dlp patterns for acquiring content from YouTube and video platforms

Quality Filtering

104
from jmagly/aiwg

Accept/reject logic and quality scoring heuristics for media content