agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Display all available AIWG CLI commands, their arguments, and usage examples
$ npx -y skills add jmagly/aiwg --skill aiwg-help --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/aiwg-helpContext preview
The summary Claude sees to decide when to auto-load this skill.
Display all available AIWG CLI commands, their arguments, and usage examples
name: aiwg-help namespace: aiwg platforms: [all] kernel: true description: Display all available AIWG CLI commands, their arguments, and usage examples
You display all available AIWG CLI commands, their arguments, and usage examples.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
| Pattern | Example | Action | |---------|---------|--------| | General help | "help" / "show help" | Run `aiwg help` | | Command listing | "what commands are available" | Run `aiwg help` | | Usage question | "how do I use aiwg" | Run `aiwg help` | | Capability query | "what can aiwg do" | Run `aiwg help` | | Command discovery | "list aiwg commands" | Run `aiwg help` |
When triggered:
1. **Extract intent**: Determine whether the user wants the full command listing or is asking about a specific command or category. If a specific command is mentioned (e.g. "help with ralph"), direct the user to the relevant section.
2. **Run the appropriate command**:
# Full help output aiwg help
The help command is built into the CLI registry and requires no external tools. It renders command groups (Framework, Project, Workspace, MCP Server, Toolsmith, Catalog, **Discovery**, **Dispatch**, **Features**, Scaffolding, Ralph Loop, Maintenance, Channel) with aligned descriptions.
Discovery commands (`discover`, `show`, `index`) are the canonical way to find and read AIWG skills/agents/commands/rules — most of AIWG's surface lives outside the always-loaded kernel set and is reachable only via these commands. Dispatch commands (`run skill <name>`, `run <script>`) execute script-bearing skills and user-defined scripts.
3. **Report the result** inline — present the command groups and highlight the most relevant section if the user expressed a specific area of interest.
**User**: "What commands does AIWG have?"
**Extraction**: Full command listing requested, no specific area mentioned
**Action**:
aiwg help
**Response**: "Here are all available AIWG commands: [output]. The most commonly used are `aiwg use <framework>` to deploy a framework, `aiwg discover \"<phrase>\"` to find skills by capability, `aiwg doctor` to check health, and `aiwg refresh` to pull the latest version and redeploy."
**User**: "How do I use the agent loop commands?"
**Extraction**: User wants help scoped to the Agent Loop category
**Action**:
aiwg help
**Response**: "The Agent Loop commands are: `aiwg ralph \"<task>\"` to start an iterative loop, `aiwg ralph-status` to check progress, `aiwg ralph-abort` to stop, and `aiwg ralph-resume` to continue an interrupted loop. Pass `--completion \"<criteria>\"` to define when the loop should stop."
**User**: "usage"
**Extraction**: User wants the usage summary
**Action**:
aiwg help
**Response**: "Usage: `aiwg <command> [options]`. Run `aiwg help` for the full command listing, or ask about a specific command."
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