Skip to content

actx index

Parse project-level definitions (rules from AGENTS.md, skills from .agent/skills/, and agent types from .agent/types/) into structured, SurrealDB-ready data for the orchestrator and dispatcher.

Terminal window
actx index <subcommand>
SubcommandDescription
rulesExtract rules (R0–R14+) from AGENTS.md
skillsScan .agent/skills/ for SKILL.md definitions
typesScan .agent/types/ for .ctx type definitions
allIndex rules, skills, and types in one pass
Terminal window
# Index just rules
$ actx index rules
{
"ok": true,
"count": 15,
"rules": [
{ "id": "R0", "description": "Keep a Journal" },
{ "id": "R1", "description": "Structured In, Structured Out" }
],
"errors": []
}
# Index everything
$ actx index all
{
"ok": true,
"rules": { "count": 15, "errors": 0 },
"skills": { "count": 4, "errors": 0 },
"types": { "count": 3, "effective": 3, "errors": 0 }
}

All output is structured JSON to stdout (R1). Error codes are returned instead of prose (R2).