NoizuPromptLingo: Command for Claude Code

.claude/commands/generate-meta-data.md

generate-meta-data is a command for Claude Code from noizu-labs-ml/NoizuPromptLingo. It costs 61 tokens per session (1,756 once invoked), scanned A, original, MIT.

A command that creates or updates metadata files for source files and directories. The metadata can include checksums, code structure diagrams, links, and flagged TODOs.

In plain words
What is it for?
Use it to document file and directory contents, record MD5 checksums, map links, show class or function layouts, and surface issues.
Why use it?
It keeps a project’s structural notes current and can detect when a source file changed before refreshing its metadata.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is noizu-labs-ml/NoizuPromptLingo's own configuration. It tells Claude Code how to work on NoizuPromptLingo 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 NoizuPromptLingo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to noizu-labs-ml/NoizuPromptLingo. 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/noizu-labs-ml/NoizuPromptLingo/main/.claude/commands/generate-meta-data.md
Clone the repo
git clone --depth 1 https://github.com/noizu-labs-ml/NoizuPromptLingo

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 generate-meta-data

README.md
[![agentmods](https://agentmods.dev/badge/commands/noizu-labs-ml/noizupromptlingo/generate-meta-data/github.svg)](https://agentmods.dev/commands/noizu-labs-ml/noizupromptlingo/generate-meta-data)
Your own site
<a href="https://agentmods.dev/commands/noizu-labs-ml/noizupromptlingo/generate-meta-data"><img src="https://agentmods.dev/badge/commands/noizu-labs-ml/noizupromptlingo/generate-meta-data/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 generate-meta-data

Your own site · 80×15
<a href="https://agentmods.dev/commands/noizu-labs-ml/noizupromptlingo/generate-meta-data"><img src="https://agentmods.dev/badge/commands/noizu-labs-ml/noizupromptlingo/generate-meta-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,756 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.00061 $0.01756
Opus 5 $0.00030 $0.00878
Sonnet 5 $0.00012 $0.00351
Haiku 4.5 $0.00006 $0.00176

Measured 7d ago against content hash 46e7a22f64f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

generate-meta-data 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 7d 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/generate-meta-data.md · 275 lines

How it starts

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

Metadata Generation Agent Instructions

Generate and update structured metadata files for this project. Follow these conventions precisely. Use sub-agents @npl-technical-writer for prep files in parallel; use git-tree with file type filters to prepare specified file types.

Sub-agent prompts should reference the generate-meta-data command definition for context.


Naming Conventions

Target Type Metadata Filename Location
File .{filename}.meta.md Same directory as the source file
Directory .dir.meta.md Inside the target directory

Examples:

  • src/utils.pysrc/.utils.py.meta.md
  • src/models/src/models/.dir.meta.md

File Metadata Template

For each source file, generate a corresponding .{filename}.meta.md if not present — otherwise check the checksum with yq and if different from what is stored, refresh:

file: {filename}
md5: {md5_hash_of_file_contents}
changeset: {git_commit_sha_or_"uncommitted"}
---

# Contents

## Summary
[...| 1-3 sentences: What does this file do? What is its role in the system?]

## Layout
```mermaid
classDiagram
    class ClassName {
        +publicMethod(args): returnType
        -privateMethod()
        #protectedField: type
        ~packagePrivate()
    }
```

<!-- For non-OOP files, use: -->
```mermaid
flowchart TD
    subgraph Functions
        funcA["funcA(x, y) -> int"]
        funcB["funcB(data) -> None"]
    end
    subgraph Constants
        CONST_A
        CONST_B
    end
```

## Review
- [ ] TODO: {pending tasks}
- ⚠️ Issue: {bugs, code smells, security concerns}
- 💡 Note: {observations, suggestions, context}

# Links

## Outgoing
```mermaid
flowchart LR
    ThisFile["this_file.py"] --> Import1["module_a"]
    ThisFile --> Import2["module_b.ClassName"]
    ThisFile --> Import3["external_lib"]
```

## Incoming
```mermaid
flowchart RL
    Consumer1["caller_a.py"] --> ThisFile["this_file.py"]
    Consumer2["test_this_file.py"] --> ThisFile
```

Read the full file on GitHub · 275 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. 7d ago First seen · 275 lines · 61 tokens per session scan A 46e7a22f64f0

Subscribe to this mod's changes

generate-meta-data is a command published in the GitHub repository noizu-labs-ml/NoizuPromptLingo (13 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 1,756 once invoked, about $0.0003 per session on Opus 5. 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-09-04.