Slumber
$ slumber Community Low RiskSlumber (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.
brew install LucasPickering/tap/slumber 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
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
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 requestsubcommand and--dry-runpreview - Outputs raw HTTP body by default without envelope metadata
Config-first YAML recipes and --dry-run rendering let agents inspect interpolated requests before sending traffic.
- Supports
--dry-runto inspect rendered request before execution - Explicit
-p <profile>prevents environment ambiguity
Single Rust binary via cargo install slumber --locked, Homebrew tap, and GitHub releases across macOS, Linux, and Windows.
- Static Rust binary with fast startup
Concise YAML collection syntax with profile inheritance, chained responses, and !env/!file dynamic values.
- Reusable
slumber.ymlrecipes for both interactive TUI and CLI scripts
Well-maintained MIT community project (LucasPickering/slumber).
- Active MIT-licensed
LucasPickering/slumberrepository
Thorough mdBook user guide at slumber.lucaspickering.me/book/ plus --help documentation.
- Detailed book documentation and CLI subcommand help
Security, Auth & Guardrails
Reads secrets and profile variables from slumber.yml (or referenced external files / shell commands) and stores request history in a local SQLite DB.
MIT open-source Rust CLI; completely free.
# 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
slumber request get_user -p staging
Runs the get_user recipe defined in slumber.yml against the staging profile non-interactively.
slumber request get_user -p staging --dry-run
Renders URL, headers, and templated body for get_user without sending network traffic.
Controlled Writes & Previews
slumber request create_item -p staging -o name=demo
Executes create_item with an explicit -o template override.
Strengths for Agents
- + Built-in
--dry-runonslumber requestlets agents verify templated URLs and headers before firing requests. - + Fast single Rust binary backed by clean Git-friendly
slumber.ymlrecipes.
Caveats & Pitfalls
- ! Bare
slumberopens an interactive TUI and hangs headless sessions. - ! Requires a
slumber.ymlfile in the working directory (or-f <file>) rather than ad-hoc URLs.