Add the Corfedo skill

Add the corfedo skill so your coding agent turns to Corfedo for code in other repositories, writes queries in the search syntax and follows code across repositories.

The corfedo skill teaches your coding agent how to work with Corfedo. With it, the agent:

  • turns to Corfedo for code outside the repository it has open, such as another service or a shared library
  • writes queries in the search syntax and narrows them by repository, language and path
  • follows a name to the code that uses it across repositories, and checks which repositories use a package
  • hands broad questions to Corfedo AI, when your workspace offers it to coding agents
  • cites the repository, path and lines of what it found

Before you begin

  • A coding agent that loads skills, such as Claude Code, Codex or Cursor.
  • Your agent is connected over MCP, or the CLI is signed in on the machine where your agent runs.
  • Node.js 22.20 or later, for the command that adds the skill.

Add the skill

Run in the project where you use your agent:

npx skills add corfedo/corfedo-agents --skill corfedo

Choose your agent when asked. The skill is added to this project. Add -g to add it for every project. Start a new session of your agent afterwards, so it loads the skill.

Verify the skill

Ask your agent about a package your repositories use, for example: "Use Corfedo to find which of our repositories use the npm package react."

Check: the agent loads the corfedo skill and lists the repositories with their versions.

Update the skill

npx skills update updates the skill to the latest version. npx skills list shows the skills installed in the project, and npx skills list -g those for every project.

Troubleshooting

What you seeWhat to do
The agent answers from the open repository onlyMention Corfedo in your request, or start a new session if you added the skill during this one.
The agent says Corfedo is not connectedConnect it over MCP, or sign in with the CLI.
The agent says a tool is not offered, or reports missing_scopeThe connection was approved without that permission. Over MCP, select Revoke for the client in Connect › Manage connections, connect it again and leave the permission checked under Permissions. See Approve access. For the CLI, sign in again with --replace.

Privacy policy for this site

On this page