shirakawayohane

Magazine — Development skill for Claude Code

Development community

Manage Claude Code and Codex subscription accounts from one CLI: usage tracking, account switching, and Claude session recovery.

How to install Magazine

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

What Magazine does

Manage Claude Code and Codex subscription accounts from one CLI: usage tracking, account switching, and Claude session recovery.

Alternatives in Development

  • Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
  • Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
  • Claude Balancer — A load balancer proxy for multiple Claude OAuth accounts with automatic failover, request tracking, and web da 910 ★

README

magazine

**Your Claude Code and Codex accounts, in one CLI.**

Check usage across your subscriptions, switch accounts by name, and find Claude Code sessions interrupted by a limit. Built for developers who already manage multiple accounts of their own.

[![Tests](https://github.com/shirakawayohane/magazine/actions/workflows/test.yml/badge.svg)](https://github.com/shirakawayohane/magazine/actions/workflows/test.yml) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [Install](#install) · [Quick start](#quick-start) · [Guide](docs/guide.md) · [Report a bug](https://github.com/shirakawayohane/magazine/issues/new/choose)

![40-second offline demo: view Claude Code and Codex usage, switch to spare, find an interrupted session, and preview its resume command](docs/assets/demo.gif)

*Real magazine commands with synthetic accounts and usage data. The final step is a resume preview, not a live AI session. [Text version and reproduction](docs/demo.md).*

What it does

  • One usage view. See Claude Code and Codex accounts together, with usage windows, reset times, and the active account for each provider.
  • Switch by name. Use mag use spare, or let mag watch select the next account when reported usage reaches a threshold.
  • Find interrupted work. mag stalled locates Claude Code sessions with recorded limit or login errors. mag resume selects an account and opens the existing session.
  • Small install. One Python script, standard library only. No proxy server or extra Python packages. Optional shell integration checks accounts before launching the usual CLI.
Claude Code Codex / ChatGPT
Account registration and switching Yes Yes; subscription login with file storage
Usage Provider usage endpoint and status-line data Local session records; optional refresh request
Switching a running session Can be picked up by Claude Code; timing depends on its credential cache/versio