Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Insomnia Inso CLI

$ inso Official Low Risk
Kong · Browser & Web · Apache-2.0 · macos / linux / windows

Insomnia Inso CLI (inso) brings Kong Insomnia workspaces into headless CI/CD pipelines (inso run collection, inso run test, inso lint spec, inso export spec). Supports --ci non-interactive mode, --env targeting, --workingDir, --request-timeout, and INSOMNIA_ENCRYPTION_KEY.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install inso
CLI vs MCP Decision CLI Preferred vs MCP

inso validates OpenAPI specs and runs Insomnia collections offline against local exports or Git-synced .insomnia folders without cloud round-trips.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

Dedicated --ci flag disables all prompts, and --env / --workingDir / --reporter support CI automation, though spec/collection output is mostly text/JUnit/TAP rather than universal --json.

  • Dedicated --ci flag disables interactive selection prompts
  • Supports --reporter (spec, json, junit, etc. on test runner)
Trust & Safety 21 / 25

Read-only lint spec and export spec are safe, and INSOMNIA_ENCRYPTION_KEY avoids CLI secret leaks.

  • Supports INSOMNIA_ENCRYPTION_KEY env var for encrypted workspaces
  • Explicit --env prevents running against unintended environments
Setup & Portability 14 / 15

Installable via Homebrew (brew install inso), npm (insomnia-inso), and binary releases across macOS, Linux, and Windows.

  • Available on Homebrew, npm, and official releases
Utility & Efficiency 12 / 15

Combines OpenAPI Spectral linting, spec export, unit test suites, and collection execution in one tool.

  • Covers run collection, run test, lint spec, and export spec
Maintenance & Lineage 9 / 10

Official Kong repository (Kong/insomnia) under Apache-2.0 license.

  • First-party Kong Insomnia tool under Apache-2.0
Docs & Verifiability 8 / 10

Well-documented at docs.insomnia.rest with clear CI examples and --printOptions config debugging.

  • Official Kong docs and built-in --printOptions debugger

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Reads local .insomnia / exported .db.json files via --workingDir and decrypts protected secrets using INSOMNIA_ENCRYPTION_KEY.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Apache-2.0 open-source CLI; free for local and CI use (Insomnia team sync plans are optional).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Insomnia Inso CLI (inso) Agent Rules
- Always append `--ci` so `inso` never opens interactive fuzzy-selection prompts.
- Pass `--env <env>` and `--workingDir <dir>` explicitly.
- Inject `INSOMNIA_ENCRYPTION_KEY` via environment variables rather than `--encryption-key` on the command line.

Agent-Ready Command Recipes

Safe Read-Only Queries

Lint an OpenAPI specification in CI mode
inso lint spec openapi.yaml --ci

Validates an OpenAPI spec with Spectral rules non-interactively and exits non-zero on errors.

Export an Insomnia OpenAPI spec locally
inso export spec <spec-id> --workingDir ./.insomnia --ci

Extracts an OpenAPI document from an Insomnia workspace directory read-only.

Controlled Writes & Previews

Run an Insomnia API collection against an environment
inso run collection <collection-id> --env Staging --workingDir ./.insomnia --ci

Executes saved requests in <collection-id> using the Staging environment without prompts.

Strengths for Agents

  • + --ci mode reliably eliminates interactive prompts when IDs and --env are supplied.
  • + Built-in OpenAPI linting (inso lint spec) pairs naturally with API test execution.

Caveats & Pitfalls

  • ! Omitting --ci or collection IDs triggers interactive prompts that hang headless agents.
  • ! Requires an Insomnia .insomnia directory or exported workspace file for run collection/run test.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI