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

Slumber

$ slumber Community Low Risk
Lucas Pickering · Browser & Web · MIT · macos / linux / windows

Slumber (LucasPickering/slumber) is a config-driven HTTP client written in Rust using a single slumber.yml collection file. Supports both a keyboard-driven TUI and direct non-interactive CLI execution via slumber request <recipe> -p <profile> with chained responses and jq-like templating.

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
brew install LucasPickering/tap/slumber
CLI vs MCP Decision CLI Preferred vs MCP

slumber executes local slumber.yml API recipes with profile switching (-p) and response chaining directly from the repo without an external MCP server.

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 19 / 25

slumber request <recipe> -p <profile> runs headlessly with raw response stdout and --dry-run, though bare slumber launches a TUI and lacks a JSON wrapper.

  • Non-interactive slumber request subcommand and --dry-run preview
  • Outputs raw HTTP body by default without envelope metadata
Trust & Safety 21 / 25

Config-first YAML recipes and --dry-run rendering let agents inspect interpolated requests before sending traffic.

  • Supports --dry-run to inspect rendered request before execution
  • Explicit -p <profile> prevents environment ambiguity
Setup & Portability 14 / 15

Single Rust binary via cargo install slumber --locked, Homebrew tap, and GitHub releases across macOS, Linux, and Windows.

  • Static Rust binary with fast startup
Utility & Efficiency 12 / 15

Concise YAML collection syntax with profile inheritance, chained responses, and !env/!file dynamic values.

  • Reusable slumber.yml recipes for both interactive TUI and CLI scripts
Maintenance & Lineage 8 / 10

Well-maintained MIT community project (LucasPickering/slumber).

  • Active MIT-licensed LucasPickering/slumber repository
Docs & Verifiability 8 / 10

Thorough mdBook user guide at slumber.lucaspickering.me/book/ plus --help documentation.

  • Detailed book documentation and CLI subcommand help

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Reads secrets and profile variables from slumber.yml (or referenced external files / shell commands) and stores request history in a local SQLite DB.

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

MIT open-source Rust CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Slumber (slumber) Agent Rules
- Always invoke `slumber request <recipe>` (never bare `slumber`, which opens the TUI).
- Run with `--dry-run` first to verify interpolated headers, URLs, and secrets.
- Pass `-p <profile>` explicitly to avoid hitting production profiles accidentally.

Agent-Ready Command Recipes

Safe Read-Only Queries

Execute a GET recipe with a profile
slumber request get_user -p staging

Runs the get_user recipe defined in slumber.yml against the staging profile non-interactively.

Preview rendered HTTP request with --dry-run
slumber request get_user -p staging --dry-run

Renders URL, headers, and templated body for get_user without sending network traffic.

Controlled Writes & Previews

Run a POST recipe overriding a template field
slumber request create_item -p staging -o name=demo

Executes create_item with an explicit -o template override.

Strengths for Agents

  • + Built-in --dry-run on slumber request lets agents verify templated URLs and headers before firing requests.
  • + Fast single Rust binary backed by clean Git-friendly slumber.yml recipes.

Caveats & Pitfalls

  • ! Bare slumber opens an interactive TUI and hangs headless sessions.
  • ! Requires a slumber.yml file in the working directory (or -f <file>) rather than ad-hoc URLs.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI