agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Ensure the session's AIWG installation is current and correctly deployed to the active provider
$ npx -y skills add jmagly/aiwg --skill aiwg-sync --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/aiwg-syncContext preview
The summary Claude sees to decide when to auto-load this skill.
Ensure the session's AIWG installation is current and correctly deployed to the active provider
namespace: aiwg name: aiwg-sync platforms: [all] description: Ensure the session's AIWG installation is current and correctly deployed to the active provider
You ensure the current session's AIWG installation is up-to-date and correctly deployed to the active provider.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
| Pattern | Example | Action | |---------|---------|--------| | Sync request | "make sure AIWG is current" | Run `aiwg sync` | | Version check | "is AIWG up to date?" | Run `aiwg sync --dry-run` | | Update request | "update AIWG" | Run `aiwg sync` | | Refresh request | "refresh the framework" | Run `aiwg sync` | | Provider deploy | "deploy latest to copilot" | Run `aiwg sync --provider copilot` | | Dry run | "check if AIWG needs updating" | Run `aiwg sync --dry-run` |
When triggered:
1. **Extract intent**:
2. **Run the appropriate command**:
# Default: full sync aiwg sync # Check only (no changes) aiwg sync --dry-run # Provider-specific aiwg sync --provider copilot # Specific frameworks only aiwg sync --frameworks sdlc,rlm # Machine-readable (for orchestration) aiwg sync --quiet
3. **Report the result** inline — summarize what changed or what would change.
**User**: "Is AIWG up to date?"
**Extraction**: Check-only request, no provider specified
**Action**:
aiwg sync --dry-run
**Response**: "AIWG is current (v2026.3.15). All 2 frameworks are deployed to claude-code. No changes needed."
**User**: "Make sure we're running the latest AIWG"
**Extraction**: Full sync requested
**Action**:
aiwg sync
**Response**: "Updated AIWG 2026.3.12 -> 2026.3.15 and re-deployed sdlc-complete to claude-code. Health check passed."
**User**: "Deploy the latest AIWG to GitHub Copilot"
**Extraction**: Sync to copilot provider
**Action**:
aiwg sync --provider copilot
**Response**: "Synced AIWG to copilot. SDLC framework deployed to .github/agents/ and .github/copilot-instructions.md."
If the user's intent is ambiguous:
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Repo: jmagly/aiwg
Crash-resilient external agent loop with state persistence and CI/CD integration
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Enable agent loops to learn from similar past tasks and share patterns across loops
Query and manage the executable feedback debug memory
Execute tests on generated code and iterate until passing