Specli
Description
Run any OpenAPI spec as an Agent optimized executable
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
specli
[](https://www.npmjs.com/package/specli)
Turn any OpenAPI spec into a CLI.
Demo
Compile this weather OpenAPI spec to an executable:
npx specli compile https://raw.githubusercontent.com/open-meteo/open-meteo/refs/heads/main/openapi.yml --name weather
Ask an agent what the current weather is:
opencode run 'Using ./out/weather what is the current weather in new york city'
Install
npm install -g specli
Or use directly with npx/bunx:
npx specli exec ./openapi.json __schema
bunx specli exec ./openapi.json __schema
Commands
exec
Run commands dynamically from any OpenAPI spec URL or file path. Works with both Node.js and Bun.
specli exec [args...] [options]
**Examples:**
# Inspect available commands
specli exec ./openapi.json __schema
# Machine-readable schema output
specli exec ./openapi.json __schema --json
# Minimal schema (best for large specs)
specli exec ./openapi.json __schema --json --min
# Run an operation
specli exec ./openapi.json users list
# Run with path parameters
specli exec ./openapi.json users get abc123
# Preview the curl command without executing
specli exec ./openapi.json users list --curl
# Dry run (show request details without executing)
specli exec ./openapi.json users list --dry-run
compile
Bundle an OpenAPI spec into a standalone executable. **Requires Bun.**
specli compile [options]
**Options:**
| Option | Description |
|---|---|
--name |
Binary name (default: derived from spec title) |
--outfile |
Output path (default: ./out/) |
--target |
Cross-compile target (e.g. bun-linux-x64) |
--minify |
Enable minification |
--bytecode |
Enable bytecode compilation |
--no-dotenv |
Disable .env autoload |
--no-bunfig |
Disable bunfig.toml autoload |
| `--server <u |
Related Skills
Spec Kit
💫 Toolkit to help you get started with Spec-Driven Development
Testing Webapp Testing
Test local web applications using Playwright for UI verification and debugging
Testing #29
, [#52](https://github.com/affaan-m/everything-claude-code/issues/52), [#103](https://github.com/affaan-m/ever
Testing Fix Issue
by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol
Testing Pypict Test Design
Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for optimized test sui
Testing gstack
| 15,000+ | Garry Tan's exact Claude Code setup: 6 opinionated tools that serve as CEO, Eng Manager, Release M
Testing