juan52878911

Tmux Ws — Git skill for Claude Code

Git community

Perfiles de trabajo para tmux: organizaciones con su propia identidad (GitHub, Claude Code, git, variables) y entornos Nix por proyecto.

How to install Tmux Ws

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

What Tmux Ws does

Perfiles de trabajo para tmux: organizaciones con su propia identidad (GitHub, Claude Code, git, variables) y entornos Nix por proyecto.

Alternatives in Git

README

tmux-ws

Work profiles for your terminal, like Android's work profile: each **organization** has its own GitHub account, Claude Code login, commit email, variables, MCPs and tools, and you keep typing `claude`, `gh`, `git` or `aws` as always.

context (folder or tmux session)
  └─ identity   GitHub · Claude Code · git · your variables (AWS_PROFILE…)
      └─ tmux sessions grouped by organization
          └─ environment  per-project MCPs, permissions and Nix tools

Works in any tmux, alone or next to other plugins: it imposes no keys, colors or conventions. Everything is optional and configurable.

![tmux-ws: the picker, then each organization with its own GitHub account, git email and Claude profile](docs/demo.gif)

Recorded from [`docs/demo.tape`](docs/demo.tape) with [VHS](https://github.com/charmbracelet/vhs) on the isolated demo (`tests/demo.py`): made-up organizations and accounts. Regenerate with `nix run nixpkgs#vhs -- docs/demo.tape`.

What it does

  • Session picker grouping sessions into Normal, organizations and environments, with a preview, and a wizard to create sessions, organizations and projects.
  • Per-context identity, no new commands. The context is the project whose folder contains the current one; otherwise the tmux session's organization; otherwise Normal (everything as usual).
    • claude: the organization's CLAUDE_CONFIG_DIR (skills, agents and hooks shared with your profile), only its blocks' MCPs, and deny rules towards the other contexts' credentials.
    • gh: its account's GH_CONFIG_DIR; the web login opens with the browser you configure for it ([navegadores]), e.g. a private window.
    • git: email and SSH key per folder (includeIf). For github.com, ws replaces the system credential helper: the account is picked by the repo owner in the URL (an organization's github_orgs, or your own user), then by folder, then personal. Nothing is stored, so one accoun