malloy-classify

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

A guide for proposing sensitivity labels for fields in a Malloy data model. Malloy is a language for describing data used in analysis; the guide compares field values with an organisation's policy before showing proposed changes for approval.

In plain words
What is it for?
Use it to label fields as carrying classes such as personal or protected health information and review the proposed labels before writing them.
Why use it?
It helps identify personal or medical information without relying only on column names, while keeping a person in control of the final change.

Skill for Claude CodeCodex

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

Good fit Use it to label fields as carrying classes such as personal or protected health information and review the proposed labels before writing them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malloydata/publisher/malloy-classify
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-classify
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-classify

README.md
[![agentmods](https://agentmods.dev/badge/skills/malloydata/publisher/malloy-classify/github.svg)](https://agentmods.dev/skills/malloydata/publisher/malloy-classify)
Your own site
<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-classify"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-classify/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-classify

Your own site · 80×15
<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-classify"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-classify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,682 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.00095 $0.02682
Opus 5.5 $0.00038 $0.01073
Sonnet 5.5 $0.00019 $0.00536
Haiku 4.5 $0.00010 $0.00268

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

Security

Grade A, and why

malloy-classify 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 25d ago.

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-classify/SKILL.md · 195 lines

How it starts

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

Classifying a Malloy Model Against a Policy

A classification says which of the policy's data classes a field carries. It is what every other control reads: #(carries) on an analytical domain is checked against it at load, the agent sees it on every get_context card, and the compliance review checks it against the values. This skill proposes classes. A person approves them. Nothing is written until they do.

Two kinds of evidence decide a field's class, and neither is enough alone:

  • The values prove a floor. A column of 123-45-6789 is a Social Security number whatever it is called. A text field with one distinct value per patient singles out a person whatever it is called. The values cannot say which day-level dates the policy treats as direct identifiers.
  • The policy's class table decides the rest, by what the field means: its name, its #(doc), the column it reads. A diagnosis code is phi.clinical because the table says conditions are, not because of its values.

A field is never proposed below its floor. Above the floor, the class table decides.

Before you start

You need a running Publisher serving the package, and the policy. The profiling runs as a persona the policy admits to each domain, so you also need the part of a control register that names the classes, the personas and who is admitted where. If the package has a register (usually policies/controls.json), use it. If not, draft these keys from the policy and show them to the user first; skill:malloy-compliance-review (reference/register.md) describes each one:

{
  "classes": ["phi.direct_identifier", "phi.quasi_identifier", "phi.clinical", "phi.financial", "none"],
  "identifier_classes": { "direct": ["phi.direct_identifier"], "quasi": ["phi.quasi_identifier"] },
  "subjects": ["patient"],
  "personas": { "clinician": { "givens": { "ROLES": ["clinical"], "ORGANIZATIONS": ["…"] } } },
  "access": { "patient_chart": { "clinician": "scoped" } }
}

Read the full file on GitHub · 195 lines

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. 25d ago First seen · 195 lines · 95 tokens per session scan A 9ac1f99a1d69

Subscribe to this mod's changes

malloy-classify is a skill published in the GitHub repository malloydata/publisher (136 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 2,682 once invoked, about $0.0004 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-classify compared with skills from other repositories

malloy-classify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
malloy-classifymalloydata/publisherSkill136todayMITA95Claude 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