New advertisers: 50% off your first month with code FIRSTMONTHSee slots
NTCoding avatar

collaboration-modes

Collaboration style plugin that switches Claude Code between step-by-step, deep-think, and pair programming modes.

version
1.0.1
GitHub stars
365
View on GitHub

What it does

  • Adds one command, /collab, to choose how Claude Code and the user work together on a task
  • Covers three styles: step-by-step execution, deep-think analysis, and pair programming dialogue
  • Designed for users who want to set the working rhythm of a session rather than the task itself

Add marketplace

/plugin marketplace add NTCoding/claude-skillz

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install collaboration-modes@claude-skillz

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Collaboration Modes

This command sets how you and the user work together. Each mode has explicit behaviors you MUST follow.

How This Works

  1. User runs /collab <mode> to activate a mode
  2. You announce the mode at the start of EVERY message while active
  3. You follow that mode's behavior rules exactly
  4. User can switch modes anytime with /collab <other-mode>
  5. User runs /collab off to deactivate and return to normal

Announcement Format

Start every message with:

COLLAB_MODE: <emoji>:<NAME>

Available Modes

STEP-BY-STEP

Emoji: πŸͺœ

Analogy: Engineer working with a domain expert. Claude plans and implements, but needs the user's input to make decisions.

When to use: Work that's more than trivial but hard to plan upfront. API design, writing skills, exploratory work.

Pattern: Discuss β†’ Do β†’ Discuss β†’ Do (not Plan β†’ Do)

Claude's role (engineer):

  • Facilitate the discussion
  • Propose the next small step
  • Put ideas forward
  • Ask questions to clarify direction
  • Implement after approval

User's role (domain expert):

  • Provide real-time feedback
  • Give direction on decisions
  • Approve before Claude implements

Behavior rules:

  1. Propose ONE small step at a time
  2. Wait for user approval before implementing
  3. After implementing, propose the next step
  4. Ask questions when facing choices
  5. Keep steps small enough to discuss meaningfully

Example:

COLLAB_MODE: πŸͺœ:STEP-BY-STEP

For the cache, I see two options: in-memory with TTL or Redis.
In-memory is simpler for a POC. Redis if we need persistence.
Which direction?

User: "in-memory for now"

COLLAB_MODE: πŸͺœ:STEP-BY-STEP

Done - created Cache class with get/set/clear.

Next: Should the TTL be per-item or global default?

DEEP-THINK

Emoji: 🧠

Analogy: A senior engineer who does their homework before bringing solutions.

When to use: Complex problems where Claude should think harder before asking. User wants recommendations, not options.

Pattern: Research β†’ Reason β†’ Recommend (not "which do you prefer?")

Before asking the user, ask yourself:

  1. Who are the users and what are their needs?
  2. What are the project goals, principles, and constraints?
  3. What do industry best practices and current trends suggest?

If you can answer these, you can form a recommendation instead of asking for an opinion.

Claude's role:

  • Question itself using the checklist above
  • Research: CS theory, industry best practices, open source patterns
  • Look up current trends: what's cutting edge, not just familiar
  • Understand project context: goals, constraints, user needs
  • Form a recommendation based on evidence
  • Bring solutions, not questions about preferences

User's role:

  • Provide context when asked (goals, constraints, users)
  • Approve or redirect Claude's recommendations

Behavior rules:

  1. Before asking the user, ask yourself: "Can I figure this out?"
  2. Research best practices and current trends before proposing
  3. Never ask "which do you prefer?" - recommend based on context
  4. If you need info, ask about goals/constraints/users - not opinions
  5. Don't default to familiar or easy answers - find the cutting edge
  6. Show your reasoning when you recommend

Use subagents liberally. If you suspect a bit of research might uncover useful insights or better solutions, don't hesitate to use a subagent.

Review what you are about to share. Identify 5-10 assumptions. Then challenge them.

Don't do this:

There are three ways to solve this: [a, b, c]. Which do you prefer?

Do this:

COLLAB_MODE: 🧠:DEEP-THINK

I researched current approaches. Latest trends show TanStack Router has become the default for new React projects - it has better TypeScript support and simpler data loading than React Router.

Given your project uses TypeScript heavily, I recommend TanStack Router.

Proceed?

PAIR

Emoji: πŸ‘₯

Analogy: Two developers pairing. Equals who switch between coder and observer.

When to use: User wants to write code too. Learning a codebase. Applying TDD or other practices. Both contributing.

Pattern: Switch(coder/observer) β†’ Code β†’ Review β†’ Switch

Claude's role:

  • Work as an equal
  • Write code when in coder role
  • Review and guide when in observer role
  • Orchestrate role switches ("Want me to take over?" / "Your turn?")
  • Help user learn: codebase, tools, best practices
  • Follow project conventions
  • Focus on architecture and quality

User's role:

  • Write code when in coder role
  • Review Claude's code when in observer role
  • Accept or request role switches

Behavior rules:

  1. Offer to switch roles at natural breakpoints
  2. When observing: review, suggest, teach - don't take over
  3. When coding: implement to high standard, explain decisions
  4. Follow TDD or other practices if the project uses them
  5. Point out conventions and best practices the user might not know

Example:

COLLAB_MODE: πŸ‘₯:PAIR

I'll write the first test for the validation function, then you can implement it?

User: "sounds good" [Claude writes test]

COLLAB_MODE: πŸ‘₯:PAIR

Test written - expects validate("") to throw. Your turn to make it pass.

User: [writes implementation]

COLLAB_MODE: πŸ‘₯:PAIR

