codex-account-pool

Select CODEX_HOME sources and rotate auth files for tmux-workflow workers.

1|1|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/kunhuang12345/team-skill --skill codex-account-pool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-account-pool
Source: https://github.com/kunhuang12345/team-skill/tree/main/.codex/skills/codex-account-pool
Command: npx skills add https://github.com/kunhuang12345/team-skill --skill codex-account-pool

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill helps teams automatically manage CODEX_HOME sources and auth/account pools for tmux-workflow workers, enabling balanced load and rotation with optional usage watching.

Core Features & Use Cases

  • Source selection: pick a CODEX_HOME source for each worker (balanced or hash-based) and rotate through multiple CODEX_HOME templates.
  • Auth management: select and distribute an authentication file across workers, with support for balanced usage or a team-wide rotation.
  • Operational integration: designed to work with the tmux-workflow engine and cap_config.yaml to control behavior and state persistence.

Quick Start

Use the cap script to pick a source and an auth file for a worker:

  • bash .codex/skills/codex-account-pool/scripts/cap pick --worker <full> --base <base>
  • bash .codex/skills/codex-account-pool/scripts/cap pick-auth --worker <full> --base <base> You can also inspect and advance the current team auth with cap status or cap auth-advance.

Frequently Asked Questions about codex-account-pool

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rotate Codex auth files for tmux workers?

Codex auth file rotation for tmux workers uses the cap pick-auth command to distribute credentials per worker, while cap auth-advance cycles the team-wide rotation pool with persistent state tracking.

What is CODEX_HOME source selection for tmux workflows?

CODEX_HOME source selection for tmux workflows is the process of deterministically assigning a specific CODEX_HOME template to each worker, using either a balanced distribution method or a hash-based approach.

How do I balance Codex account usage across multiple tmux workers?

Balancing Codex account usage across multiple tmux workers is done by configuring balanced selection in cap_config.yaml, which evenly distributes auth files and CODEX_HOME sources among active workers.

Can I use this account pool manager without the tmux-workflow engine?

The account pool manager is designed specifically for integration with the tmux-workflow engine and cap_config.yaml, meaning it requires this environment to control behavior and maintain state persistence effectively.

How do I check the current auth rotation status for my Codex team?

Check the current auth rotation status for your Codex team by running the cap status command, which inspects the shared state file and displays the active team authentication configuration.

Does Codex account pool management support usage watching?

Codex account pool management supports optional usage watching, allowing teams to monitor authentication distribution and rotation activity alongside the deterministic source selection and state management features.