Skip to content

CloudAEye for Codex

Install the CloudAEye plugin to review code and describe changes in Codex CLI or desktop.

Prerequisites

  • Codex CLI or desktop installed and signed in.
  • A CloudAEye account with Code Review access.
  • A Git repo with at least one commit.
  • Git, Python 3, curl, and Bash installed and available to your coding agent.

On Windows, use Git Bash and check that you can run Python from it. See the shared prerequisites for setup details.

For self-hosted CloudAEye, follow the Self-Hosted MCP guide using the endpoint provided by your administrator.

Step 1 - Install the plugin

Add the marketplace, then install the plugin. Run these commands in your terminal:

codex plugin marketplace add CloudAEye/cloudaeye-plugin
codex plugin add cloudaeye@cloudaeye
codex plugin list

Restart Codex, then start a new chat in the repository you want to review. The plugin supplies the CloudAEye connection and skills.

Step 2 - Connect your account

  1. Open the plugin's connection/setup prompt. In desktop, check Settings > MCP servers; in CLI, /mcp lists active servers.
  2. Select Authenticate when required.
  3. Complete browser sign-in, organization selection, and consent.
  4. Return to Codex and confirm the connection is authenticated.

The plugin connects to https://api.cloudaeye.com/mcp.

Initialize a repository

Enter this in Codex chat, not PowerShell or Bash:

$cloudaeye:init

Run Init once for each repository before using the review commands. It detects the repository and branch, then guides you through connecting your Git provider and choosing the branch to monitor. Wait for initialization to finish.

Step 3 - Verify

Make a small edit in the repository, then run:

$cloudaeye:inspect

A working setup reports findings or confirms that it found none. If it reports an error, see Troubleshooting.

Use $ to select a skill if its name does not autocomplete.

The commands

Use these in Codex chat, selecting the installed skill with $.

Command What it does
$cloudaeye:inspect Bug pass, without security checks; use after an ordinary coding task.
$cloudaeye:security Application, LLM, agent, and MCP security, including secrets.
$cloudaeye:review Combined bug and security review.
$cloudaeye:ultrareview Every review at once with a merge verdict; on a PR, posted as one comment.
$cloudaeye:slop-score Assess how much careful manual review a change needs.
$cloudaeye:risk-score Assess whether an open PR needs human review and why.
$cloudaeye:triage-prs Prioritize the review queue across connected repositories; does not review or post on PRs.
$cloudaeye:assign-reviewer Recommend reviewers and what to check; request reviews only when asked.
$cloudaeye:create-owners Write local OWNERS.md files from Git history; never commit or push.
$cloudaeye:config Set your team's settings and review rules, in files you commit.
$cloudaeye:control-flow Show changes to execution order as before/after diagrams.
$cloudaeye:review-arch Explain architectural impact, layers, and boundary violations.
$cloudaeye:describe Produce a change description for a PR body or commit message.
$cloudaeye:check-task Check pending changes against a ticket, issue, or written task.
$cloudaeye:ask Answer questions about pending changes using repository context.
$cloudaeye:explain Explain a Jira or GitHub issue against the code it touches.
$cloudaeye:check Run the PR hygiene checklist and post its report on the PR.
$cloudaeye:add-docs Generate docstrings and post them as PR suggestions.
$cloudaeye:add-tests Generate unit tests and post them as PR suggestions.
$cloudaeye:implement Get a fix plan for selected local-review findings; the agent applies requested fixes.
$cloudaeye:create-issue File selected findings as Jira tickets or GitHub issues.
$cloudaeye:init Connect the current repository and configure its provider integration.
$cloudaeye:help Show the command catalog or a command's manual without running it.

Run help to see the commands in your installed version. If a command is missing, update CloudAEye.

Each command has its own section in the User Guide. See Skills & Commands for arguments and options, or run $cloudaeye:help followed by a command name.

The User Guide uses Claude Code's /cloudaeye:<verb> notation. In Codex, use $cloudaeye:<verb>.

The workflow

The commands are built to sit inside a coding turn rather than beside it. Rather than running a review yourself and relaying the findings, ask for the whole loop in one prompt:

Implement the retry logic in the webhook handler, then review it with
CloudAEye Inspect and fix anything it finds.

Codex writes the code, runs $cloudaeye:inspect, and brings back the findings with the file and line for each. CloudAEye identifies the issues; the coding agent applies the fixes you request. To see the findings before deciding what to fix, end your prompt with "Show me the findings before making any fixes."

Ask for specific fixes, then run the same review again. CloudAEye resumes the review session, and the agent describes what it changed and which findings it deliberately left. This gives the next pass the context to focus on the latest changes rather than repeat findings you have already addressed or set aside.

For findings from a review of local changes, use $cloudaeye:implement to get a fix plan and have the agent apply it. See the User Guide for more workflows.

Make the review part of "done"

Add this to your project's AGENTS.md to have Codex review its own work before it reports a task complete. Keep any instructions already in the file.

## Code review policy (cloudaeye)

After completing any coding task, before reporting done:

1. Run `$cloudaeye:inspect` (bug pass, no security checks).
2. Show the findings and reviewed scope. Do not auto-fix unless asked.

If the review fails, report the error instead of marking the review complete.

If the change touches auth, untrusted input, deserialization, secrets, crypto,
LLM prompts, tool definitions, or agent orchestration, suggest `$cloudaeye:security`
after reporting the inspect findings. Do not run it uninvited.

This snippet tells the agent to run the check before reporting a task complete. Without it, the commands are available, but you need to ask for a review.

Update

For a Git-backed installation:

codex plugin marketplace upgrade cloudaeye
codex plugin add cloudaeye@cloudaeye
codex plugin list

Restart Codex and begin a new chat after updating.

Troubleshooting

Problem Fix
CloudAEye is installed, but its skills are missing from the current chat Start a new chat or CLI session. In CLI, open /plugins, select CloudAEye, and make sure it is enabled; Space toggles it. Plugin controls
CloudAEye asks for authentication even though you are signed in to Codex Open Settings > MCP servers, select CloudAEye, and choose Authenticate. Complete the CloudAEye browser sign-in. Signing in to Codex does not authorize the MCP service. MCP authentication
CloudAEye connects, but a required tool is unavailable If you configured tool filters in config.toml, check enabled_tools and disabled_tools for that server. An allowlist can omit the tool, and the denylist takes precedence. Correct the filter and restart the connection. MCP tool filters