/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.
Claude Code
$ npx -y skills add jmagly/aiwg --skill agent-persistence --agent claude-code
Codex
$ npx skills add jmagly/aiwg --skill agent-persistence -a codex -y
Cursor
$ npx skills add jmagly/aiwg --skill agent-persistence -a cursor -y
Gemini CLI
$ npx skills add jmagly/aiwg --skill agent-persistence -a gemini-cli -y
GitHub Copilot
$ npx skills add jmagly/aiwg --skill agent-persistence -a github-copilot -y
OpenCode
$ npx skills add jmagly/aiwg --skill agent-persistence -a opencode -y
Windsurf
$ npx skills add jmagly/aiwg --skill agent-persistence -a windsurf -y
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
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.
Other skills on aiwg.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about agent-persistence.
- Which coding agents can use agent-persistence?
- agent-persistence installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

