Zero install. Run any CLI tool with npx supercli.
JSON-first by default. Use --human for readable output.
Think: "Stripe API for CLIs and tools"
Turn any CLI, API, or workflow into a discoverable, executable capability β with consistent inputs, outputs, and zero glue code.
# Discover what exists (JSON by default)
npx supercli skills search "deploy"
# Understand exactly how to use it
npx supercli skills get aws.cfn.deploy
# Execute with predictable output (JSON by default)
npx supercli aws cfn deploy --stack-name my-stack
# For human-readable output, add --human
npx supercli aws cfn deploy --stack-name my-stack --humanπ Works the same across CLI tools, APIs, MCP servers, and workflows π No glue code, no parsing, no guesswork
- Quick Start
- For Humans
- For AI Agents
- What You Get
- CLI Usage Examples
- Architecture
- Capability Sources
- Output Envelope + Exit Codes
- Operating Modes
- Install
- Troubleshooting
- Tech Stack
- Community & Social
npx supercli ask "list my tasks and recent commits"{
"tasks": [...],
"commits": [...]
}β Combines multiple tools into one structured response.
Every tool speaks a different language:
- CLIs β flags & inconsistent output
- APIs β schemas & auth
- MCP/tools β custom protocols
- Workflows β glue code everywhere
Humans waste time learning syntax. Agents fail because nothing is predictable.
Without supercli, integrating a new tool means:
- Finding and reading its documentation
- Learning its flag syntax and output format
- Writing glue code to parse and transform the output
- Handling edge cases and error states manually
- Repeating for every additional tool
For agents, the situation is worse β every tool responds differently, errors are unstructured, and there's no way to discover capabilities dynamically.
supercli turns everything into capabilities:
- Same structure β
supercli <namespace> <resource> <action> - Same output β deterministic JSON envelopes
- Same discovery β searchable skill graph
- Same execution β no custom integrations
With supercli:
- Discover what's available via
supercli skills search "backup"β no docs needed - Inspect the exact interface via
supercli inspect <ns> <res> <act>β see every argument, type, and default - Execute with
--jsonβ get structured output every time - Combine via
supercli ask "do X and Y"β no shell scripting required - Extend via plugins β add any CLI, API, or MCP server with one command
# Explore capabilities (JSON by default)
npx supercli help
npx supercli skills search "github"
# Run something real (JSON by default)
npx supercli beads issue list
npx supercli gh issue list
# For human-readable output, add --human
npx supercli beads issue list --human
# AI-driven execution
npx supercli ask "show my tasks and recent commits"
# Manage plugins
npx supercli plugins list
npx supercli plugins explore
npx supercli plugins install commiat
# Inspect a capability before using it
npx supercli inspect http check health
# β Shows: args, types, defaults, required/optional, descriptionπ‘ Install globally:
npm install -g superaclifor repeated use.
Server mode: See docs/features/server-plugins.md
| Instead of... | You do... |
|---|---|
| Installing 50 tools separately | One command: npx supercli |
| Reading man pages for flags | supercli skills get <tool>.* β structured metadata |
| Parsing inconsistent output | JSON by default, --human for readable output |
| Gluing tools with shell scripts | supercli ask "do X and Y" |
What this means day-to-day:
- No install friction β
npx supercli <tool>works immediately, noapt-get,brew, ornpm i -g - No syntax learning β Every tool uses the same three-word command pattern, just change the namespace
- No output parsing β JSON by default for scripts/pipes,
--humanfor terminal display - No context switching β One terminal, one interface, 5,000+ tools available
π‘ Important: supercli is JSON-first by default. Add
--humanfor human-readable output in your terminal.
- π Discoverable β
supercli skills search "database"returns machine-readable metadata (JSON by default) - π¦ Deterministic β Every tool returns JSON by default, accepts
--humanfor readable output,--silent(no interactive prompts) - π¨ Predictable errors β Standard error codes:
82(validation),105(integration),110(internal) - π Composable β
supercli ask "check status and send alert"chains tools automatically - π Auditable β Every call logs namespace, resource, action, inputs, outputs, duration
- π§ Self-describing β
supercli inspect <ns> <res> <act>exposes full argument schemas with types and defaults - β»οΈ Idempotent β Same inputs always produce same output shape, enabling retry and reconciliation
# Agent workflow: discover β inspect β execute β all machine-readable (JSON by default)
supercli skills search "deploy"
supercli skills get aws.cfn.deploy
supercli aws cfn deploy --stack my-stackFor agent developers: always start with supercli for self-documenting bootstrap β it returns the full capability graph schema (JSON by default). Then use supercli skills search <query> to narrow down, and supercli inspect <ns> <res> <act> before calling any command to validate argument expectations.
supercli turns any tool into a first-class capability with a consistent interface:
- π Discover without docs β
supercli skills search "database"returns every matching capability with descriptions, tags, and argument schemas. No man pages, no README hunting. - β‘ One command pattern β Every tool follows
supercli <ns> <res> <action> [--flags]. Learn one pattern, access 5,000+ tools. - π€ Built for agents β Every capability returns structured JSON by default, accepts
--humanfor readable output, and self-describes viainspect. No parsing, no guesswork. - π Chain without glue β
supercli ask "check status and send alert"composes multiple capabilities automatically. No shell scripts, no middleware. - π¦ Extend anything β Add CLIs, APIs, or MCP servers as capabilities with one command via the plugin registry.
- π Full audit trail β Every call logs namespace, resource, action, inputs, outputs, and duration. Know exactly what ran and how long it took.
- π¨ Predictable errors β Standard exit codes (
82validation,105integration,110internal) let scripts and agents handle failures deterministically.
# Discovery (JSON by default)
npx supercli skills list
npx supercli skills search "database"
# Inspection (important for agents)
npx supercli inspect beads issue create
npx supercli skills get beads.issue.create
# Execution (JSON by default)
npx supercli beads issue create --title "Fix bug"
npx supercli beads issue list
npx supercli gwc drive files list
# For human-readable output, add --human
npx supercli beads issue list --human
# AI
npx supercli ask "do X and Y"
# Plugins
npx supercli plugins list
npx supercli plugins install commiat
npx supercli plugins show commiatsupercli models every tool, API, and workflow as a capability β a named, typed, executable unit with a consistent interface. Capabilities form a graph where each node represents a tool function and edges represent composition possibilities.
The capability graph is the core abstraction. Instead of learning N different tool interfaces, you interact with one graph that routes to the right underlying system. All 5,000+ tools are nodes in this graph, addressable by the same triple pattern.
The router is the central brain that connects user commands to capabilities:
- Discovers capabilities from every adapter (bundled plugins, remote registry, MCP servers, HTTP APIs), caches metadata for sub-millisecond lookup
- Routes commands to the correct execution harness based on
<namespace> <resource> <action>β the same triplet for every tool - Executes with unified error handling, consistent JSON envelopes, and output formatting (
--json,--human,--compact) - Surfaces machine-readable descriptions so agents can inspect, plan, and chain capabilities without guesswork
The routing pipeline processes every command in four phases:
- Parse β Extracts
<namespace> <resource> <action>and separates flags from positional arguments. The same parser handles every command, regardless of the underlying tool. - Resolve β Looks up the capability in the metadata cache. For cached capabilities this takes <1ms. New capabilities are discovered from the appropriate adapter and cached for subsequent calls.
- Route β Dispatches to the correct execution harness based on capability type: CLI wrapper, MCP bridge, HTTP adapter, or workflow engine. Each harness handles transport-specific concerns like timeouts, retries, and protocol negotiation.
- Execute β Runs the underlying tool with unified error handling, timeout management, and structured output formatting. Returns a deterministic JSON envelope every time.
Four adapter types bridge external systems into the capability graph:
| Adapter | What It Wraps | When To Use |
|---|---|---|
| CLI | 5,000+ CLI binaries | Running shell commands with JSON output, timeout management, structured error handling |
| MCP | Model Context Protocol servers | Connecting MCP-compatible tools into the same routing graph |
| HTTP | REST endpoints | Turning any API into a callable capability with configurable methods, headers, and body schemas |
| Workflow | Multi-capability chains | Composing multiple tools via supercli ask "do X and Y", auto-resolving dependencies |
Each adapter normalizes its target into the same internal representation: a capability record with name, description, argument schema, and execution handler. Every tool β whether a CLI binary, an MCP server, or a REST API β looks identical to the router.
The plugin system keeps capabilities organized and discoverable:
- Each plugin bundles a manifest (
plugin.json) with metadata, checksums, commands, and dependency requirements - Installed plugins register in
~/.supercli/plugins/plugins.lock.json - Both the Zig binary (
sc-zig) and the Node.js runtime (sc) read the same plugin storage β they co-exist and share state - The remote registry at
plugins/catalog.jsontracks 5,000+ community plugins with checksum-verified updates - Every capability includes description, tags, argument schemas, and install guidance
supercli replaces tool-specific syntax with a queryable, executable capability graph β one interface for every tool, discoverable by humans and agents alike.
supercli draws capabilities from bundled plugins (5,000+, auto-discovered), MCP servers (mcp add <name>), and HTTP APIs (api add <name>). Every capability includes description, tags, argument schemas, and checksum-verified metadata.
Every command returns a consistent JSON envelope:
{
"version": "1.0",
"command": "http.check.health",
"duration_ms": 142,
"data": { "status": "ok" }
}| Exit Code | Meaning |
|---|---|
0 |
Success |
82 |
Validation error |
105 |
Integration error |
110 |
Internal error |
All tools return JSON by default. Add --human for readable output, --silent for machine-consumable output without prompts.
| Mode | Command | What It Does | When To Use |
|---|---|---|---|
| Direct | <ns> <res> <act> [--flags] |
Executes a specific capability with arguments | Running a known tool, scripting |
| Ask | supercli ask "do X and Y" |
AI-driven composition chains multiple capabilities | One-shot tasks, complex workflows |
| Inspect | supercli inspect <ns> <res> <act> |
Shows argument schema, types, descriptions, defaults | Before running an unfamiliar command |
| Discover | supercli skills search <query> |
Searches all capabilities by name, description, tags | Finding what tools are available |
| Server | supercli server |
Starts HTTP or MCP server exposing all capabilities | Remote access, IDE integration, API gateway |
All five modes return JSON by default. Add --human for readable display. Agents should always start with supercli for self-documenting bootstrap β it returns the full capability graph schema (JSON by default).
curl -sSL https://github.com/javimosch/supercli/releases/download/v0.1.0-zig/install.sh | bash- β Single static binary (~250KB), no Node.js required
- β Faster startup, native performance
- β
Reads same
~/.supercli/plugins/plugins.lock.json
# Run immediately β no install needed
npx supercli skills list
# Install globally
npm install -g superacli- β Full feature parity (MCP, server, HTTP adapter)
- β Plugin installation from registry
Both versions co-exist and share plugin storage at ~/.supercli/plugins/plugins.lock.json. Install either (or both) β they read and write the same configuration, so switching between them is seamless. The Zig version is recommended for daily use (faster startup), while the Node.js version provides full MCP and HTTP adapter support.
| Symptom | Likely Cause | Fix |
|---|---|---|
command not found: supercli |
Not installed | Run npx supercli (no install needed) or npm install -g superacli |
| Plugin not found | Not in registry | Run supercli plugins explore --name <query> to find it |
| Output is not JSON | Add --json flag |
JSON is default, but if you need to force it, add --json |
| MCP server not connecting | Server not running | Ensure the MCP server process is active and accessible |
| Zig binary not found | Wrong platform binary | Use npx supercli (Node.js) as fallback β both share plugin state |
For detailed debugging: supercli returns the full schema (JSON by default). Use supercli inspect <ns> <res> <act> to validate arguments before execution.
supercli helpβ list all commandssupercli help <namespace>β commands in a namespacesupercliβ full capability graph schema (JSON by default)supercli plugins show <name>β plugin details including version, source, tags- File an issue at github.com/javimosch/supercli/issues
| Layer | Technology |
|---|---|
| Runtime | Node.js (sc), Zig (sc-zig) β co-exist, share plugin state |
| Router | Custom capability graph with sub-millisecond cache |
| Plugins | 5,000+ bundled β each plugin.json + meta.json |
| MCP | Built-in MCP server adapter (supercli mcp add <name>) |
| HTTP | HTTP adapter for REST endpoints as capabilities |
| Registry | plugins/catalog.json β checksum-verified updates |
| CLI | supercli <ns> <res> <action> [--flags] β universal triplet |
| Output | Deterministic JSON envelopes with exit codes |
| AI | supercli ask "do X and Y" β auto-resolves capability chains |
| Install | npx supercli (zero-install) or npm install -g superacli |
| Channel | Link |
|---|---|
| GitHub | github.com/javimosch/supercli |
| npm | superacli on npm |
| Issues | GitHub Issues |
| Discussions | GitHub Discussions |
| Changelog | CHANGELOG |
Contributions are welcome! See CONTRIBUTING.md for guidelines.
- Plugin authors β Add your tool via
plugins/<name>/. - Core contributors β Help with router, Zig binary, MCP adapter.
- Documentation β Improve docs, examples, quickstarts.
β If supercli saved you time, star the repo. Takes one click, means the world to us.
If supercli saved you time, consider supporting the project:
MIT β Javier Leandro Arancibia