c3
Installation
SKILL.md
C3
CLI: C3X_MODE=agent bash <skill-dir>/bin/c3x.sh <command> [args]
- Enforce:
c3x= single source. Skill = router: classify -> run c3x -> follow output. No duplicate CLI checklists. - Agent mode:
C3X_MODE=agent-> TOON output (~40% fewer tokens). Commands appendhelp[]hints. - Entry point:
c3x listfor topology + coverage,c3x checkfor validation.--helpfor help.
| Command | Purpose |
|---|---|
list |
Topology with counts + coverage (--flat, --compact) |
check |
Validate docs match code (--fix, --only, --include-adr, --only-touched) |
add <type> <slug> |
Create entity; body via stdin or --file <path> (--container, --feature) |
write <id> |
Rewrite body or a section (--section <name>, --file <path>, stdin) |
set <id> <field> <val> |
Update frontmatter field (goal, status, boundary, category, title, date, codemap patterns) |
wire <src> <tgt> |
Link entities (--remove unlinks) |
schema <type> |
Section defs for entity type |
read <id> |
Entity content; agent truncates 1500 chars (--full bypasses) |
lookup <file-or-glob> |
File/glob -> component + refs |
Related skills