CLI Reference¶
Complete reference for the abc CLI. All commands are subcommands of abc.
abc --help # list all commands
abc <command> --help # help for a specific command
abc --version # show version
Warehouse Commands¶
abc warehouse init¶
Initialize a new warehouse repository.
| Option | Description |
|---|---|
NAME |
Warehouse directory name (prompted if omitted) |
--path PATH |
Create warehouse at this path |
--org TEXT |
Organization name (used in generated templates) |
--languages TEXT |
Comma-separated languages to pre-populate |
--domains TEXT |
Comma-separated domains to pre-populate |
--no-git |
Skip git init |
--no-interactive |
Use defaults without prompting |
Example:
abc warehouse init my-org-warehouse
abc warehouse init my-warehouse --path ~/projects --no-interactive
abc warehouse connect¶
Connect a project to a warehouse.
| Option | Description |
|---|---|
--path PATH |
Path to the warehouse (prompted if omitted) |
Creates .agentic-beacon/config.toml (gitignored) with the warehouse location.
Example:
abc warehouse list¶
List artifacts available in the connected warehouse.
| Argument | Description |
|---|---|
| (none) | List all artifact types |
agents |
List available agents |
knowledge |
List available knowledge |
skills |
List available skills |
contexts |
List available contexts |
abc warehouse contribute¶
Commit changes in the warehouse working tree back to the warehouse repository.
| Option | Description |
|---|---|
-m, --message TEXT |
Commit message (required) |
--push |
Push the commit to the remote after committing |
--paths TEXT |
Warehouse-relative path to commit (repeatable). When omitted, commits all beacon.yaml-tracked dirty paths. |
Stages and commits files tracked by beacon.yaml that have uncommitted changes in the warehouse clone.
Example:
abc warehouse contribute -m "Update python standards"
abc warehouse contribute -m "Fix typo" --push
abc warehouse contribute -m "Update skill" --paths skills/foo/SKILL.md
abc warehouse contribute -m "Split commit" --paths a.md --paths b.md
abc warehouse status¶
Show warehouse working tree status.
| Argument / Option | Description |
|---|---|
PATH |
Optional: show unified diff for this specific file |
--all |
Show unfiltered warehouse working-tree status |
Example:
abc warehouse template-upgrade¶
Upgrade warehouse template documentation to the latest version.
| Option | Description |
|---|---|
WAREHOUSE_PATH |
Path to warehouse (defaults to current directory) |
--dry-run |
Preview changes without applying |
--interactive |
Prompt before each change |
--force |
Apply without confirmation |
abc warehouse lint¶
Validate a warehouse directory end-to-end. Runs every Beacon-owned artifact
validation rule against the warehouse at WAREHOUSE_PATH (defaults to the
current working directory when omitted).
| Option | Description |
|---|---|
WAREHOUSE_PATH |
Path to warehouse directory (defaults to current directory) |
Validation rules:
- Structure preflight — required directories (
agents/,contexts/,skills/,docs/) and README exist. - Skill frontmatter — every
skills/*/SKILL.mdhas a valid YAML frontmatter block that satisfiesSkillFrontmatter(norequires.skillskey; correct schema). - Skill context references — every context name in
requires.contextsexists ascontexts/<name>.md. - Agent manifest —
agents.yamlis valid YAML; everyagents/*.mdfile has a matching entry and vice versa; no legacyrequires:keys in agent frontmatter; every declared skill exists underskills/. - Agent frontmatter — every
agents/*.md(excludingREADME.md) has both aname:anddescription:YAML frontmatter key. - Knowledge link integrity — every inline Markdown link in
contexts/*.mdandskills/*/SKILL.mdthat resolves to aknowledge/…/*.mdpath exists on disk. This rule is lint-only:abc syncretains its current warning-only behaviour for broken knowledge links.
Exit codes:
0— No errors found; output contains✓ Lint passed.1— One or more errors found; output is grouped by artifact path witherror:prefixes.
Example:
# Lint the current directory (warehouse clone)
abc warehouse lint
# Lint a specific path
abc warehouse lint ~/my-org-warehouse
Note:
abc warehouse lintis designed for warehouse-side CI. A freshlyabc warehouse init-ed warehouse passes lint with exit code 0. The cross-repo CI workflow (.github/workflows/lint.ymlin the warehouse repo) runsuvx agentic-beacon==<pinned> warehouse lint ..
Project Setup¶
abc setup¶
Create .agentic-beacon/beacon.yaml configuration.
Creates a beacon.yaml template that declares which artifacts this project uses. Must be run after abc warehouse connect.
Example:
Core Commands¶
abc adopt¶
Open an interactive TUI to browse and select warehouse artifacts. Applying your selection writes the new entries to beacon.yaml (clearing matching pending.yaml entries) and immediately syncs them — symlinks are created and contexts / skills / agents are wired into the project. In non-interactive contexts (no TTY) the command prints the candidate list and exits; you must edit beacon.yaml manually and then run abc sync. See Pending & Adoption for the underlying file model.
| Option | Description |
|---|---|
--dry-run |
Preview adoptable artifacts without modifying beacon.yaml |
Keyboard shortcuts in TUI:
| Key | Action |
|---|---|
↑ / ↓ |
Navigate |
Space |
Toggle selection |
Enter |
Confirm and write to beacon.yaml |
a / n |
Select all / Select none |
t |
Toggle show-all |
Esc / q |
Cancel |
abc sync¶
Sync all artifacts declared in beacon.yaml from the warehouse.
| Option | Description |
|---|---|
--force |
Overwrite all conflicting files without prompting |
--dry-run |
Preview what would be synced without making changes |
--verbose |
Show per-file sync output |
--skip-git-check |
Skip warehouse git state validation |
--contribute-local |
Non-interactive: contribute all modified local files to warehouse |
--discard-local |
Non-interactive: discard all modified local files and replace with symlinks |
--yes |
Auto-accept adding missing agent-required skills to beacon.yaml |
What sync does per artifact type:
| Artifact | Action |
|---|---|
| Knowledge | Create symlinks in .agentic-beacon/artifacts/knowledge/ |
| Contexts | Create symlinks + wire into CLAUDE.md or opencode.json |
| Skills | Create symlinks + install into tool-specific directories |
| Agents | Create artifact symlinks + wire into project-local .claude/agents/ and .opencode/agents/ |
Status & Maintenance¶
abc status¶
Show the current warehouse connection and configuration status.
| Option | Description |
|---|---|
--project PATH |
Check a specific project directory |
Displays the connected warehouse path, configured contexts/skills (with ✓/✗ for synced status), bundled skills status, and total synced file count. See Bundled Skills for the list and walkthrough.
abc doctor¶
Validate project health: warehouse connection, beacon.yaml validity, missing artifacts.
| Option | Description |
|---|---|
--fix |
Auto-migrate stale paths to the current schema |
abc list¶
List declared and synced project artifacts.
| Argument | Description |
|---|---|
| (none) | List all synced artifacts |
agents |
List declared agents (read from .agentic-beacon/artifacts/agents/) |
knowledge |
List synced knowledge files |
skills |
List synced skills |
contexts |
List synced contexts |
abc clean¶
Remove synced artifacts from the project.
| Option | Description |
|---|---|
--project PATH |
Clean a specific project directory |
Removes .agentic-beacon/artifacts/ entirely. Run abc sync to re-sync.
abc reset¶
Force-overwrite all synced artifacts from the warehouse.
| Option | Description |
|---|---|
--project PATH |
Reset a specific project directory |
Overwrites all symlinks from the warehouse, discarding any local modifications.
Removed Commands¶
The following commands have been removed. If you are upgrading from a pre-v3 release, replace any scripted invocations with the modern equivalents below:
| Removed | Replacement |
|---|---|
abc delta |
abc warehouse status |
abc contribute |
abc warehouse contribute -m "message" |
abc update |
abc sync (or abc reset to force-overwrite) |
Global Options¶
Available on all commands:
| Option | Description |
|---|---|
--verbose |
Enable debug-level logging |
--version |
Show version and exit |
--help |
Show help and exit |
Quick Reference¶
| Command | Description |
|---|---|
abc warehouse init |
Create a new warehouse |
abc warehouse connect |
Connect a project to a warehouse |
abc warehouse list |
List available artifacts in warehouse |
abc warehouse status |
Show warehouse working tree changes |
abc warehouse contribute -m MESSAGE |
Commit warehouse changes back |
abc warehouse template-upgrade |
Upgrade warehouse template docs |
abc setup |
Create beacon.yaml configuration |
abc adopt |
Browse + select artifacts via TUI |
abc sync |
Sync all declared artifacts (contexts, skills, agents) |
abc status |
Show connection and sync status |
abc doctor |
Validate project health |
abc list |
List synced artifacts |
abc clean |
Remove synced artifacts |
abc reset |
Force-overwrite all artifacts |