-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
Complete CLI reference for agent-notes.
| Flag | Description |
|---|---|
-v, --version |
Show version |
Build and install components via interactive wizard.
agent-notes install [--local] [--copy] [--reconfigure]| Flag | Description |
|---|---|
--local |
Install to current project only |
--copy |
Copy files instead of symlink (with --local) |
--reconfigure |
Clear existing state and re-run the wizard |
Default behavior (no flags): runs the interactive wizard for global installation.
Remove installed components.
agent-notes uninstall [--local] [--global]| Flag | Description |
|---|---|
--local |
Remove from current project only |
--global |
Remove from global scope only |
| (no flags) | Remove from both scopes |
Check installation health.
agent-notes doctor [--local] [--fix]| Flag | Description |
|---|---|
--local |
Check local installation |
--fix |
Auto-fix found issues |
Show installation status, component counts, and storage info.
agent-notes infoNo flags. Displays version, installed components, storage type, and install targets.
List installed components.
agent-notes list [filter]| Argument | Values | Default |
|---|---|---|
filter |
agents, skills, rules, clis, models, roles, all
|
all |
Lint source configuration files for errors.
agent-notes validateNo flags. Checks YAML, markdown, and frontmatter in agent/skill/rule source files.
Set role-to-model assignment.
agent-notes set role <role_name> <model_id> [--cli <name>] [--scope <scope>] [--local]| Argument/Flag | Description |
|---|---|
role_name |
Role to configure (reasoner, worker, scout, orchestrator) |
model_id |
Model ID (e.g., claude-opus-4-7, claude-sonnet-4-6) |
--cli <name> |
Target CLI (auto-detect if omitted) |
--scope <global|local> |
Install scope |
--local |
Shorthand for --scope local
|
Rebuild installed files from current state.
agent-notes regenerate [--scope <scope>] [--cli <name>] [--local]| Flag | Description |
|---|---|
--scope <global|local> |
Install scope |
--cli <name> |
Regenerate specific CLI only |
--local |
Shorthand for --scope local
|
Build agent configuration files from source. Used during development.
agent-notes buildNo flags.
Manage agent memory. See Memory-Storage for detailed mode documentation.
agent-notes memory [action] [name] [extra...]Default action: list.
| Action | Arguments | Description |
|---|---|---|
init |
— | Create folder structure and Index.md |
list |
— | List all notes by category/agent (default) |
vault |
— | Show current storage type, path, and init status |
index |
— | Regenerate Index.md |
add |
title, body, [type], [agent], [project] | Add a note |
size |
— | Show total disk usage |
show |
name | Show one agent's or category's notes |
reset |
[name] | Clear all memory or one agent's (requires confirmation) |
export |
— | Back up to memory-backup/ |
import |
— | Restore from memory-backup/ |
migrate |
— | Migrate vault layout |
ingest |
title, summary, [concepts], [entities], [tags] | Ingest source material (Wiki mode only; use /ingest skill for Obsidian mode) |
query |
keyword | Search wiki pages (wiki only) |
lint |
— | Check wiki health (wiki only) |
| Type | Description |
|---|---|
pattern |
Reusable solution or technique |
decision |
Architectural choice with rationale |
mistake |
Recurring error to avoid |
context |
Project background, constraints |
session |
Current session's running log (appends to existing) |
When called with no arguments, memory ingest scans the raw/ directory for unprocessed files and reports what can be ingested:
agent-notes memory ingest # scan for unprocessed raw filesMode note: The memory ingest CLI command is available in Wiki mode only. For Obsidian mode (both session and knowledge wiki variants), use the /ingest skill instead, which routes through agent-notes memory add. See Memory-Storage for detailed mode documentation and ingest pipeline differences.
Report token usage and cost for the current AI session. See Cost-Report for detailed documentation.
agent-notes cost-report [--since <datetime>] [--session <id>]| Flag | Description |
|---|---|
--since <ISO-datetime> |
Only include messages at or after this UTC datetime |
--session <id> |
Report on a specific session (Claude Code only) |
Reconfigure settings after install.
agent-notes config [action] [extra...] [--cli <name>]Default action: wizard.
| Action | Arguments | Description |
|---|---|---|
wizard |
— | Interactive configuration wizard (default) |
show |
— | Print current configuration |
role-model |
role, model | Set role-to-model mapping (scriptable) |
role-agent |
role, agent | Show agent info for a role |
providers |
— | Interactive API key entry for providers |
provider |
name | Check if a provider is configured (scriptable) |
| Flag | Description |
|---|---|
--cli <name> |
Target CLI: claude, opencode, or both
|