KhairallahA

Agent Autosave — Productivity skill for Claude Code

Productivity community

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 codex asks 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._

![agent-autosave go: Claude Code writes a handoff note at 88%, hits its limit, and Codex starts with the plan, the failing test and a remembered decision](https://raw.githubusercontent.com/KhairallahA/agent-autosave/main/docs/demo.gif)

The GIF is a real run of agent-autosave with scripted stand-ins for both agents ([