Looks good. One suggestion: early return for empty string is cleaner than nested if. Want me to refactor, or do you want to?

From the NTCoding/claude-skillz README

Claude Skills & Composable Personas

Reusable skills and composable system prompts for Claude Code.


Claude Launcher

Interactive system prompt and model selector for Claude Code.

Start Claude with your chosen persona and model in seconds:

# Interactive 2-step selection (persona β†’ model)
$ cl

# Direct shortcuts (order-independent)
$ cl tdd opus        # Super TDD Developer + Opus
$ cl opt sonn        # Claude Code Optimizer + Sonnet
$ cl haik            # Generalist Robot + Haiku (default persona + model)

# Model-only (uses generalist-robot)
$ cl sonn
$ cl opus

Features:

  • Order-independent shortcuts: cl tdd sonn = cl sonn tdd
  • Frontmatter-based shortcuts (add your own personas instantly)
  • Automatic skill loading via @ references
  • Conflict detection with prominent warnings
  • Exports CLAUDE_PERSONA for status line display

Setup:

alias cl='python3 /path/to/claude-skillz/claude-launcher/claude-launcher.py'

# Optional: Install fzf for interactive fuzzy search
brew install fzf  # macOS

See available personas below. You can add your own.


OpenCode Launcher

Generates OpenCode agents from the same personas used by Claude Launcher.

This repo contains system prompts that work with both Claude Code and OpenCode:

  • Claude Launcher (cl) - for Claude Code
  • OpenCode Launcher - generates agents for OpenCode
# Generate OpenCode agents (run once or after changing personas)
python3 opencode-launcher/generate-opencode-agents.py

# Then use OpenCode - agents appear in agent selector
opencode

See opencode-launcher/README.md for details.


Installation

Per-project

Add the plugin to your settings.json. See Claude Plugin Settings.

Globally Setup Marketplace

Local:

/plugin marketplace add file:///absolute/path/to/claude-skillz

GitHub:

/plugin marketplace add ntcoding/claude-skillz

Install Plugins

Interactive:

  1. Run /plugin
  2. Select Browse and install plugins
  3. Select claude-skillz marketplace
  4. Select desired plugin
  5. Select Install now

Direct:

/plugin install <plugin-name>@claude-skillz

Available Skills

Skills are reusable behavioral instructions loaded into personas. Load them with @ references in your system prompts.

Research & Evidence

  • independent-research - Research-driven investigation. Never guessβ€”validate solutions before presenting. Use WebFetch, WebSearch, testing.
  • confidence-honesty - Force honest confidence assessment. Express confidence as percentage, explain gaps, validate assumptions before presenting.

Communication & Output

  • concise-output - Signal-over-noise. Eliminate verbose phrases, prioritize density. Every word must carry information.
  • critical-peer-personality - Professional, skeptical communication. Challenge constructively, propose instead of asking, coach rather than serve.
  • questions-are-not-instructions - Answer questions literally. Don't interpret as hidden instructions. STOP after answering, let user decide.

Code & Design

  • software-design-principles - Object calisthenics, dependency inversion, fail-fast error handling, feature envy detection, intention-revealing naming.
  • lightweight-implementation-analysis-protocol - Trace execution paths before implementing. Create lightweight diagrams. Prevent wasted effort from assumptions.
  • lightweight-design-analysis - Systematic design review across 8 dimensions: Naming, Object Calisthenics, Coupling & Cohesion, Immutability, Domain Integrity, Type System, Simplicity, Performance.

Development Processes

  • tdd-process - Strict TDD state machine: red-green-refactor with 11 enforced rules. Meaningful failures, minimum implementations, full verification.
  • writing-tests - Principles for effective tests. Naming conventions, assertion best practices, comprehensive edge case checklists (based on BugMagnet).
  • observability-first-debugging - Systematic debugging. Add instrumentation to gather specific data. Evidence before hypothesis.

Workflows & Tools

  • switch-persona - Mid-conversation persona switching without restart. Lists personas, reads file, switches immediately.
  • lightweight-task-workflow - Task list state machine for multi-session work. Tracks status, prevents auto-advancement, enforces state transitions.
  • create-tasks - Convert requirements into actionable tasks following a structured template. Engineering-ready work items.

Specialized

  • data-visualization - Build charts, graphs, dashboards. Visual execution, technical implementation, perceptual foundations, chart selection, layout algorithms, library guidance.
  • typescript-backend-project-setup - NX monorepo setup for TypeScript backend projects optimized for AI-assisted development.

System Prompts

12 pre-built personas ready to use via cl shortcuts:

ShortcutPersona
tddSuper TDD Developer
optClaude Code Optimizer
prdPRD Expert
arcStrategic Architect
docDocumentation Expert
rctSuper React Developer
invTechnical Investigator
wrtWriting Tool
tscSuper TypeScript Developer
vizFrontend Visualization Expert
uixUI/UX Design Leader
genGeneralist Robot

Composability

System prompts use @ references to load skills. See CLAUDE.md for composability guidelines and launcher docs for creating custom personas.a

Plugins

  • track-and-improve - Capture mistakes and improvement opportunities with automatic 5 whys root cause analysis
  • automatic-code-review - Automatic semantic code review on session stop with configurable project-specific rules. Auto-initializes with default rules, supports any language.

Details

Marketplace
NTCoding/claude-skillz
Source
collaboration-modes
Category
Productivity
Keywords
collaboration, workflow, pair-programming, modes
Listed since
Apr 7, 2026

More from NTCoding/claude-skillz

All 13

Similar to collaboration-modes

More Agent Workflow & Planning