Codex Plugin

Prerequisites: Thrum installed and initialized (thrum init), and Codex installed with a local skills directory (~/.codex/skills).

Overview

Codex does not currently use the Claude-style plugin marketplace model. Instead, Thrum integration is packaged as a Codex skill bundle in codex-plugin/skills.

The bundle is split into focused skills:

Prerequisites

If you have not initialized Thrum yet:

thrum init  # also starts the daemon automatically
thrum quickstart --name myagent --role implementer --module auth

Installation

From GitHub

Clone the Thrum repository and run the install script:

git clone https://github.com/leonletto/thrum.git
cd thrum
./codex-plugin/scripts/install-skills.sh

From Local Clone

If you already have the Thrum repository cloned locally:

cd /path/to/thrum
./codex-plugin/scripts/install-skills.sh

This installs the bundled skills into ~/.codex/skills (or $CODEX_HOME/skills if CODEX_HOME is set).

Verify installed skills

find "${CODEX_HOME:-$HOME/.codex}/skills" -maxdepth 1 -type d -name "thrum-*" -o -name "project-setup"

Restart Codex

Restart Codex after installation so the new skills are loaded.

Updating Skills During Development

After editing files under codex-plugin/skills/, sync updates into your local Codex installation:

./codex-plugin/scripts/sync-skills.sh

sync-skills.sh replaces installed copies with your local versions.

Usage Patterns

Multi-agent coordination

Ask Codex to coordinate work across agents using Thrum. The thrum-core skill handles audience routing (@agent, @group, @everyone) and durable message/reply workflows.

Session operations and triage

When you need to bootstrap sessions, triage unread messages, verify delivery on messages you authored, or check daemon health, thrum-ops provides operational workflows and command references.

Role template generation

When team structure changes, use thrum-role-config to detect environment context and regenerate .thrum/role_templates/<role>.md with clear autonomy and scope boundaries.

Manual Installation (Optional)

If you prefer manual copy instead of scripts:

mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
cp -R codex-plugin/skills/thrum-core "${CODEX_HOME:-$HOME/.codex}/skills/"
cp -R codex-plugin/skills/thrum-ops "${CODEX_HOME:-$HOME/.codex}/skills/"
cp -R codex-plugin/skills/thrum-role-config "${CODEX_HOME:-$HOME/.codex}/skills/"
cp -R codex-plugin/skills/project-setup "${CODEX_HOME:-$HOME/.codex}/skills/"

Troubleshooting

Skills do not appear in Codex

Skill updates are not reflected

Thrum commands fail inside skill workflows

Codex Bundle vs Claude Plugin

Capability Codex Skill Bundle (codex-plugin/) Claude Code Plugin (claude plugin)
Packaging Local skill folders Marketplace plugin
Installation install-skills.sh claude plugin install thrum
Updates sync-skills.sh Reinstall/update plugin
Command UX Skill-guided CLI workflows Slash commands (/thrum:*)
Role customization thrum-role-config skill Configure-roles plugin skill
Project decomposition project-setup skill project-setup plugin skill

Next Steps