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.
curl -O https://raw.githubusercontent.com/generative-computing/mellea-skills-compiler/main/.claude/commands/mellea-fy-generate.mdgit clone --depth 1 https://github.com/generative-computing/mellea-skills-compilerWrote 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.
[](https://agentmods.dev/commands/generative-computing/mellea-skills-compiler/mellea-fy-generate)<a href="https://agentmods.dev/commands/generative-computing/mellea-skills-compiler/mellea-fy-generate"><img src="https://agentmods.dev/badge/commands/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.
<a href="https://agentmods.dev/commands/generative-computing/mellea-skills-compiler/mellea-fy-generate"><img src="https://agentmods.dev/badge/commands/generative-computing/mellea-skills-compiler/mellea-fy-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.07069 |
| Opus 5 | $0.00000 | $0.03535 |
| Sonnet 5 | $0.00000 | $0.01414 |
| Haiku 4.5 | $0.00000 | $0.00707 |
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 yesterday.
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. How it starts
The opening of the file, as written. The whole thing — 500 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
.pyfiles (pipeline.py,config.py,schemas.py,main.py, etc.) are written inside<package_name>/.pyproject.tomlis the only file written at the skill root (NOT inside<package_name>/). Seemellea-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 |
fixtures/ |
Always (5–8 fixtures, generated in Step 4) |
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 |
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.
- yesterday Changed 526d1ae34b80
- 9d ago First seen · 500 lines · 0 tokens per session scan A 8528a38c28b6
mellea-fy-generate 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 7,069 tokens. 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.
Other commands, from other repositories
type-coverage
Vérification Couverture des Types Python.
execute-pydantic-ai-prp
Implement a Pydantic AI agent using the PRP file.
fastapi
FastAPI application design and implementation conventions. Use this skill when building, updating, or reviewing FastAPI services, routers, dependencies, request/response schemas, streaming endpoints, or API tests. Trigger on FastAPI-specific work such as path operation design, dependency injection, response models…
scaffold-service
Scaffold a thin ArchiPy FastAPI or gRPC service under services/{domain}/v{n}/.
savant-python
Python performance optimization with Python Developer agent.
python-review
Comprehensive Python code review for PEP 8 compliance, type hints, security, and Pythonic idioms. Invokes the python-reviewer agent.