mellea-skills-compiler: Command for Claude Code

.claude/commands/mellea-fy-classify.md

mellea-fy-classify is a command for Claude Code from generative-computing/mellea-skills-compiler. It costs 0 tokens per session (2,866 once invoked), scanned A, original, Apache-2.0.

A classification step for a workflow that turns an agent skill description into a typed Python package. It records the source runtime, interaction style, reasoning type, pipeline shape, tool involvement, and related categories.

In plain words
What is it for?
Run it first to create classification.json, which later steps use to choose documentation, defaults, package structure, and validation rules.
Why use it?
It makes the decisions needed by later workflow steps before they inspect files or generate code.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is generative-computing/mellea-skills-compiler's own configuration. It tells Claude Code how to work on mellea-skills-compiler itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mellea-skills-compiler configures →

Reuse

Borrowing it

Nothing to install: this file belongs to generative-computing/mellea-skills-compiler. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/generative-computing/mellea-skills-compiler/main/.claude/commands/mellea-fy-classify.md
Clone the repo
git clone --depth 1 https://github.com/generative-computing/mellea-skills-compiler

Made for: Claude Code.

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 mellea-fy-classify

README.md
[![agentmods](https://agentmods.dev/badge/commands/generative-computing/mellea-skills-compiler/mellea-fy-classify.svg)](https://agentmods.dev/commands/generative-computing/mellea-skills-compiler/mellea-fy-classify)
Your own site
<a href="https://agentmods.dev/commands/generative-computing/mellea-skills-compiler/mellea-fy-classify"><img src="https://agentmods.dev/badge/commands/generative-computing/mellea-skills-compiler/mellea-fy-classify.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,866 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.00000 $0.02866
Opus 5 $0.00000 $0.01433
Sonnet 5 $0.00000 $0.00573
Haiku 4.5 $0.00000 $0.00287

Measured 8d ago against content hash ba16061da5ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mellea-fy-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 8d 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.

.claude/commands/mellea-fy-classify.md · 208 lines

How it starts

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

Melleafy Step 0: Five-Axis Classification

Version: 4.0.0 | Prereq: None | Produces: classification.json

Schema: Output intermediate/classification.json MUST conform to .claude/schemas/classification.schema.json.

Classify the source spec along five axes before any other step runs. The classification drives dialect selection (Step 1a), category defaults (Step 2.5), entry-point shape (Step 3), and modality validation (Step 7).


Processing order

Run axes in this order — each informs the next:

  1. Axis 4 — Source runtime (drives which dialect doc applies to Axes 2 and 3)
  2. Axis 5 — Interaction modality (explicit-first, then inferential)
  3. Axis 3 — Tool involvement (informed by Axis 4's dialect mapping table)
  4. Axis 1 — Reasoning archetype (informed by Axes 2, 3, 4)
  5. Axis 2 — Pipeline shape (informed by Axis 1)

Axis 1: Reasoning Archetype

What kind of thinking does the skill do?

Type What it does Decomposition strategy
A: Analysis Sequential phases → structured findings Full slot decomposition, two-step enrichment
B: Generation Intent + constraints → generated artifact Decompose intent capture and draft generation
C: Diagnosis Hypothesis-driven investigation with gating Decompose reasoning; live system interaction as stubs or grounding_context
D1: Integration Thin wrapper around a single service/API Decompose only the intent classification layer
D2: Orchestration Multi-step coordination of tools/agents Decompose only the decision logic
E: Knowledge Passive rules, conventions, best practices Depends on Axis 2 (pipeline shape)

Read the full file on GitHub · 208 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. 8d ago First seen · 208 lines · 0 tokens per session scan A ba16061da5ca

Subscribe to this mod's changes

mellea-fy-classify is a command published in the GitHub repository generative-computing/mellea-skills-compiler (48 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,866 tokens. 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-08-30.