Install
$ agentstack add skill-preset-io-agent-skills-preset-cli ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
preset-cli
Use as the foundation for shell, scripting, CI/CD, and agent-driven Preset workflows through the sup CLI.
Always
- CLI surface only; stay on MCP or direct API if that's what the user requested.
- Default to
--jsonfor automation and agent consumption. - Keep
SUP_PRESET_API_TOKEN/SUP_PRESET_API_SECRETout of command lines and shared output; use env vars orsup config auth, never paste secrets on the command line. - Route push, sync, overwrite, and
--forcetopreset-cli-mutations. - Redact tokens and credential-bearing output in transcripts.
Decision Rules
- Classify CLI vs MCP vs direct API intent before acting; if MCP or direct API was requested, defer to that plugin.
- Run metadata reads and explicitly requested data-returning reads (e.g.
sup sql,sup chart data) on familiar workspaces directly with bounded output; forsup sql, this direct path requires a pure single-statementSELECT. Load safety policy before mutations, SQL that is not a pure single-statementSELECT, untrusted-source SQL, unfamiliar workspaces, or broad outputs. - Choose output format based on the downstream consumer:
--jsonfor automation,--csvfor files, default Rich for humans,--porcelainfor shell pipelines. - If a command group is not named on this card, load command coverage before composing commands.
- For mutating intent, stop and load
preset-cli-mutationsrather than continuing on this card. Non-SELECTSQL is confirmation-gated by the safety policy even when it is pasted by the user for a familiar workspace.
Workflow Order
- Establish install, auth, and workspace context.
- Choose output format.
- Classify risk (metadata read vs data-returning read vs mutation).
- Load the focused reference for the operation.
- Run only the safe / read command.
- Redact output before sharing.
Retrieve
- Install, entry points, OAuth, env vars: [references/install-and-auth.md](references/install-and-auth.md)
- Config precedence and source resolution: [references/config-precedence.md](references/config-precedence.md)
- Workspace selection and
--workspace-idoverride: [references/workspace-and-config.md](references/workspace-and-config.md) - Registered command coverage and routing: [references/command-coverage.md](references/command-coverage.md)
- Output formats and exit behavior: [references/output-formats.md](references/output-formats.md)
- Asset read/export entity scope: [references/assets-read.md](references/assets-read.md)
- Asset list filter matrix: [references/asset-filter-matrix.md](references/asset-filter-matrix.md)
- Ad-hoc SQL routing: [references/sql-and-query.md](references/sql-and-query.md)
- SQL/data-returning read safety: [references/sql-data-safety.md](references/sql-data-safety.md)
- Saved query reads: [references/saved-query-reads.md](references/saved-query-reads.md)
- Detailed command examples: [references/command-examples.md](references/command-examples.md)
- CLI vs API routing decision: [references/cli-vs-api.md](references/cli-vs-api.md)
- Approval gates and credential redaction: [references/safety-policy.md](references/safety-policy.md)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: preset-io
- Source: preset-io/agent-skills
- License: Apache-2.0
- Homepage: http://www.preset.io
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.