/recoup-plugin:recoup-platform-build-osfrom Recoup
Scaffolds a self-managing music company workspace in its own repository, with health checks, reusable knowledge, and portable skills for label/publishing/catalog operations.
Ships in Recoup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The point is not the folders — it's to scaffold a system that both manages itself and improves itself. It keeps its own state current (never-stale) and gets better at its own job over time: compounding knowledge, promoting repeated work into new skills, and improving its own machinery. Hold that as the goal of every phase below; the structure only exists to serve it.
Concretely, turn a kickoff input into a living operating system: a folder + file structure, a
self-managing CLAUDE.md (mirrored to AGENTS.md), a plugin/ directory (an in-place installable
plugin with skills inside), a never-stale janitor backed by a read-only doctor, a compound-learning
loop, and a self-improvement loop. The plugin is named {DOMAIN_SLUG}-os by default and includes
manifests/adapters for Claude, Cursor, and Codex.
This builder skill is for the agent running it. Follow the phases in order. Don't stop halfway — drive to a working OS, then report. Read the references as you reach each phase.
The domain is a music business, including labels, writers, publishers, administrators, recording owners, estates and authorized advisers. Identify its core records in Phase 0; never manufacture an artist account to fit composition or royalty work.
artists/ and
per-artist releases. Publishing uses compositions/ and parties/. Audit, royalty
reconciliation and acquisitions use cases/ with scope/evidence/stage records.
Use only the folders backed by real work; an empty roster is legitimate.artists/{artist-slug}/RECOUP.md with artistName, artistSlug and the actual
artistId. Release records live under each artist's releases. Never invent IDs.
A composition-only case can use local case IDs and retain missing ISRC/ISWC values.operations/sync.md per object. Hosted structured records are authoritative
only for fields the discovered API actually supports. The private workspace preserves
evidence, unresolved candidates, plans and source versions. Record unsupported fields
instead of asserting every local record is in the database. For an actual roster use
supported roster reads and API-first artist creation when requested; zero artists is
not permission to onboard unrelated people or publishers..env.example documenting names and a .gitignore excluding actual credentials.
Provider membership, a music mandate and software permissions are separate facts.Read references/blueprint.md for the lean structures. Label-specific release mechanics
remain available; do not impose them on every publisher or catalog adviser.
Every belief below serves one goal: a system that manages itself (stays current) and improves itself (compounds its knowledge, its capabilities, and its own machinery).
plugin/skills/. One-off work stays in work/ (dated) — it never becomes its own top-level folder.CLAUDE.md encodes where new things
go and how to keep the system current.{domain}-doctor run, a skill's verification, a reachable trigger — not the agent's
feeling. And the OS improves itself over time ({domain}-reflect), not just its contents.Read references/domain-inference.md.
Read references/blueprint.md.
clients/ / artists/ / features/), the compounding stores knowledge/
and library/, work/ (non-recurring output, by project), artifacts/ (finalized recurring
outputs like the dashboard), plugin/ (the in-place plugin), and operations/ (routines, sync,
health, improvements).reference/ (canon/source), proof/ (outcomes), content/ (a real content motion), business/
(legal/finance/metrics). When unsure, leave it out; adding later is one mkdir.operations, not operating-system;
knowledge, not knowledge-base). Rename to the domain's language but keep it a single word.
(Skill folders inside plugin/skills/ stay kebab-case — a different convention.)work/; only work that repeats or needs upkeep becomes a skill in
plugin/. Push over-preparation into subfolders and stubs, not a row of empty top-level dirs.README.md stub stating what belongs there.artifacts/dashboard.html from assets/dashboard.html.tmpl (HTML, not md). Seed
operations/health.md (empty — the {domain}-doctor fills it) and operations/improvements.md
(a header for the {domain}-reflect ledger).CLAUDE.md from assets/CLAUDE.md.tmpl, customized to the
domain (filing decision tree, the auto-manage loop, never-stale contract, repetition-to-skill rule).
Read references/self-management.md for what the contract must contain.AGENTS.md as a symlink to CLAUDE.md (ln -s CLAUDE.md AGENTS.md) so agent runners that
look for either file get the same brain. If symlinks aren't supported, write an AGENTS.md that
says "See CLAUDE.md" — but prefer the symlink.library/ (blank instruments you reuse — templates, scripts, checklists) and knowledge/
(settled answers you read back — faqs, insights, decisions, sops). Rule of thumb: if you'd use it
to make something it's library/; if you'd consult it to decide something it's knowledge/.plugin/)Read references/skill-authoring.md and references/skillifying-work.md (promotion workflow).
{DOMAIN_SLUG}-os (kebab-case) unless the user explicitly gave
a name. Use that same name in every manifest.plugin/ as a real plugin in place: plugin/.claude-plugin/plugin.json from
assets/claude-plugin.json.tmpl, plugin/.codex-plugin/plugin.json from
assets/codex-plugin.json.tmpl, and a plugin/skills/ directory. The Codex manifest must include
"skills": "./skills/"; see references/packaging.md..agents/skills as a symlink to ../plugin/skills so Cursor and Codex can discover the same
project skills. If symlinks aren't supported, copy plugin/skills/ there and note that it is a
compatibility mirror.plugin/skills/{name}/SKILL.md (frontmatter name +
description with real trigger phrases, then imperative steps referencing the workspace paths).assets/doctor-SKILL.md.tmpl) — the read-only verification surface (health score +
punch list to operations/health.md); the janitor and the build report are gated on it. Also
generate operations/doctor.py from assets/doctor.py.tmpl (fill the PIPELINE/ENTITY/slug) as
its deterministic fast path — so the mechanical checks ship with the build instead of being
reinvented later.assets/janitor-SKILL.md.tmpl) — run the doctor, then reconcile and fix what's safe.assets/compound-learn-SKILL.md.tmpl) — capture
decisions/answers/patterns into knowledge/ after each work session.assets/reflect-SKILL.md.tmpl) — improve the OS itself (skills, routing,
checks, templates) into operations/improvements.md; the 50/50 budget.assets/skillify-SKILL.md.tmpl) — promote proven repeatable work into
staged, verified skills.{domain}-intake.description for routing while the pack is small; add
a plugin/skills/RESOLVER.md (trigger -> skill table) only once skills grow enough that
descriptions overlap or the doctor's reachability check flags ambiguity.work/, not a
throwaway skill. For skills created from completed work, follow the skillify loop: prove provenance,
extract the repeatable process, stage in work/, verify with the strongest domain-appropriate check,
ask before moving into plugin/skills/, then repackage.Read references/packaging.md.
{domain}-doctor first — packaging is gated on a clean (or explained) report.plugin/ directory is already the installable plugin — no copying. Validate it: every
plugin/skills/*/ has a SKILL.md; both plugin manifests are valid JSON and share the {DOMAIN_SLUG}-os
name; the Codex manifest points at ./skills/; no angle brackets in any description; no stray
non-skill folders in plugin/skills/; .agents/skills points to or mirrors plugin/skills/. Fix
before packaging.zip the contents of plugin/ to /tmp first, then copy the .plugin to the outputs folder and
present it for install.operations/routines.md, AND drop a ready-to-use schedule from
assets/janitor-schedule.tmpl (GitHub Actions / cron / launchd / agent-runner task) so enabling it
later is a single copy, not a research project. The OS is still complete — the janitor also runs on
demand — but until the schedule is armed, the doctor keeps a standing low "schedule armed" finding,
because "self-reconciles when no one is looking" is only true once it actually runs unattended.Run {domain}-doctor and report its score as the build's verification surface — "done" is a clean
(or explained) doctor run, not a feeling. Summarize: the structure created, the skills authored, the
plugin produced, the schedule set, and the health score. List what was inferred vs. confirmed so the
user can correct any assumptions.
assets/CLAUDE.md.tmpl (opens in a new tab)assets/claude-plugin.json.tmpl (opens in a new tab)assets/codex-plugin.json.tmpl (opens in a new tab)assets/compound-learn-SKILL.md.tmpl (opens in a new tab)assets/dashboard.html.tmpl (opens in a new tab)assets/doctor-SKILL.md.tmpl (opens in a new tab)assets/doctor.py.tmpl (opens in a new tab)assets/janitor-SKILL.md.tmpl (opens in a new tab)assets/janitor-schedule.tmpl (opens in a new tab)assets/reflect-SKILL.md.tmpl (opens in a new tab)assets/skillify-SKILL.md.tmpl (opens in a new tab)evals/README.md (opens in a new tab)evals/improvements-ledger.md (opens in a new tab)evals/rubric.md (opens in a new tab)evals/scenarios/consulting-firm/kickoff.md (opens in a new tab)evals/scenarios/consulting-firm/kickoff/clients.csv (opens in a new tab)evals/scenarios/consulting-firm/kickoff/discovery-call-acme.md (opens in a new tab)evals/scenarios/consulting-firm/kickoff/notes.md (opens in a new tab)evals/scenarios/consulting-firm/use-input/acme-followup.md (opens in a new tab)evals/scenarios/consulting-firm/use-script.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
music-business, workspace-setup, label-os, catalog-management
npx claudepluginhub recoupable/skills --plugin recoup-plugin132 skills in this plugin
/recoup-catalog-audit-catalogAudit a music catalog's rights, registrations, identifiers, agreements and delivery assets against supplied and accessible evidence. Use for 'audit my catalog', 'check my catalog before a sale', 'find rights or registration gaps', or 'verify this catalog after a transfer'. Produces scoped findings and remediation requirements; does not submit corrections, contact counterparties or reconcile royalty payments./recoup-catalog-estimate-valueEstimate a catalog, album, or song's value from public streaming data alone — no seller files or data room required. Use for "what's this catalog worth from public data", "ballpark this catalog", or "estimate the value of [album/song]". Wider error bars than a seller-file valuation; states its assumptions. For full diligence on a real data room use recoup-catalog-review-deal./recoup-catalog-explain-contractExplain a supplied music agreement in plain language, including the parties, covered music, rights, term, territory, payment/reporting rules and obligations, with clause references and unresolved questions. Use for "explain this music contract", "what did I agree to", "summarize this license", or "what does this publishing deal cover". Reviews the supplied agreement; does not sign, enforce, register rights or determine legal validity./recoup-catalog-import-catalogTurn a supplied distributor or repertoire CSV/spreadsheet into an organized, traceable catalog of releases, recordings and available composition links, with duplicates and uncertain matches flagged. Use for "import my catalog", "load this distributor spreadsheet", or "organize this repertoire export". Saves through a supported importer when available; does not establish ownership, distribute recordings or value a deal./recoup-catalog-organize-publishingOrganize supplied composition lists, split sheets, publisher agreements and registration exports into a writer/publisher repertoire with linked recordings, recorded shares, registration status and administration details. Use for "organize my publishing", "list my compositions and registrations", or "build my publishing repertoire inventory". Flags gaps while building that inventory; a condition assessment of existing catalog evidence belongs to catalog audit; does not register works, claim royalties or estimate recoverable money./recoup-catalog-reconcile-royaltiesReconcile music royalty statements, contractual earnings, remittances and relevant bank receipts with source controls and explained exceptions. Use for 'reconcile these publishing royalties', 'why did my royalty income drop', 'check my producer royalties', or a context-qualified royalty deposit match. Works from statements alone; generic bank payments and unrelated invoices do not trigger this skill.Other plugins' skills for the same job