/agent-persistence
Enable and explain the reusable human-in-the-loop gates used by persistent agent loops for destructive actions, false-positive overrides, and recovery escalation.
$ npx -y skills add jmagly/aiwg --skill agent-persistence --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/agent-persistence
Context preview
The summary Claude sees to decide when to auto-load this skill.
Enable and explain the reusable human-in-the-loop gates used by persistent agent loops for destructive actions, false-positive overrides, and recovery escalation.
SKILL.md
agent-persistence.SKILL.mdnamespace: aiwg name: agent-persistence platforms: [all] description: Enable and explain the reusable human-in-the-loop gates used by persistent agent loops for destructive actions, false-positive overrides, and recovery escalation. triggers: - enable agent persistence gates - configure human checkpoints for agent loops - add destructive action authorization - configure recovery escalation gates
Agent Persistence
Use this driver to activate or understand the `agent-persistence` addon:
aiwg use agent-persistence
The addon supplies deterministic gate definitions, not a replacement loop runtime. Compose it with `agent-loop` or another orchestrator that supports human checkpoints.
Canonical gates
- `destructive-action-gate.yaml` requires authorization before destructive work.
- `false-positive-override-gate.yaml` records reviewed policy overrides.
- `recovery-escalation-gate.yaml` escalates bounded recovery failures.
Read the gate contract before integrating it, preserve its authorization boundary, and use the owning loop's status surface to verify activation.
References
- @$AIWG_ROOT/agentic/code/addons/agent-persistence/docs/hitl-integration.md
- @$AIWG_ROOT/agentic/code/addons/agent-loop/skills/agent-loop/SKILL.md
Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace.
Repo: jmagly/aiwg
Other skills on aiwg.
- /agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Open skill - /agent-loop
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Open skill - /auto-test-execution
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Open skill - /cross-task-learner
Enable agent loops to learn from similar past tasks and share patterns across loops
Open skill - /debug-memory
Query and manage the executable feedback debug memory
Open skill - /execute-feedback
Execute tests on generated code and iterate until passing
Open skill

