actx index
actx index
Section titled “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.
actx index <subcommand>Subcommands
Section titled “Subcommands”| Subcommand | Description |
|---|---|
rules | Extract rules (R0–R14+) from AGENTS.md |
skills | Scan .agent/skills/ for SKILL.md definitions |
types | Scan .agent/types/ for .ctx type definitions |
all | Index rules, skills, and types in one pass |
Examples
Section titled “Examples”# 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 }}Output Format
Section titled “Output Format”All output is structured JSON to stdout (R1). Error codes are returned instead of prose (R2).
See Also
Section titled “See Also”- actx dispatch — dispatch workstreams using indexed data
- actx swarm — multi-agent orchestration