agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Batch package every AIWG/Codex marketplace wrapper in the workspace into distributable plugin archives — runs package-plugin for all wrappers at once
$ npx -y skills add jmagly/aiwg --skill package-all-plugins --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/package-all-pluginsContext preview
The summary Claude sees to decide when to auto-load this skill.
Batch package every AIWG/Codex marketplace wrapper in the workspace into distributable plugin archives — runs package-plugin for all wrappers at once
namespace: aiwg name: package-all-plugins platforms: [all] description: Batch package every AIWG/Codex marketplace wrapper in the workspace into distributable plugin archives — runs package-plugin for all wrappers at once
You run `package-plugin` for every marketplace wrapper in the workspace in a single batch operation. This is **plugin packaging** — it produces AIWG/Codex plugin archives that wrap extension, addon, or framework payloads. It is **not** native/language-toolchain release packaging (Rust crates, `.deb`/`.rpm`, container images, GHCR, or release-asset checksums). For native or full release-pipeline work use `flow-release` / `release-publication-verify`, not this skill.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description). These intentionally all name **plugins** so the skill ranks for plugin packaging and not for native release-engineering queries:
| Pattern | Example | Action | |---------|---------|--------| | Package all | "package all plugins" | Run `aiwg package-all-plugins` | | Bundle all | "bundle all plugins" | Run `aiwg package-all-plugins` | | Batch package | "batch package plugins" | Run `aiwg package-all-plugins` | | Dry run all | "validate all plugins before packaging" | Run `aiwg package-all-plugins --dry-run` |
When triggered:
1. **Extract intent**:
2. **Run the appropriate command**:
# Package all plugins (archive only, no publish) aiwg package-all-plugins # Validate all plugins — no archives created aiwg package-all-plugins --dry-run # Package all Codex wrappers aiwg package-all-plugins --provider codex # Clean generated output before rebuilding aiwg package-all-plugins --clean
3. **Report the result** — list each marketplace wrapper with its status (packaged, failed, skipped), total count, and any errors.
Packaging all plugins (4)... sdlc ✓ generated agentic/code/plugins/sdlc voice ✓ generated agentic/code/plugins/voice marketing ✓ generated agentic/code/plugins/marketing utils ✗ failed source validation error Packaged: 3 / 4 Failed: 1 (utils)
The batch reports an error and exits non-zero when packaging cannot complete.
`package-all-plugins` uses the same packager as `package-plugin`. Supported shared flags are `--provider`, `--clean`, and `--dry-run`.
**User**: "Package all plugins for the release"
**Extraction**: Full batch, no publish
**Action**:
aiwg package-all-plugins
**Response**: "Generated 4/4 wrappers under `agentic/code/plugins/`."
**User**: "Validate all plugins before I tag the release"
**Extraction**: Dry-run requested
**Action**:
aiwg package-all-plugins --dry-run
**Response**: "Dry run: 4 plugins validated. 3 passed. 1 error: utils plugin — soul-blend/SKILL.md missing required field `id`. Fix and re-run."
**User**: "Package every plugin for Codex"
**Extraction**: Batch package for Codex
**Action**:
aiwg package-all-plugins --provider codex
**Response**: "Generated every supported Codex plugin wrapper."
**User**: "Clean and rebuild all plugin wrappers"
**Extraction**: Clean existing generated output and rebuild
**Action**:
aiwg package-all-plugins --clean
**Response**: "Cleaned and regenerated all supported plugin wrappers."
Earlier skill revisions documented `--publish`, `--bump`, `--output`, `--continue-on-error`, and `--abort-on-error`; the packager never implemented those flags. They are intentionally removed from the command contract. Use the repository release workflow for publication and update authoritative manifests separately before packaging.
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