mikigraf

Ctxlane — Development skill for Claude Code

Development community

Switch and isolate personal, work, and CI accounts for Claude Code and Codex.

How to install Ctxlane

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mikigraf/ctxlane and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ctxlane does

Switch and isolate personal, work, and CI accounts for Claude Code and Codex.

Alternatives in Development

  • Dev — Switch to Dev Work mode - optimized for software development 2.8k ★
  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • Cac — Isolate, protect, and manage your Claude Code 378 ★

README

ctxlane

**Use the right AI coding account, every time.**

`ctxlane` switches and isolates personal, work, and CI accounts for Claude Code and Codex.

In `ctxlane`, a profile represents one Claude or Codex account or authentication path. Each profile gets a separate vendor state directory. A context can switch both tools together or bind the selection to a project directory.

At launch, `ctxlane` removes known competing selectors and refuses inspected repository settings that could change the selected route. Wrapper-managed static secrets stay in the native OS credential store, outside repository files and shell configuration. The official vendor CLIs still handle login and model traffic; `ctxlane` adds no API proxy or remote credential service.

The ordinary CLI, terminal dashboard, and local account switching are standalone. They do not start or require an automation service, controller, MCP server, lease store, or automation-authority file, and they have no ASF or Runmill dependency.

Quick start

brew install mikigraf/tap/ctxlane

Used version 0.1? Follow [Migration from v0.1](docs/migration-from-v0.1.md) before setup. `ctxlane` does not import the old local store automatically.

Install at least one supported vendor CLI: [Claude Code](https://code.claude.com/docs/en/quickstart) or [Codex CLI](https://developers.openai.com/codex/cli/).

Claude Code

ctxlane init --guided
ctxlane run --profile claude:personal claude -- \
  -p "explain this repository"

The guided command initializes `ctxlane`, creates or reuses `claude:personal`, runs the official `claude setup-token` flow, safely accepts wrapped paste input, and stores the token in the native OS credential store.

Codex

ctxlane init
ctxlane profile add codex personal --auth subscription
ctxlane login codex:personal
ctxlane run --profile codex:personal codex -- \
  exec "explain this repository"

`ctxlane login` opens the official ChatGPT OAuth flow in Codex.