Connect Codacy to Your AI Agent

Choose repository names and a branch for comparison, or supply tool and pattern IDs for a rule explanation. AI can organize the reported fields around your coding question.

8 tools API key

Try a Codacy Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Codacy

Compare Repository Analysis Summaries

Read repository analysis records and organize their reported quality fields against your criteria.

/oo Codacy: List Codacy repository analyses for Git provider [provider], organization [organization name], then read repositories [repository names], branch [branch]. Compare reported fields for [quality review criteria].

Explain an Analysis Rule Set

Read tool patterns and selected definitions to explain what the rules check.

/oo Codacy: List Codacy patterns for tool [tool UUID] and read patterns [pattern IDs]. Explain the definitions relevant to [coding question] and distinguish rule descriptions from findings in my code.

Start Working with Codacy

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Codacy

    Connect with a Codacy account API token.

    Connect Codacy →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A Codacy account API token with access to the organizations and repositories to review.

Codacy Tools

Codacy repository summaries describe analysis results, while tool patterns define analysis rules. Their separate roles help keep observed results distinct from rule explanations.

Read Repository Analysis

List accessible organizations and repository summaries and retrieve a repository analysis for a branch.

Read Tools and Rule Definitions

List analysis tools and languages, and retrieve tool patterns.

8 tools

Get Current User

Retrieve the Codacy user associated with the connected API token.

codacy.get_current_user

List User Organizations

List Codacy organizations accessible to the connected API token, optionally scoped to one Git provider.

codacy.list_user_organizations

List Repository Analyses

List repository analysis summaries for a Codacy organization on a Git provider.

codacy.list_repository_analyses

Get Repository Analysis

Retrieve one Codacy repository analysis summary.

codacy.get_repository_analysis

List Tools

List Codacy code analysis tools.

codacy.list_tools

List Languages

List programming languages supported by Codacy analysis tools.

codacy.list_languages

List Tool Patterns

List code patterns available for a Codacy analysis tool.

codacy.list_tool_patterns

Get Tool Pattern

Retrieve one code pattern for a Codacy analysis tool.

codacy.get_tool_pattern

Frequently Asked Questions

Can AI focus on a specific branch?

Yes. Provide the Git provider, organization, repository name, and branch for a repository analysis lookup.

Can AI explain a rule before I change code?

Yes. Supply the tool UUID and pattern ID to read the rule definition and discuss its meaning.

Does this apply code fixes or change analysis rules?

No. These operations read analysis summaries and reference definitions.

Connect Codacy

About Codacy ↗