preset-embedded-rls SKILL.md skillA
preset-embedded-rls 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-embedded-rls@git:20260611.5ce06a3Pins git:20260611.5ce06a3 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-embedded-rls/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260611.5ce06a3, committed Jun 11, 2026
- First version recorded
- May 19, 2026
- Size
- 1,462 bytes
- Repository stars
- 13
- License
- Apache-2.0
Review embedded analytics row-level security clauses, tenant filters, guest-token RLS rules, and external-viewer isolation for direct API workflows. 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-embedded-rls Use before guest-token creation when embedded viewers need row-level security. ## Always - Auth and conventions come from `preset-api` (JWT exchange, base URLs, Rison); resolve the workspace hostname through the Management API when it is not already known. Consult metadata skills only when column validation is required. - Do not invent tenant identifiers, filters, dataset columns, or access rules. - Treat RLS clauses as permission controls that can leak or hide customer data. - Confirm every clause and intended viewer population before token creation. - Do not validate with broad data-returning queries unless the user approves target and limit. ## Decision Rules - Classify embedded RLS review as plan-only safety work. - Identify tenant and user filter safety issues. - Require approval before clauses are used in token claims. - Avoid mutating embedded RLS configuration. ## Workflow Order 1. Inspect embedded RLS clauses. 2. Flag unsafe tenant and user filters. 3. Summarize approval requirements. 4. Stop before using clauses in tokens. ## Retrieve - Embedded RLS rule design and review: [references/embedded-rls-rules.md](references/embedded-rls-rules.md)
Read the whole file at its exact version.
How to install
mdr add preset-io/agent-skills/preset-embedded-rls@sha256:6c79f7a2a44e0c6aThe line at the top of this page pins the label git:20260611.5ce06a3, 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_avpoayv42tiwf2aw)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 19, 2026 and Jun 11, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260611.5ce06a3 latest | 2026-06-11 | 5ce06a3 | 1,462 B | A | view · diff |
| git:20260520.78e32bd | 2026-05-20 | 78e32bd | 1,331 B | A | view · diff |
| git:20260520.ff62120 | 2026-05-20 | ff62120 | 931 B | A | view · diff |
| git:20260519.7b28ce1 | 2026-05-19 | 7b28ce1 | 1,373 B | A | view · diff |
| git:20260519.8f45e64 | 2026-05-19 | 8f45e64 | 1,302 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 (1462 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_avpoayv42tiwf2aw GET https://markdownregistry.com/api/v1/resolve?ref=preset-io/agent-skills/preset-embedded-rls GET https://markdownregistry.com/api/v1/blob/6c79f7a2a44e0c6abe65085b9b8f43e0cacca98edd8e059fb2b91c97c84554a6
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.