mellea-skills-compiler: Command for Claude Code

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

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

A Melleafy processing step that reads source files and creates an inventory of significant elements, tagging each one and assigning it to a dependency category. It requires classification.json and produces inventory.json.

In plain words
What is it for?
Use it to inventory supported project formats, identify important elements, apply the defined tags and dependency categories, and generate a schema-compliant inventory file.
Why use it?
It creates a structured map of an application’s files and parts before later analysis or conversion steps.

Command for Claude Code

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/generative-computing/mellea-skills-compiler/mellea-fy-inventory"><img src="https://agentmods.dev/badge/commands/generative-computing/mellea-skills-compiler/mellea-fy-inventory.svg" alt="Reviewed on agentmods" width="80" 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,075 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.03075
Opus 5 $0.00000 $0.01537
Sonnet 5 $0.00000 $0.00615
Haiku 4.5 $0.00000 $0.00308

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

Security

Grade A, and why

mellea-fy-inventory 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 9d 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-inventory.md · 173 lines

How it starts

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

Melleafy Steps 1a + 1b: File Inventory and Element Tagging

Version: 4.1.0 | Prereq: classification.json | Produces: inventory.json

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

Step 1a reads files from the source based on the detected runtime's dialect. Step 1b takes those files and produces inventory.json — every significant element tagged with one of 17 tags and assigned to one of 9 dependency categories.


Step 1a: File Inventory

Read source files per the runtime's dialect. The dialect doc at docs/dialects/<runtime>.md defines exactly which files to read and their roles.

Runtime Primary files Roles
openclaw SOUL.md, AGENTS.md, SETUP.md (opt), *.md companions C1 identity, C2 operating rules, C8 runtime env
claude_code CLAUDE.md, .claude/commands/*.md, frontmatter files C1-C2 per frontmatter; C6 for tool declarations
agent_skills_std Single .md file with YAML frontmatter All roles from frontmatter + body
letta .af JSON file Parsed as JSON with json:<jq-path> source references
crewai crew.py, agents.yaml, tasks.yaml, tools.py Python AST + YAML
langgraph Python files with StateGraph construction py:<file>:<range> source references
autogen Python files with AssistantAgent/UserProxyAgent, OAI_CONFIG_LIST Version split: from autogen import = 0.2; from autogen_agentchat = 0.4
openai_agents_sdk Python files with Agent(, Runner.run_sync( py:<file>:<range> source references
smolagents Python files with CodeAgent(/ToolCallingAgent( py:<file>:<range> source references

Read the full file on GitHub · 173 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. 9d ago First seen · 173 lines · 0 tokens per session scan A 5742e2069058

Subscribe to this mod's changes

mellea-fy-inventory 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,075 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.