Skip to content

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.

abc warehouse init [NAME] [OPTIONS]
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.

abc warehouse connect [OPTIONS]
Option Description
--path PATH Path to the warehouse (prompted if omitted)

Creates .agentic-beacon/config.toml (gitignored) with the warehouse location.

Example:

abc warehouse connect --path ~/my-org-warehouse


abc warehouse list

List artifacts available in the connected warehouse.

abc warehouse list [ARTIFACT_TYPE]
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.

abc warehouse contribute -m MESSAGE [OPTIONS]
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.

abc warehouse status [PATH] [OPTIONS]
Argument / Option Description
PATH Optional: show unified diff for this specific file
--all Show unfiltered warehouse working-tree status

Example:

abc warehouse status
abc warehouse status knowledge/python/standards.md
abc warehouse status --all


abc warehouse template-upgrade

Upgrade warehouse template documentation to the latest version.

abc warehouse template-upgrade [WAREHOUSE_PATH] [OPTIONS]
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).

abc warehouse lint [WAREHOUSE_PATH]
Option Description
WAREHOUSE_PATH Path to warehouse directory (defaults to current directory)

Validation rules:

  1. Structure preflight — required directories (agents/, contexts/, skills/, docs/) and README exist.
  2. Skill frontmatter — every skills/*/SKILL.md has a valid YAML frontmatter block that satisfies SkillFrontmatter (no requires.skills key; correct schema).
  3. Skill context references — every context name in requires.contexts exists as contexts/<name>.md.
  4. Agent manifestagents.yaml is valid YAML; every agents/*.md file has a matching entry and vice versa; no legacy requires: keys in agent frontmatter; every declared skill exists under skills/.
  5. Agent frontmatter — every agents/*.md (excluding README.md) has both a name: and description: YAML frontmatter key.
  6. Knowledge link integrity — every inline Markdown link in contexts/*.md and skills/*/SKILL.md that resolves to a knowledge/…/*.md path exists on disk. This rule is lint-only: abc sync retains 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 with error: prefixes.

Example:

# Lint the current directory (warehouse clone)
abc warehouse lint

# Lint a specific path
abc warehouse lint ~/my-org-warehouse

Note: abc warehouse lint is designed for warehouse-side CI. A freshly abc warehouse init-ed warehouse passes lint with exit code 0. The cross-repo CI workflow (.github/workflows/lint.yml in the warehouse repo) runs uvx agentic-beacon==<pinned> warehouse lint ..


Project Setup

abc setup

Create .agentic-beacon/beacon.yaml configuration.

abc setup

Creates a beacon.yaml template that declares which artifacts this project uses. Must be run after abc warehouse connect.

Example:

abc setup


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.

abc adopt [OPTIONS]
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.

abc sync [OPTIONS]
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.

abc status [OPTIONS]
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.

abc doctor [OPTIONS]
Option Description
--fix Auto-migrate stale paths to the current schema

abc list

List declared and synced project artifacts.

abc list [ARTIFACT_TYPE]
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.

abc clean [OPTIONS]
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.

abc reset [OPTIONS]
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