mellea-skills-compiler: Command for Claude Code

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

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

A command that creates documentation and metadata after Melleafy has completed its previous generation step. It writes files such as a mapping report, setup guide, README, skill instructions, and a JSON configuration file.

In plain words
What is it for?
Producing package documentation, recording how source elements were mapped, and creating deterministic dependency and configuration artifacts.
Why use it?
It turns the generated package's internal results into human-readable setup information and machine-readable metadata.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code; built for openclaw.

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-artifacts.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-artifacts

README.md
[![agentmods](https://agentmods.dev/badge/commands/generative-computing/mellea-skills-compiler/mellea-fy-artifacts.svg)](https://agentmods.dev/commands/generative-computing/mellea-skills-compiler/mellea-fy-artifacts)
Your own site
<a href="https://agentmods.dev/commands/generative-computing/mellea-skills-compiler/mellea-fy-artifacts"><img src="https://agentmods.dev/badge/commands/generative-computing/mellea-skills-compiler/mellea-fy-artifacts.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 3,044 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.03044
Opus 5 $0.00000 $0.01522
Sonnet 5 $0.00000 $0.00609
Haiku 4.5 $0.00000 $0.00304

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

Security

Grade A, and why

mellea-fy-artifacts 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-artifacts.md · 213 lines

How it starts

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

Melleafy Step 6: Supporting Artifact Generation

Version: 4.1.2 | Prereq: Step 5 complete | Produces: mapping_report.md, melleafy.json, SETUP.md, README.md, SKILL.md (non-.md sources only)

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

Output path rule (Rule OUT-3): All files produced by Step 6 (mapping_report.md, melleafy.json, SETUP.md, README.md, SKILL.md) are written inside <package_name>/ — NOT at the skill root. See mellea-fy.md §Output directory layout for the full tree.

Step 6 produces all human-facing documentation. LLM invocations here are narrative-only — structured data (melleafy.json, dependencies.yaml) is generated deterministically from dependency_plan.json. No modification of Python files.


Mapping report (mapping_report.md)

Nine sections in fixed order — non-negotiable (section headers are mechanically consistent so automated tools can locate them):

  1. Classification — the five axes from classification.json in reader-friendly order (archetype → shape → tool involvement → source runtime → modality). Includes the one-paragraph LLM-generated classification narrative and the R14 auto-mode recap callout if applicable.

  2. Decomposition Summary — element counts by tag and category (cross-tab table), aggregate statistics: coverage ratio from Step 1b, total element count, unique source files.

  3. Element Mapping — every element with element_id, source location, tag, category, mapped target file, and target symbol. Grouped by target file for readability.

  4. Judgment Calls — elements flagged with llm_judgement_required: true from Step 2, plus Step 5 retries with attempts > 1. Each entry includes a LLM-generated one-paragraph explanation referencing the specific tag, category, or recipe involved (generic explanations trigger retry).

  5. Removed During Audit — table from element_mapping_amendments.json:removed[] with rationale per row. If no elements were removed, writes "No elements removed during audit."

Read the full file on GitHub · 213 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 · 213 lines · 0 tokens per session scan A e92309416813

Subscribe to this mod's changes

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