Skip to content

cyber-agentkit reference load

Print one or more references, each composed from its contributions as their extends and merge declare.

cyber-agentkit reference load <arguments> [options]
Argument Type Required Description
names string[] yes Reference names, without the .md extension; <plugin>/<name> builds that plugin’s own stack.
Option Type Required Description
--root string no The repository root: its .agents/references/ is the repo tier, and its package.json names the dependency plugins. Defaults to the nearest folder at or above the current directory holding .git, else the current directory.
--default string no The calling skill’s folder: its references/<name>.default.md joins as the default tier.
--metadata boolean no Make every entry a record with its status and composed frontmatter.
--trace boolean no Add the trace: every layer checked, with its outcome, and how the result was built.

Every command also takes the global options.

Print one reference.

Terminal window
cyber-agentkit reference load release-checklist

The document prints as it is composed, without frontmatter.

## Steps
Run the tests, then tag the commit.
## Rollback
Revert the tag.

Give the status and composed frontmatter.

Terminal window
cyber-agentkit reference load release-checklist --metadata --format json

--metadata makes the entry a record with its status and metadata. Without it, a found name is its content alone.

[{"name":"release-checklist","status":"found","content":"## Steps\n\nRun the tests, then tag the commit.\n\n## Rollback\n\nRevert the tag.\n","metadata":{"description":"Steps to run before cutting a release.","tags":["release","checklist"]}}]

Report how a name was built.

Terminal window
cyber-agentkit reference load release-checklist --trace --format text

--trace writes a summary line, each section with the contributions behind it, and every layer checked with its outcome. It goes to stderr in text format, so this page shows only the document; run it to see the trace.

## Steps
Run the tests, then tag the commit.
## Rollback
…