pre-generation-check

pre-generation-check is a skill for Claude Code from bitwize-music-studio/claude-ai-music-skills. It costs 63 tokens per session (1,915 once invoked), scanned A, original, CC0-1.0.

A final checklist that verifies whether a track or album is ready to send to Suno, an AI music-generation service.

In plain words
What is it for?
Use it before generating tracks or when checking whether they are ready. It reports pass or fail for each requirement and does not make fixes.
Why use it?
It prevents generation when required preparation steps—such as source checks, lyric review, pronunciation, content ratings, and artist-name clearance—are incomplete.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the bitwize-music plugin — 52 skills, 1 hook, 1 MCP server shipped together

Good fit Use it before generating tracks or when checking whether they are ready. It reports pass or fail for each requirement and does not make fixes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add bitwize-music-studio/claude-ai-music-skills
Claude Code
/plugin install bitwize-music

Made for: Claude Code.

Or install bitwize-music, the plugin that ships this one along with the rest of its 52 skills, 1 hook, 1 MCP server.

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 pre-generation-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/bitwize-music-studio/claude-ai-music-skills/pre-generation-check/github.svg)](https://agentmods.dev/skills/bitwize-music-studio/claude-ai-music-skills/pre-generation-check)
Your own site
<a href="https://agentmods.dev/skills/bitwize-music-studio/claude-ai-music-skills/pre-generation-check"><img src="https://agentmods.dev/badge/skills/bitwize-music-studio/claude-ai-music-skills/pre-generation-check/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 pre-generation-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/bitwize-music-studio/claude-ai-music-skills/pre-generation-check"><img src="https://agentmods.dev/badge/skills/bitwize-music-studio/claude-ai-music-skills/pre-generation-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,915 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.00063 $0.01915
Opus 5 $0.00032 $0.00958
Sonnet 5 $0.00013 $0.00383
Haiku 4.5 $0.00006 $0.00192

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

Security

Grade A, and why

pre-generation-check 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 12d 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.

skills/pre-generation-check/SKILL.md · 183 lines

How it starts

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

Your Task

Input: $ARGUMENTS

Run all pre-generation gates on the specified album or track. Block generation if any gate fails.


Pre-Generation Checkpoint

You are a pre-generation validator. Your job is to verify that ALL requirements are met before a track is sent to Suno for generation. You do NOT write or fix anything — you report pass/fail status for each gate.

Role: Final checkpoint before Suno generation

lyric-writer (+ suno-engineer) → pronunciation-specialist → lyric-reviewer → pre-generation-check → [Generate in Suno]
                                                                                      ↑
                                                                             You are the final gate

Instrumental Track Detection

Before running gates, check the track's frontmatter for instrumental: true and the Track Details table for **Instrumental** | Yes.

First, validate sync: If the frontmatter instrumental field and Track Details **Instrumental** row disagree (one says true/Yes, the other says false/No) or only one is set, FAIL with a blocking error:

[FAIL] Instrumental field mismatch — frontmatter: {value}, Track Details: {value}
       Fix both to match before proceeding. Gate routing depends on this field.

Do NOT proceed with gate evaluation until the mismatch is resolved — the wrong gates would be skipped.

If instrumental (both fields agree): Skip Gates 2 (Lyrics Reviewed), 3 (Pronunciation Resolved), and 4 (Explicit Flag). Mark them as SKIP — Instrumental track. Only run Gates 1, 5, and 6.

Gate 5 adjustment for instrumental: Do NOT check for vocal description in Style Box. Instead verify the Style Box has genre/instrumentation/mood. Do NOT require [Verse]/[Chorus] tags — accept structural tags like [Intro], [Main Theme], [Bridge], [Outro].


The 6 Gates

Gate 1: Sources Verified

  • Check: Track's Sources Verified field is Verified or N/A
  • Fail if: Pending or ❌ Pending
  • Fix: Run /bitwize-music:verify-sources [album] to walk through human source verification for pending tracks.
  • Severity: BLOCKING — Never generate with unverified sources
  • Skip if: Track is not source-based (N/A is acceptable)

Read the full file on GitHub · 183 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. 12d ago First seen · 183 lines · 63 tokens per session scan A 54f26f49e1f1

Subscribe to this mod's changes

pre-generation-check is a skill published in the GitHub repository bitwize-music-studio/claude-ai-music-skills (483 stars, last pushed 2d ago), licensed CC0-1.0. It adds 63 tokens to every session and 1,915 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-08-30.

Related

Other skills, from other repositories

senior-frontend

Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding frontend projects, implementing accessibility, or reviewing frontend code quality.

composio-community/awesome-claude-plugins · 52 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

composio-community/awesome-claude-plugins · 59 tokens

developer-growth-analysis

Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.

composio-community/awesome-claude-plugins · 47 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

composio-community/awesome-claude-plugins · 43 tokens

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

composio-community/awesome-claude-plugins · 61 tokens

artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

composio-community/awesome-claude-plugins · 63 tokens