Install

Install the Companion

The Companion lives in your local AI workspace. You install it once, then point it at real GRC work to learn from.

Claude Code

Claude Code (recommended)

Run the Companion as a Claude Code plugin you invoke with slash commands.

Prerequisites

Install

# 1. Clone the Companion repo somewhere you keep tools
mkdir -p ~/Tools && cd ~/Tools
git clone https://github.com/grcengineering/companion.git

# 2. Create the Claude Code plugins directory and symlink the adapter
mkdir -p ~/.claude/plugins
ln -s ~/Tools/companion/dist/adapters/claude-code/companion ~/.claude/plugins/companion

# 3. Restart Claude Code so it picks up the new plugin

Verify

In any Claude Code session, type /companion:retro.

Companion should respond by asking what real work you want to learn from. If the slash command is not recognised, run ls ~/.claude/plugins/companion/ and confirm you see brain, skills, knowledge, profile, commands.

Available slash commands

Cursor

Cursor

Drop a .cursor/rules/ file into any workspace where you want the Companion available.

Prerequisites

Install

# 1. Clone the Companion repo if you have not already
mkdir -p ~/Tools && cd ~/Tools
git clone https://github.com/grcengineering/companion.git

# 2. Inside the workspace you want to use the Companion in:
cd /path/to/your-workspace
mkdir -p .cursor/rules
cp ~/Tools/companion/dist/adapters/cursor/.cursor/rules/companion.mdc .cursor/rules/companion.mdc

Verify

Note: The Cursor rule is alwaysApply: false, so you invoke it intentionally per chat by referencing "the GRC Companion rule" in your message.

Claude Projects

Claude Projects (no terminal needed)

Upload the Companion bundle to a Claude Project and use it in the browser.

Prerequisites

Install

Verify

Start a new chat in the Project. Ask: "What real GRC work can we learn from today?" The Companion should ask clarifying questions and reference the corpus.

Codex

Codex

Point a Codex session at the Companion bundle directory.

Prerequisites

Install

mkdir -p ~/Tools && cd ~/Tools
git clone https://github.com/grcengineering/companion.git

# Start a Codex session inside the adapter bundle
cd ~/Tools/companion/dist/adapters/codex
codex

The bundle's AGENTS.md is the entry point. Codex picks it up automatically when started from this directory.

Verify

Ask in the Codex session: "Read AGENTS.md and tell me which skill you would use if I just finished a vendor review questionnaire and want to learn from it."

Codex should name task-retrospective and ask for the artefact.