mellea-fy-generate

mellea-fy-generate is a skill for Claude Code, Codex from generative-computing/mellea-skills-compiler. It costs 25 tokens per session (6,991 once invoked), scanned A, original, Apache-2.0.

A code-generation step for a workflow that converts agent skill descriptions into typed Mellea Python packages. It first creates file skeletons and then fills their function bodies to produce the package.

In plain words
What is it for?
Run it after dependency planning to generate files such as pipeline.py, schemas.py, config.py, requirements.py, and main.py inside the package.
Why use it?
It turns the earlier classification, mapping, and dependency decisions into an actual package with the expected files and code.

Skill for Claude CodeCodex

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

Good fit Run it after dependency planning to generate files such as pipeline.py, schemas.py, config.py, requirements.py, and main.py inside the package.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/generative-computing/mellea-skills-compiler/mellea-fy-generate
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 generative-computing/mellea-skills-compiler --skill mellea-fy-generate
Clone the repo
git clone --depth 1 https://github.com/generative-computing/mellea-skills-compiler

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/generative-computing/mellea-skills-compiler/mellea-fy-generate/github.svg)](https://agentmods.dev/skills/generative-computing/mellea-skills-compiler/mellea-fy-generate)
Your own site
<a href="https://agentmods.dev/skills/generative-computing/mellea-skills-compiler/mellea-fy-generate"><img src="https://agentmods.dev/badge/skills/generative-computing/mellea-skills-compiler/mellea-fy-generate/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 mellea-fy-generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/generative-computing/mellea-skills-compiler/mellea-fy-generate"><img src="https://agentmods.dev/badge/skills/generative-computing/mellea-skills-compiler/mellea-fy-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 25
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 35
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 37
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00025 $0.06991
Opus 5 $0.00013 $0.03495
Sonnet 5 $0.00005 $0.01398
Haiku 4.5 $0.00003 $0.00699

Measured 2d ago against content hash 0e586d20f314, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mellea-fy-generate scanned grade A with 2 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

from urllib.parse import urlparse

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Modes that read from stdin (e.g. `input=$(cat)` in the script body) → call `subprocess.run(..., input=target, capture_output=True, text=True)`. Do NOT append `target` to the command list.
.bob/skills/mellea-fy-generate/SKILL.md · 493 lines

How it starts

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

Melleafy Steps 3 + 5: Skeleton Emission and Body Generation

Version: 4.3.0 (2026-04-28) | Prereq: dependency_plan.json (Step 2.5 complete) | Produces: Populated Python package

Output path rule (Rule OUT-3): All .py files (pipeline.py, config.py, schemas.py, main.py, etc.) are written inside <package_name>/. pyproject.toml is the only file written at the skill root (NOT inside <package_name>/). See mellea-fy.md §Output directory layout for the full tree.

Step 3 emits skeleton files (imports, signatures, docstring placeholders) from the element mapping and dependency plan. Step 5 invokes the LLM to fill in every code body. Read /mellea-fy-behaviours before generating any code — the Known Behaviours mitigations must be baked into every generated file.


Step 3: File set and skeleton emission

File set determined by mapping + dependency plan

File When generated
pipeline.py Always
schemas.py Always (at minimum contains Final[str] placeholder if no schemas found)
config.py Always (persona text, model ID, loop budgets from dependency_plan.json:bundle entries)
requirements.py When any VALIDATE_OUTPUT elements exist
slots.py When any EXTRACT or CLASSIFY elements map to @generative
tools.py When any C6 element has disposition real_impl
constrained_slots.py When any C6 element has disposition stub or delegate_to_runtime
mobjects.py When any TRANSFORM or QUERY elements exist
loader.py When any C3 element has disposition load_from_disk
main.py Always (CLI entry point)
pyproject.toml Always
SETUP.md When any C4, C5, C9, non-bundled C6, C7, non-default C8, or host-needing modality
README.md Always
melleafy.json Always (skeleton in Step 3; finalised in Step 6)
dependencies.yaml When any C6/C7/C8 entry is non-bundle

Read the full file on GitHub · 493 lines

Files

What ships with it

1 file 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. 2d ago Changed 0e586d20f314
  2. 10d ago First seen · 493 lines · 25 tokens per session scan A b73815b1ec9e

Subscribe to this mod's changes

mellea-fy-generate is a skill published in the GitHub repository generative-computing/mellea-skills-compiler (49 stars, last pushed 2d ago), licensed Apache-2.0. It adds 25 tokens to every session and 6,991 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens