Obsidian, Codex, and Alerts Commands
Vault synchronization, code intelligence, and alerting for CCO workflows.
Obsidian Commands
Synchronize AOMA memories with your Obsidian vault for long-term knowledge management.
cco obsidian sync
Export AOMA memories to an Obsidian vault.
| Parameter | Required | Default | Description |
|---|---|---|---|
--vault |
Yes | - | Path to the Obsidian vault |
--tag |
No | active | Filter memories by tag (active, raw, archived) |
--limit |
No | 100 | Maximum number of memories to export |
--overwrite |
No | false | Overwrite existing files in vault |
--json |
No | false | Output results as JSON |
# Sync active memories to your vault cco obsidian sync --vault ~/obsidian/vault --tag active # Export with overwrite enabled cco obsidian sync --vault ~/obsidian/vault --tag active --overwrite # Export as JSON for automation cco obsidian sync --vault ~/obsidian/vault --tag active --json
cco obsidian import
Import new markdown files from an Obsidian vault into AOMA memory.
| Parameter | Required | Default | Description |
|---|---|---|---|
--vault |
Yes | - | Path to the Obsidian vault |
--json |
No | false | Output results as JSON |
# Import new notes from vault cco obsidian import --vault ~/obsidian/vault # Import with JSON output cco obsidian import --vault ~/obsidian/vault --json
cco obsidian status
Show Obsidian vault sync status.
| Parameter | Required | Default | Description |
|---|---|---|---|
--vault |
Yes | - | Path to the Obsidian vault |
--json |
No | false | Output results as JSON |
# Check sync status cco obsidian status --vault ~/obsidian/vault
Codex Commands
Query code intelligence via GitNexus knowledge graph for impact analysis and code exploration.
cco codex query
Query code by concept using GitNexus knowledge graph.
| Parameter | Required | Default | Description |
|---|---|---|---|
query |
Yes | - | Natural language query string |
--repo |
No | current | Repository to query |
--json |
No | false | Output results as JSON |
# Query by concept cco codex query "authentication flow" # Query specific repo cco codex query "database connection" --repo /path/to/repo # JSON output cco codex query "memory operations" --json
cco codex impact
Run impact analysis to determine blast radius of a symbol change.
| Parameter | Required | Default | Description |
|---|---|---|---|
target |
Yes | - | Symbol name to analyze |
--direction |
No | both | Analysis direction: upstream, downstream, or both |
--json |
No | false | Output results as JSON |
# Analyze impact in both directions cco codex impact "validate_input" # Upstream analysis only (what this symbol depends on) cco codex impact "validate_input" --direction upstream # Downstream analysis only (what depends on this symbol) cco codex impact "validate_input" --direction downstream
cco codex context
Get full context for a symbol (callers, callees, execution flows).
| Parameter | Required | Default | Description |
|---|---|---|---|
name |
Yes | - | Symbol name to get context for |
--repo |
No | current | Repository to query |
--json |
No | false | Output results as JSON |
# Get full context for a symbol cco codex context "process_task" # Context from specific repo cco codex context "orchestrate" --repo /path/to/repo
cco codex suggest-agent
Suggest which specialized agent should handle a task.
| Parameter | Required | Default | Description |
|---|---|---|---|
task |
Yes | - | Task description |
--limit |
No | 5 | Maximum number of suggestions |
--json |
No | false | Output results as JSON |
# Suggest agent for a task cco codex suggest-agent "Add security review for authentication" # Limit results cco codex suggest-agent "Refactor database layer" --limit 3
cco codex status
Show GitNexus index status for the current repository.
| Parameter | Required | Default | Description |
|---|---|---|---|
--repo |
No | current | Repository to check |
--json |
No | false | Output results as JSON |
# Check index status cco codex status
cco codex detect-changes
Map git diff hunks to affected symbols.
| Parameter | Required | Default | Description |
|---|---|---|---|
--repo |
No | current | Repository to check |
--json |
No | false | Output results as JSON |
# Detect affected symbols from git diff cco codex detect-changes # For specific repo cco codex detect-changes --repo /path/to/repo
Alert Commands
Configure and monitor alerts for orchestrator events and metrics.
cco alert
List all active alert rules. No parameters required.
# List all active alerts cco alert
cco alert-add
Add a custom alert rule.
| Parameter | Required | Default | Description |
|---|---|---|---|
--name |
Yes | - | Name for the alert rule |
--condition |
Yes | - | Condition expression (e.g., error_rate > 0.05) |
--threshold |
Yes | - | Threshold value |
--action |
No | log | Action on trigger: log, notify, stop |
# Add a basic alert for error rate cco alert-add --name high-error-rate --condition error_rate --threshold 0.05 --action log # Add alert with notify action cco alert-add --name slow-tasks --condition avg_duration --threshold 30 --action notify # Add critical alert that stops execution cco alert-add --name critical-failure --condition failure_count --threshold 10 --action stop