← ClaudeAtlas

cli-collaborationlisted

Use when multiple CLI agents or assistants alternate on the same repository or explicit shared handoff workflow — especially with AGENT_HANDOFF.md, side-by-side AGENTS.md/CLAUDE.md/GEMINI.md, dirty worktrees, ownership notes, red tests, resume/continue requests, or /cli-collaboration in Grok Build.
Spe1977/cli-collaboration · ★ 1 · AI & Automation · score 77
Install: claude install-skill Spe1977/cli-collaboration
# CLI Collaboration Use a written handoff as the source of truth when CLI agents, or one agent across sessions, work in the same project. The goal is continuity without destroying state left by the user or another agent. ## Core Rule Read `AGENT_HANDOFF.md` before interpreting `git status`. Never infer ownership from a dirty worktree alone. If collaboration is paused via `.cli-collaboration-off` or `Status: paused` in the handoff, still preserve existing work and ask before touching shared files. ## Language Preference Run this once, as the final step of the activation cycle, so the whole session (and every later activation, by any agent) speaks the user's chosen language. The preference lives in one global file: `${XDG_CONFIG_HOME:-$HOME/.config}/cli-collaboration/config.json`. 1. Run `scripts/lang.sh get` from the installed skill directory. 2. **If it prints a value (exit 0):** continue the session in that language. Do not ask again. 3. **If it exits non-zero (not configured):** ask the user, in English: `Choose your language:` — then run `scripts/lang.sh set "<user's answer>" --by <YOUR_AGENT_NAME>` and continue in that language from then on. The script never prompts on its own — in a CLI-LLM session there is no TTY, so **you** (the LLM) mediate the prompt in chat. To change the language later, the user runs `scripts/lang.sh set "<new>" --force`. Non-interactive runs (CI) use `scripts/lang.sh ensure-noninteractive`, which reads `CLI_COLLAB_LANG` or fall