OAuth CLI Coder — Development skill for Claude Code
Seamlessly interact with CLI coders (Claude, Gemini, Codex) via tmux TUI sessions.
How to install OAuth CLI Coder
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open codeninja/oauth-cli-coder and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What OAuth CLI Coder does
Seamlessly interact with CLI coders (Claude, Gemini, Codex) via tmux TUI sessions.
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Vibe Kanban — Get 10X more out of Claude Code, Gemini CLI, Codex, Amp and other coding agents 23.5k ★
- Petdex — A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and 4k ★
README
oauth-cli-coder
Drive **Claude Code**, **Gemini CLI**, and **Codex** programmatically — through the same tmux session they already run in.
No API keys. No custom auth. If you're logged in on your terminal, `oauth-cli-coder` can use it.
┌──────────────┐
your code │ tmux pane │ AI CLI
─────────> │ (headless) │ <──── claude / gemini / codex
└──────────────┘
captures
scrollback &
extracts response
Why?
AI CLI tools like `claude`, `gemini`, and `codex` are built for humans sitting at a terminal. They handle OAuth in the browser, show TUI prompts, and maintain rich session state. That's great — until you need to drive them from code.
**oauth-cli-coder** bridges the gap:
- Launches the real CLI binary in a background tmux session
- Types into it and reads back the full scrollback buffer — like a human would
- Automatically navigates past startup dialogs, trust prompts, and upgrade nags
- Keeps sessions alive across calls so you can build multi-turn conversations
- Works with your existing OAuth tokens — no API keys to manage
Quick Start
pip install oauth-cli-coder
**Requires:** `tmux` installed on your system (`apt install tmux` / `brew install tmux`)
From the command line
# Ask a question
oauth-coder ask claude "explain this repo"
# Use a specific model
oauth-coder ask claude "review my code" --model opus
# Persistent session — keeps context across calls
oauth-coder ask claude "analyze this repo" --session-id my-project
oauth-coder ask claude "now suggest improvements" --session-id my-project
# Slash commands
oauth-coder slash claude /compact --session-id my-project
# Read the current screen without sending anything
oauth-coder read claude --session-id my-project
# Manage sessions
oauth-coder list
oauth-coder stop claude --session-id my-project
oauth-coder stop-all
From Python
from oauth_cl
Related Skills
Jmux Control
Control jmux sessions, windows, and panes programmatically. Dispatch Claude Code instances, monitor their prog
Three Ws CLI
One command to connect any MCP client to three.ws: sign in with OAuth or an API key, write the three.ws MCP se
Omnicode
Self-hosted MCP hub: register an MCP server once from your phone and use it in Claude Code, Codex CLI and Gemi
Agent Of Empires
Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile. Also supports M
Coding Agent Session Search
Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C
Shoulder
Watch your coding agents work, live. A TUI for Claude Code, Codex, Gemini CLI and opencode.
Related Agents
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Codex Orchestrator
CLI tool for delegating tasks to GPT Codex agents via tmux sessions. Designed for Claude Code orchestration wi
Independent Reviewer
Product-technical alignment reviewer. Spawned in a tmux pane via OpenAI Codex CLI with zero inherited context.