Install
Pick the form that matches how you will use it. The library and the command come from the same npm package. The plugin is the same package packaged for an agent harness.
As a library or command
Section titled “As a library or command”Node 22 or later is required, as the repository root declares in engines.
npm install cyber-agentkitRun the command without installing it:
npx -y cyber-agentkit reference listWith the package installed, npx cyber-agentkit reference list or pnpm exec cyber-agentkit reference list
runs the same command.
In a pnpm workspace where only a nested package depends on cyber-agentkit, npx run from the root
finds that copy, looks for its command in the root’s node_modules/.bin, and fails with
cyber-agentkit: not found. Run it from that package’s folder with pnpm exec, or point npx at a
folder with no node_modules so it downloads its own copy:
npx -y --prefix="$(mktemp -d)" cyber-agentkit reference listAs an agent plugin
Section titled “As an agent plugin”The plugin is named cyber-agentkit. Its plugin.json declares four harnesses: claude-code,
cursor, codex, and copilot-cli. In Claude Code, add the marketplace and install it:
/plugin marketplace add cyber-uni/marketplace/plugin install cyber-agentkit@cyber-uniFor Cursor, Codex, and Copilot CLI, install the plugin with that harness’s own plugin command. The
package ships a manifest for each: .claude-plugin, .cursor-plugin, and .codex-plugin.
Check it works
Section titled “Check it works”In the repository where you installed the plugin, ask the agent:
Which references exist?
The agent loads the reference skill,
which runs the list command and
reports the layers it read. From a shell, the same check is:
npx -y cyber-agentkit reference listUse the skill
Section titled “Use the skill”Describe what you want done with a reference. You do not name the command:
- Ask the agent to create one: “Create a repo reference called release-checklist.” It shows you the path and the content, and writes only after you approve.
- Ask it to read one: “Show me release-checklist.”
- Ask why a copy won: “Why does release-checklist resolve to that file?”
- Ask it to change one for you: “Make release-checklist ask for a changelog entry.” It drafts the change from your request and writes it only after you approve.
The skill page lists every kind of request and what the agent does for each.
Use the command
Section titled “Use the command”Run reference subcommands directly when you script around them. The default toon format is
compact for agents; add --format json to pipe the answer to another tool.
npx cyber-agentkit reference search releasenpx cyber-agentkit reference load release-checklistnpx cyber-agentkit reference load release-checklist --traceThe CLI reference documents every command and option.