malloy-compliance-review

malloy-compliance-review is a skill for Claude Code, Codex from malloydata/publisher. It costs 122 tokens per session (2,018 once invoked), scanned A, original, MIT.

A compliance review process for Malloy packages, which are published data-analysis packages, against a written access policy. It turns policy statements into checks, runs them for different user roles, and reports the results.

In plain words
What is it for?
Use it to create a control register, check a served package and its data values, gate the check in continuous integration, and produce a report and signable attestation.
Why use it?
It helps identify access controls that pass, fail, need human judgement, or cannot be proved from the package.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create a control register, check a served package and its data values, gate the check in continuous integration, and produce a report and signable attestation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malloydata/publisher/malloy-compliance-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add malloydata/publisher --skill malloy-compliance-review
Clone the repo
git clone --depth 1 https://github.com/malloydata/publisher

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for malloy-compliance-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/malloydata/publisher/malloy-compliance-review/github.svg)](https://agentmods.dev/skills/malloydata/publisher/malloy-compliance-review)
Your own site
<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-compliance-review"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-compliance-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for malloy-compliance-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-compliance-review"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-compliance-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,018 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00122 $0.02018
Opus 5.5 $0.00049 $0.00807
Sonnet 5.5 $0.00024 $0.00404
Haiku 4.5 $0.00012 $0.00202

Measured 23d ago against content hash 951ee73becc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

malloy-compliance-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/compliance_test.py, scripts/compliance.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/malloy-compliance-review/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reviewing a Malloy Package Against an Access Policy

A policy is prose: who may read which data, and under what conditions. A compliant package is controls a machine checks: gates on the analytical domains, classifications on the fields, a ceiling on what each domain carries. This skill connects the two. It writes the policy down as a register of checks, runs them against the served package, and reports each control as holding, failing, needing a person, or not provable from the model at all.

The review has two halves, and they are kept apart on purpose:

  • The register (policies/controls.json) is the policy as checks. You draft it from the prose; the policy owner approves it. It changes when the policy changes.
  • The check (scripts/compliance.py check) runs the register against the package as it is served. It changes nothing, reads only aggregates, and exits 1 when a control fails (3 when nothing failed but something could not be checked), so the same command gates every change in CI.

What Publisher refuses at load (a domain exposing a class its #(carries) omits) the check reports as the control it breaks. A join that reaches a gated source around its gate is only a join-bypass warning on the server, in every package, so the check fails it: this review is the hard stop. It does not re-derive either.

Before you start

  • A Publisher serving the package, reachable over REST (default http://localhost:4000). Run the review against a server with no gateway in front: each persona's givens are sent with the request and honored, which is how the check asks "what would this role see". Never point it at a production endpoint, where a trusted tier sets those givens and the probe would be meaningless. A pass certifies the package's controls. In production they hold only behind the gateway that authenticates users, sets the givens and blocks raw SQL, so a report says that alongside the verdict.
  • The policy document.
  • A classified model. If fields are unclassified, skill:malloy-classify first.

Read the full file on GitHub · 146 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · +23 lines 951ee73becc0
  2. 24d ago Changed f67d1024350e
  3. 25d ago First seen · 123 lines · 122 tokens per session scan A 0d4abce4b7fa

Subscribe to this mod's changes

malloy-compliance-review is a skill published in the GitHub repository malloydata/publisher (136 stars, last pushed today), licensed MIT. It adds 122 tokens to every session and 2,018 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-05.

Related

malloy-compliance-review compared with skills from other repositories

malloy-compliance-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
malloy-compliance-reviewmalloydata/publisherSkill136todayMITA122Claude Code, Codex
reimagine-it-extractKayforkind/reimagine-itSkill2182d agoMITA133Claude Code
chart-builderNickCrew/Claude-CortexSkill759d agoMITA76Claude Code, Codex
dashboard-designerNickCrew/Claude-CortexSkill759d agoMITA95Claude Code, Codex
reusable-visualizationlightdash/lightdashSkill6.3ktodaynoneA102Claude Code
developing-in-lightdashlightdash/lightdashSkill6.3ktodaynoneA31Claude Code, Codex
sdk-featureslightdash/lightdashSkill6.3ktodaynoneA67Claude Code