Skip to content
Agentmart
Submit a tool

multi-tool-failover

Manage session continuity when switching between Claude Code, Codex CLI, Cursor, Antigravity, Kiro, or local LLMs (OpenCode, Aider).

Skill by MILTONADINA

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/miltonadina-multi-tool-failover

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Manage session continuity when switching between Claude Code, Codex CLI, Cursor, Antigravity, Kiro, or local LLMs (OpenCode, Aider). Use when approaching session limits, switching to a different tool's strengths, or when one tool fails and another must continue. Relies on the baton protocol and universal SKILL.md format.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/multi-tool-failover

What's inside

Skill name
multi-tool-failover
Description
Manage session continuity when switching between Claude Code, Codex CLI, Cursor, Antigravity, Kiro, or local LLMs (OpenCode, Aider). Use when approaching session limits, switching to a different tool's strengths, or when one tool fails and another must continue. Relies on the baton protocol and universal SKILL.md format.
License
MIT
Instructions
100 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • SKILL.md.bundle
  • SKILL.md.sig

SKILL.md (first lines)

# Multi-Tool Failover

> Sessions are tool-bound. Projects are not. The baton + universal skill format
> bridge any agent gap.

**Tradeoff:** Some tool-specific features are unavailable when the active tool
changes. Worth it: zero work loss when one tool runs out of context, hits a
limit, or has a bug.

---

## Supported tools and their adapters

| Tool | Entry file | Skills read |
|------|-----------|-------------|
| Claude Code | `CLAUDE.md` + `.claude/skills/` | SKILL.md (native) |
| Codex CLI | `AGENTS.md` + `.codex/AGENTS.md` | SKILL.md |
| Cursor | `.cursorrules` (write from AGENTS.md) | inline rules |
| Antigravity | `AGENTS.md` | SKILL.md |
| Kiro | `AGENTS.md` + steering files | SKILL.md |
| Gemini CLI | `GEMINI.md` (write from AGENTS.md) | inline |
| Copilot | `.github/copilot-instructions.md` | inline |
| Windsurf | `.windsurfrules` (write from AGENTS.md) | inline |
| Aider | `CONVENTIONS.md` (write from AGENTS.md) | inline |
| OpenCode | `CLAUDE.md` (compatible) | SKILL.md |

---

## Failover triggers

1. **Hard limit hit**: the active tool's usage cap, rate limit or turn
   limit. Caps vary by vendor plan; check the vendor's current plan page.
2. **Tool-specific bug**: agent gets stuck on a specific tool's quirk.
3. **Capability mismatch**: current task needs a feature the active tool lacks
   (computer use, browser, specific MCP).
4. **Cost optimization**: routine work moved to a local LLM via OpenCode.

---

## Failover protocol

### From current tool (sending side)

1. Invoke `baton-handoff` skill. Write `.workflow/state/baton.md`.
2. Commit any outstanding work-in-progress to a branch with a clear name
   (e.g., `wip/T-014-refresh-tokens`).
3. State in the session summary: "Handing off to [next-tool] for [reason]."
4. End session.

### To next tool (receiving side)

1. Open the project in the next tool.
2. Session-start hook fires; baton is detected.
3. Read `CLAUDE.md` (or relevant adapter file) and `AGENTS.md`.
4. Read `.workflow/state/baton.md`. Address blockers first.
5. Resume from the baton's `## Next action` section.

The next tool doesn't need to know the previous tool's specifics — the baton
is plain markdown.

---

## Local LLM fallback

For runaway-cost prevention or air-gapped work, route to a local LLM:

- **OpenCode** or **Aider** with a local coding model served by Ollama or
  LM Studio (the user picks the model)
- **Continue.dev** for IDE-integrated local agents

Nothing suggests this failover automatically. When the daily spend in
`.workflow/state/budget-ledger.jsonl` (kept where a budget hook is wired)
nears the cap, propose it to the user yourself.

---

## Capability matrix (when to pick which tool)

| Need | Best tool |
|------|-----------|
| Spec-driven work with EARS | Kiro, Claude Code |
| Multi-agent orchestration | Antigravity, Claude Code (subagents) |
| Browser automation (visual) | Claude Code + Playwright MCP, Antigravity |
| Long-running refactor | Claude Code |
| Quick edit | Cursor, Gemini CLI |
| Local/offline | OpenCode, Aider with Ollama |
| GitHub PR automation | Codex CLI, Copilot |
| Enterprise / regulated | Kiro, Claude Code |

The table names strengths, not plans or prices. Free tiers, usage caps, model
tiers and enterprise features such as audit logs change with vendor releases;
check the vendor's current plan page before relying on a row.

---

**This skill is working when:** users can switch tools mid-project without
losing context. The intended record of resume-after-switch
success is `governance/telemetry/resume-success.jsonl`. Nothing writes it yet, so check by hand.

From MILTONADINA/DevOPs, MIT.

More from MILTONADINA/DevOPs

Signals

Stars
0
Forks
0
Open issues
12
Last commit (this folder)
Oct 12, 2026 (17 days ago)
Last release
Sep 23, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from MILTONADINA

Cite this page

multi-tool-failover skill. Agent Mart. https://agentmart.dev/skills/miltonadina-multi-tool-failover (last updated 2026-10-24)