Agent Autosave — Productivity skill for Claude Code
One task, many agents.
How to install Agent Autosave
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open KhairallahA/agent-autosave and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Autosave does
One task, many agents. A portable .autosave/ folder that saves what your coding agent was doing and hands it to the next one: Claude Code, Codex, Cursor, Gemini CLI, Antigravity, Copilot CLI or OpenCode.
Alternatives in Productivity
- Run Discovery — Workflow recipe — go from a vague opportunity to validated insight and a prioritised next step by chaining 4 s 1.3k ★
- Schedule List — List all scheduled tasks with their status and next run times (project) 510 ★
- Obsidian Capture — Quick idea capture — zero friction, saves to Ideas/ and mentions in daily note 277 ★
README
agent-autosave
**Your coding agent autosaves as it works. When it stops, the next agent loads the save and carries on.**
agent-autosave works with **Claude Code**, **Codex**, **Cursor**, **Gemini CLI**, **Antigravity**, **GitHub Copilot CLI**, **OpenCode** and, through `AGENTS.md`, any other agent that runs shell commands. It does three things:
- It saves. The agent's hooks record the goal, the plan, every command
and its exit code, the files it touched, how close it is to its usage
limit and why it stopped, into
.autosave/in your repository. A pure compiler folds that ledger into one save, with no model involved. - It hands off. When the agent hits its limit, crashes or you close it,
the next session (the same agent, or a different one) starts with the
save.
agent-autosave go claude-code codexasks once when Claude Code runs out and starts Codex where it stopped. Near the limit the agent is asked to write a handoff note first. - It remembers. Decisions and dead ends the agents note become
candidates you review; what you accept goes into a plain
MEMORY.md(in the repo or your Obsidian vault) that later sessions are given. Every finished task gets a journal page.
**▶ Demo video: coming soon.** _Placeholder for the real recording of Claude Code hitting its limit and Codex finishing the task._

The GIF is a real run of agent-autosave with scripted stand-ins for both agents ([
Related Skills
Relay Task Kernel
One handoff contract that Claude Code, Codex, Gemini CLI and Copilot all read. Zero-dependency CLI for shared
Claw Hooks
Simple TOML hooks for Claude Code, Cursor, Windsurf, Antigravity CLI, Codex CLI, Grok CLI - Command blocking,
Ielts Writing Logic
A cross-platform Agent Skill for IELTS Writing Task 1/2 guidance, essay review, and Socratic practice. Support
Omarchy Auto Pilot4agents
Write a prompt now and send it later to a Claude Code, OpenCode, Codex, Gemini CLI, Cursor Agent or Pi session
Agent Complete Task
A strict, goal-focused brief that makes a coding agent (Claude Code, Cursor, Antigravity) finish a task correc
Harness Dispatch
Delegate coding tasks to the agent CLIs you already pay for — a local MCP server routing each task to the best
Related Agents
Gemini Delegate
Delegate broad, purely reading analysis over a lot of material to Gemini (Antigravity CLI) — condense large di
Paf Reviewer
Runs one phone-a-friend relay or review command in the background and reports back a receipt plus the findings
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode