Codity Claude Code Plugin

The Codity Claude Code plugin brings Codity review, security scanning, PR triage, and fix workflows into Claude Code.

The plugin uses the Codity CLI under the hood, so install and authenticate the CLI before using plugin commands.

Install

In Claude Code, add the marketplace and install the plugin:

/plugin marketplace add codity-ai/codity-plugin
/plugin install codity@codity

Then authenticate the CLI once:

codity login

For Codity email accounts, use:

codity login --email

Slash Commands

CommandWhat it does
/code-reviewReviews local changes and helps fix findings.
/autofixApplies Codity PR comments with approval before each fix, then resolves threads when possible.
/check-prChecks PR readiness by waiting for CI, reading review comments, and summarizing merge status.
/codity-loopRuns review, fix, and re-review cycles until critical and high findings are cleared or the loop limit is reached.

The plugin can also trigger from natural language in Claude Code, such as "review my code" or "fix the Codity comments".

Typical Workflows

Review Local Changes

  1. Make changes in your repository.
  2. Ask Claude Code to run /code-review.
  3. Review the grouped findings.
  4. Approve fixes you want applied.

Fix Existing PR Comments

  1. Open Claude Code in the repository for the PR.
  2. Run /autofix.
  3. Approve or skip each proposed fix.
  4. Let the plugin resolve threads that were fixed successfully.

Check Whether a PR Is Ready

Run:

/check-pr

The plugin gathers CI status, review comments, and Codity findings, then reports what still needs attention before merge.

Iterate Until Clean

Run:

/codity-loop

Codity reviews, fixes actionable findings, and re-reviews in a loop until no critical or high issues remain, up to a maximum of 5 iterations.

Requirements

  • Codity CLI installed and available on PATH.
  • An authenticated Codity CLI session.
  • Repository access for the PR or local changes you want reviewed.
  • GitHub or GitLab CLI tools may be useful for provider-specific PR operations, but Codity can also talk to supported providers directly.

Troubleshooting

If a plugin command cannot run:

  • Run codity --version to confirm the CLI is installed.
  • Run codity doctor to check service connectivity.
  • Run codity login or codity login --email if authentication expired.
  • Run the command from inside the target git repository.