cligentic
Agents need CLIs with safe execution surfaces. cligentic ships the primitives (trust ladders, killswitches, audit logs, --json dual mode) as copy-paste TypeScript blocks you own completely.
Why
Every CLI I shipped to production reinvented the same primitives: trust gates, atomic writes, killswitches, JSON dual mode, audit trails. cligentic extracts them.
shadcn model applied to CLI infrastructure. No runtime dependency, no framework lock-in. Install what you need, edit it freely, ship it.
Use the registry in a project
With shadcn@4.18.0 or newer, register cligentic once. In projects without
components.json, the CLI stores the registry in package.json.
Then search, inspect, and install blocks by name:
No components.json is required. The copied source and npm dependencies land
in your project; cligentic is never added as a runtime dependency.
Install the agent skill
Install the companion skill so your coding agent searches, evaluates, installs, and wires cligentic blocks instead of rebuilding CLI infrastructure from memory:
For a one-off run without installing it:
The skill treats registry installation as the default for TypeScript projects, preserves published contracts, and keeps direct URLs and raw TypeScript as fallbacks.
Install one block without registry setup
Every block is served as a raw .ts file. One curl, no tooling:
Or let the shadcn CLI place the files and resolve dependencies for you:
The shadcn flow resolves the dependency chain to:
trust-ladder needs json-mode and error-map, because the gate uses JSON-mode detection to know when to throw instead of prompt, and the error type to throw something structured. The CLI pulls those in automatically. With curl, fetch them too, or read the dependency list:
approveGate() is the core: T0/T1 pass through silently, T2 prompts for confirmation, T3 requires --yes --confirm <id>. In --json mode or piped input, any T2+ gate throws instead of prompting, so agents get a structured error, not a hanging prompt.
Available blocks
Agent
Foundation
Platform
Browse all at .
Used in production
- broker-cli (private). Agent-first brokerage CLI, moves real money. Uses
killswitch,audit-log,session,atomic-write,trust-ladder. - . Agent-first v0 Platform API wrapper. Uses
audit-log,killswitch,doctor,next-steps,api-key-wizard. - . Agent-first SUNAT tax automation. Uses
config,xdg-paths,json-mode,next-steps,telemetry. - . Reverse-engineers websites into agent CLIs. Uses
xdg-paths,config,session.
Stack
Blocks are pure TypeScript. Registry follows the . Anything that speaks bunx --bun shadcn@latest add works.
The site is Next.js + Tailwind 4 + Shiki, deployed on Vercel.
Local development
To add a block: drop the file in registry/<layer>/<name>.ts, add an entry to registry.json, run bun run build.
License
MIT. See LICENSE [blocked].
Built by at .