# Agent Ide Install Switching

> Install, configure, and switch among multiple coding agents inside one IDE while preserving per-agent settings and project contracts.

- Skill: `samotech/agent-ide-install-switching` (Agent Skill)
- Install (CLI): `npx get-skill add samotech/agent-ide-install-switching`
- Raw SKILL.md: https://api.skillmd.com/api/skills/samotech/agent-ide-install-switching/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: SamoTech (https://skillmd.com/u/samotech)
- Updated: 2026-11-21
- Page: https://skillmd.com/skills/samotech/agent-ide-install-switching

---


# Agent Ide Install Switching

## Description
Install, configure, and switch among multiple coding agents inside one IDE while preserving per-agent settings and project contracts. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.

## When to Use
- A team operates several coding agents in one IDE and must switch between them without configuration loss.
- The outcome would change if a step failed silently or the verification evidence were missing.
- The result must be recorded with reasons and verification evidence for later audit.

## Inputs
| Area | Contract |
|---|---|
| Inputs | the installed agent registry, the per-agent configurations, and the active project. |
| Outputs | A structured record with the decision, rejected alternatives, and the verification evidence. |
| Safety | Failures must fail closed and be reported with evidence rather than retried silently. |

## Procedure
1. Register each agent with its configuration, contract, and the projects it is approved for.
2. Inventory the available inputs and flag gaps or ambiguities that block progress.
3. Switch the active agent by re-binding the project to the selected configuration and recording the switch.
4. Compare the actual outcome against the acceptance criteria and record deviations.
5. On a configuration conflict at switch time, block the switch, and never merge two agent configurations silently.
6. Emit a structured result with evidence and provenance for downstream consumers.

## Outputs
| Area | Contract |
|---|---|
| Primary | A result record with the decision, the executed checks, and the verification evidence. |
| Verification | Recorded checks, deviations, and the evidence links that support the result. |
| Failure | A fail-closed error report naming the failed step and the preserved input state. |

## Runnable Example
```python
def switch_agent(registry, current, target):
    if target not in registry:
        raise ValueError("agent not installed: " + target)
    if registry[target]["conflicts"] & registry[current]["conflicts"]:
        return {"switched": False, "reason": "config conflict"}
    return {"switched": True, "active": target}
reg = {"codex": {"conflicts": set()}, "claude": {"conflicts": {"lint"}}, "old": {"conflicts": {"lint"}}}
assert switch_agent(reg, "codex", "claude")["switched"] is True
assert switch_agent(reg, "old", "claude")["reason"] == "config conflict"
```

## Failure Modes
- Agent configurations overwrite each other so a switch back restores nothing.
- The switch changes the active agent without recording which agent produced prior work.
- Project approvals are global, so an agent approved for one project silently gains access to all.
- An uninstall leaves stale registrations that a later switch resolves to a missing binary.
- The switch is performed mid-task so half the work belongs to each agent.

## Security and Authority Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.

## Evidence
- Android Studio Rabbit 2 allowing developers to install and switch among more than 40 coding agents including Claude Agent, Codex, Antigravity, and Junie (AI Agent News Today, dated November 1, 2026) ([public signal](https://aiagentstore.ai/ai-agent-news/this-week))
- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.

## Related Skills
- [Disposable Branch Agent Trial](disposable-branch-agent-trial.md)
- [Emulator Driven Ui Verification](emulator-driven-ui-verification.md)

## Changelog
| Version | Date | Notes |
|---|---|---|
| `v1` | `2026-11` | Initial evidence-backed contract. |

