preset-api SKILL.md skillA
preset-api from preset-io/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add preset-io/agent-skills/preset-api@git:20260622.8e041e7Pins git:20260622.8e041e7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- preset-io/agent-skills
- Path
plugins/preset-api-skills/skills/preset-api/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260622.8e041e7, committed Jun 22, 2026
- First version recorded
- Jun 12, 2026
- Size
- 3,588 bytes
- Repository stars
- 13
- License
- Apache-2.0
Prepare direct Preset API access: auth, JWT exchange, base URLs, pagination, Rison parameters, response handling, and shared API setup. Use only for direct API workflows; Do not use for MCP-only work.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# preset-api
Use as the prerequisite for direct Preset API skills. If the user is working through Preset/Superset MCP tools, stay on MCP unless they approve direct API calls.
## Always
- Keep `PRESET_CLIENT_ID`, `PRESET_CLIENT_SECRET`, and tokens out of source, logs, reports, and examples.
- When checking whether credential environment variables are present, use a zsh-safe `printenv "$VAR_NAME"` pattern. Do not use bash-only indirect expansion such as `${!var}`.
- Read and format JSON responses with `curl ... | jq`: use `jq -r` when capturing scalar shell values such as tokens, IDs, and hostnames; use plain `jq` for structured JSON output; do not use inline `python -c` parsers. For reusable parsing, load `skills/preset-api/examples/preset_client.py` instead of improvising.
- Use the workspace hostname or API base URL directly when it is already known from trusted context (for example, an earlier Management API response or user-supplied configuration); derive it through the Management API when provenance is missing.
…Read the whole file at its exact version.
How to install
mdr add preset-io/agent-skills/preset-api@sha256:1f9ca2e29b7b207dThe line at the top of this page pins the label git:20260622.8e041e7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ad43d7akn4kqkmxp)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jun 12, 2026 and Jun 22, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260622.8e041e7 latest | 2026-06-22 | 8e041e7 | 3,588 B | A | view · diff |
| git:20260622.9ae9d7a | 2026-06-22 | 9ae9d7a | 3,550 B | A | view · diff |
| git:20260617.b24cd3b | 2026-06-17 | b24cd3b | 3,374 B | A | view · diff |
| git:20260612.83e644b | 2026-06-12 | 83e644b | 3,095 B | A | view · diff |
| git:20260612.d2c0b91 | 2026-06-12 | d2c0b91 | 3,036 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3588 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
preset-io/agent-skills · 13 stars · license Apache-2.0 · pushed 2026-10-09 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_ad43d7akn4kqkmxp GET https://markdownregistry.com/api/v1/resolve?ref=preset-io/agent-skills/preset-api GET https://markdownregistry.com/api/v1/blob/1f9ca2e29b7b207dc00b8f5539ad7013034e7aa1808420692b817234ac966200
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.