cyber-agentkit reference
Read reference documents by name, composed from the managed, repo, user, plugin, and default tiers, create, customize, or delete a contribution, quote a contract and check a report against it, migrate version 1 files, and register an interface in the public registry.
Synopsis
Section titled “Synopsis”cyber-agentkit reference <command>Subcommands
Section titled “Subcommands”| Command | What it does |
|---|---|
load |
Print one or more references, each composed from its contributions as their extends and merge declare. |
list |
List every reference name, one row each, with its description, and its status when not found. A pattern keeps only the names it matches exactly. |
search |
Find references by name, description, tags, headings, or body, best match first. |
where |
Give the repo and user files, and with –in a folder’s project section, a customization or a selection of a reference is written to, who each reaches and what hides it, the main document’s heading paths, and the read-only plugins and default the stack uses. |
create |
Start a contribution in the repo or user tier, a folder’s project section, or a plugin’s or a skill’s source folder, from a template or an interface. Never overwrites a file with a body; writes a file a contribution above hides, with a warning. |
customize |
Customize a name for the repo or user tier, or a folder’s project section, running no model: pick what it builds on (extends), write a body generated from a request with its record, or print what the generator reads (–base). Writes a file a contribution above hides, with a warning. |
delete |
Delete a repo or user contribution, a folder’s project section, or one in a plugin’s or a skill’s source folder, with a non-Markdown file’s metadata file, and report what answers the name afterwards. Never deletes an installed or managed one. |
migrate |
Rewrite reference files still in a form version 1 wrote, and rename files under a name a plugin renamed, in the repo and user tiers and every project section, or in one plugin or skill source folder. Prints the plan; --write applies it. Never changes a managed or installed file. |
implementations |
List the implementations of an interface a consumer can load, each with its pin, description, and unsupported and partial sections; a blueprint (<id>.<system>.<solution> of an id ending .blueprints) also with its system, its capability reference, and that reference’s Verified entries. |
advise |
Report what the given files or folders hard-code that could move into references: pattern leads (hosts, tools, paths, URLs, step lists, templates) with their lines, and the files read with their sizes. Works on any text an agent reads. Each lead is a suggestion for the author to judge, never a pass or fail. Writes nothing. |
uses |
List the references the given files or folders load with the reference skill, as a skill declares them under metadata.references and metadata.reference-interfaces, else each backticked name that resolves here and each load line: each name, the files that name it, whether it was declared or detected, whether a bundled default ships beside it (references/gaps, the names with no bundled default. Writes nothing. |
audit |
Deprecated: use advise for what the text hard-codes and uses for the references it loads. Runs both on the given files or folders and reports them together. Writes nothing. |
check |
Check references, each composed as load composes it: an interface document against its shape, an implementation against its interface, a capability reference (<system>.capabilities) against its System, Detect, and Verified opening, a blueprint interface (an id ending .blueprints) for cardinality many, a blueprint against its <system>.capabilities and the features its Needs: lines name, a contract (a contract: block, named <id>.contract) for its parties in order, no version line in its body, and its own id or version once customized, every **Partial.** or **Unsupported.** mark for the sentence after it, and every document for the defects composing it raises. With no names, checks every name found. Every warning load raises is reported. A failure is an entry in failed, not an error; a warning never fails a check. |
check-report |
Check that a delegatee’s report opens with the contract’s exact version line, then a Model: line, then Status: done or Status: blocked. A report that fails is passed: false with the first wrong line, not an error. |
excerpt |
Print what a brief quotes from a contract: its version line, Version: <id>-contract <version>, built from its contract: block, then a blank line, then the party’s section word for word. |
defaults |
Write a folder’s bundled default copies: each reference its text loads, such as a skill’s, copied from its plugin’s canonical reference to references/default taken out of extends, or a data reference byte for byte to references/ |
register |
Record a reference interface, or a system’s capability reference (<system>.capabilities), in the public registry so others can find it: look the name up first, stop on the same name or show near matches, then open a pull request or an issue only when confirmed. Optional; using either never needs it. |