Claude Code slash command

claude-co-commands

Co-* commands for planning, validation and brainstorming with Codex as a second opinion.

148 stars 10 forksSlash commands Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add SnakeO/claude-co-commands
From source
git clone https://github.com/SnakeO/claude-co-commands.git

From the README

Claude Co-Commands Plugin

3 collaboration commands for Claude Code that use the Codex CLI to generate parallel plans, validate plans, and brainstorm ideas.

Commands

Prerequisites

- Claude Code
- The Codex CLI, signed in:

No MCP server is needed. The skills run Codex through a small helper, scripts/codex-session,
which drives codex exec in Codex's read-only sandbox and keeps each conversation in a temporary
folder so follow-ups continue the same Codex session. A background subagent starts Codex and
answers any clarifying questions it asks, while Claude does its own independent work.

Installation

Option 1: Plugin Marketplace (Recommended)

Option 2: Git Clone

Option 3: Manual Copy

Copy plugins/co-commands/skills/ contents to ~/.claude/skills/.

Upgrading from 1.x

Versions 1.x used the Codex MCP server (codex mcp-server). OpenAI removed that command in
Codex 0.154.0, so the server now exits at startup and Claude Code reports
validate-plans-and-brainstorm-ideas ... Connection closed. Version 2.0 does not use it.
Remove the old server entry from wherever you added it:

Verify

1. Run codex login status; it should say you are logged in.
2. Restart Claude Code after updating the plugin.
3. Test with /co-brainstorm test idea. It should spawn a background subagent that runs codex-session run.

Command Details

/co-brainstorm

Starts an interactive brainstorming session with Codex. Pass your topic or question as the argument.

Supports follow-up conversation to dig deeper into ideas.

/co-plan

Generates an alternative plan in the background while you continue your own planning. Pass your task description as the argument.

Compare the Codex plan against yours to catch missed approaches, simpler alternatives, or overlooked edge cases.

/co-validate

Sends your plan to…
Read the full README on GitHub

How custom slash commands work

  • A slash command is a Markdown file. Put it in ~/.claude/commands (for you) or .claude/commands (for a project), and it becomes /file-name inside Claude Code. Claude Code now treats commands and skills the same way, so .claude/skills/name/SKILL.md also works.
  • Arguments you type after the command are passed in as $ARGUMENTS.
  • If the repo is a plugin marketplace, installing it from /plugin adds the commands for you.
Claude Code docs

Details

Language
Shell
License
MIT
Last updated
28 September 2026

FAQ

What is claude-co-commands?

Co-* commands for planning, validation and brainstorming with Codex as a second opinion. It is a slash command for Claude Code, from SnakeO/claude-co-commands on GitHub.

How do I install claude-co-commands?

Run /plugin marketplace add SnakeO/claude-co-commands inside Claude Code, then follow the setup in the README.

Is claude-co-commands popular?

SnakeO/claude-co-commands has 148 GitHub stars and 10 forks. It was last updated on 28 September 2026.

More slash commands

Browse the most popular Claude Code mods, all slash commands, or the skills and MCP server directories.