Before you start
Set up the tools needed for the workflows you want to use:Install skills
With Node.js and npm installed, run:--skills-only leaves your MCP
configuration unchanged; authenticate MCP separately for the workflows that need it.
To choose one agent explicitly, add --to. For example, to install for Codex:
claude, codex, cursor, gemini, opencode, droid, and pi.
Use --to universal for agents that read ~/.agents/skills; this target is opt-in.
Install through Claude Code's plugin marketplace
Install through Claude Code's plugin marketplace
You can also install the cubic plugin from inside Claude Code:This includes skills, namespaced slash commands, and the MCP connection. Run
/mcp,
choose cubic, and complete the browser sign-in flow.Check the installation
Check the installer’s summary for your target and any errors. Start a new agent session in your repository, then ask:Prompts to start with
PR comments
“Check cubic comments” and thecomments command both handle review feedback. They wait for
the review to finish, inspect unresolved GitHub review threads, apply and verify worthwhile
fixes, then commit and push if code changed. They resolve handled threads, including findings
confirmed as false positives or already fixed, without posting replies by default.
To only read cubic’s open findings, ask your agent to use the MCP tool directly:
Review loops
Thecubic-loop skill uses PR review when the current branch has an open PR or you request
PR mode. Otherwise, it runs local CLI reviews. It commits fixes between iterations and pushes
the branch in PR mode.
The default limit is five iterations. The loop can stop earlier when no issues remain or
when only low-priority P3 findings remain. Check the final summary for remaining findings.
Codebase scan findings
You can provide a repository, a scan issue ID, or an exported CSV. Listing findings does not change your code. When you request fixes, the skill verifies each finding against your current checkout before editing. Commits, pushes, PR creation, and scan triage updates require a separate request.Available skills
Slash commands
Command names depend on the agent and how you installed cubic:
In Codex, use the installed skills by name or describe the task in natural language.
Custom prompt slash commands are deprecated.
The same naming pattern applies to these commands:
Troubleshooting
The installer did not detect my agent
The installer did not detect my agent
Start the agent once so it creates its configuration, or specify the target explicitly with
--to, for example --to codex.My agent cannot find the skills
My agent cannot find the skills
Check the installer’s summary for the target you use, then restart your agent session. If
needed, reinstall for that target with
--force:A workflow cannot access its tools
A workflow cannot access its tools
For local reviews, complete CLI setup. For PR comment
workflows, run
gh auth status. For wiki, scan, or learning requests, check your agent’s
MCP connection and complete OAuth if prompted.AGENTS.md and CLAUDE.md workflow instructions.