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

Sling CLI

$ sling Official Med Risk
Sling Data · Database & Data · GPL-3.0 · macos / linux / windows

Sling CLI (sling) is a fast Go binary for moving and transforming streams across Postgres, DuckDB, Snowflake, S3, and local CSV/Parquet files. Agents can test connections with sling conns test, discover schemas, and execute declarative replication.yaml pipelines non-interactively, though --mode full-refresh can overwrite destination tables.

FCRS-1.0 Score
79 /100
Good
Medium Confidence
Zero-Friction Install
brew install slingdata-io/sling/sling
CLI vs MCP Decision CLI Preferred vs MCP

Streaming bulk rows between databases and Parquet/DuckDB works best directly in shell pipelines rather than routing payloads through MCP.

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

Fully non-interactive via flags and YAML configs (--src-options, --tgt-options), though execution logs are text-based without a global --json flag.

  • Flag-driven sling run and YAML replication specs
  • JSON-encoded --src-options and --tgt-options inputs
Trust & Safety 19 / 25

Separates read-only conns test/discover from writes, but full-refresh or truncate modes overwrite destination tables without --dry-run.

  • sling conns discover is read-only
  • --mode full-refresh truncates/replaces targets
Setup & Portability 13 / 15

Single Go binary installable via Homebrew, PyPI wrapper, or GitHub releases across macOS, Linux, and Windows.

  • Homebrew tap, pip install sling, and static binaries
Utility & Efficiency 13 / 15

High-throughput streaming across dozens of SQL warehouses, DuckDB, and object stores with stdin/stdout support.

  • Supports incremental syncs, stdin JSON streaming, and Arrow acceleration
Maintenance & Lineage 8 / 10

Actively maintained by Sling Data (slingdata-io/sling-cli) with frequent connector releases.

  • Official slingdata-io/sling-cli repository
Docs & Verifiability 7 / 10

Clear docs at docs.slingdata.io with --help examples for run and conns.

  • Official docs site and inline -h/--help reference

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Reads connection profiles from ~/.sling/env.yaml or standard environment variables, plus optional SLING_CLI_TOKEN for Pro features.

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

GPL-3.0 open-source CLI; optional Sling CLI Pro features require a commercial SLING_CLI_TOKEN.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Sling CLI Agent Rules
- Run `sling conns test` and `sling conns discover` before executing `sling run`.
- Avoid `--mode full-refresh` on production targets without explicit human approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

List configured connections
sling conns list

Displays configured database and storage connection names without transferring data.

Test connectivity and discover streams
sling conns discover MY_SOURCE_DB --pattern 'public.*'

Validates credentials and lists matching source tables or files safely.

Controlled Writes & Previews

Run an incremental replication config
sling run -r replication.yaml

Executes a declarative replication YAML file using pre-reviewed stream modes.

Strengths for Agents

  • + Zero-dependency Go binary with fast DuckDB, Postgres, and Parquet/CSV streaming.
  • + Clean separation of sling conns list/test/discover for safe pre-flight inspection.

Caveats & Pitfalls

  • ! No global --json output mode or --dry-run preview on sling run.
  • ! Using --mode full-refresh can destructively overwrite existing destination tables.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI