Agent skill

Music Connect

by ruvnet in ruvnet/ruflo

One-time setup — mint a Cognitum Music personal access token and register the cogmusic MCP server with Claude Code

MITAuto-check: notesAgent Workflows

Install Music Connect

skills CLI
$ npx skills add ruvnet/ruflo --skill music-connect -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo music-connect --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ruflo-music/skills/music-connect .claude/skills/music-connect && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
music-connect
GitHub stars
74k
Token cost
~806 tokens
SKILL.md length
381 words
Files
1
Skills in repo
265
Repo updated
First seen
Licence
MIT

At a glance

One-time setup — mint a Cognitum Music personal access token and register the cogmusic MCP server with Claude Code

  • Works in 6 steps: Check for an existing, working… → If no token was provided, tell the user… → Register the MCP server once you have… → …
  • Tasks that involve MCP servers
  • SKILL.md covers When to use, Steps and Notes
  • Calls claude and npm; reaches music.cognitum.one; needs COGMUSIC_TOKEN

What it does

Music Connect is an agent skill from ruvnet/ruflo. One-time setup — mint a Cognitum Music personal access token and register the cogmusic MCP server with Claude Code

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve MCP servers

Example prompts

  • “/music-connect”

Requirements

  • Node.js
  • A credential in COGMUSIC_TOKEN
  • Pre-approved tools (allowed-tools): Bash, WebFetch

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Check for an existing, working registration first
  2. If no token was provided, tell the user exactly how to mint one (this step requires their own browser login — you cannot do it for them)
  3. Register the MCP server once you have the token (never print the full token back to the user in plain chat if avoidable — treat it as a…
  4. Verify
  5. If registration already exists but is unhealthy, remove and re-add rather than editing config by hand
  6. Once connected, the mcpcogmusic* tools (list_productions, get_production, create_production, separate_stems, extract_midi, master) become…

What it can do on your machine

Read from SKILL.md and the folder at commit 6c04654. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • WebFetch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • claude
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • music.cognitum.one

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • COGMUSIC_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Music Connect loads about 806 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 381 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~806

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, WebFetch

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit 6c04654, republished under its MIT licence (© ruvnet). 381 words, ~806 tokens.

Download SKILL.mdSave it as .claude/skills/music-connect/SKILL.md (or your agent's skills folder).
name
music-connect
description
One-time setup — mint a Cognitum Music personal access token and register the cogmusic MCP server with Claude Code
allowed-tools
Bash, WebFetch
argument-hint
[--token cogmcp_...]

Music Connect

Wires this session up to the user's own Cognitum Music account (music.cognitum.one) via the cogmusic MCP bridge. This is a one-time, per-machine/per-project setup — run it before any other music-* skill if mcp__cogmusic__* tools aren't already loaded.

When to use

  • The user asks to generate/produce music and no mcp__cogmusic__* tools are visible yet.
  • claude mcp get cogmusic reports the server missing, disconnected, or unhealthy.
  • The user is rotating or replacing an expired/revoked token.

Steps

  1. Check for an existing, working registration first:

    bash
    claude mcp get cogmusic

    If it reports ✔ Connected, you're already set up — stop here.

  2. If no token was provided, tell the user exactly how to mint one (this step requires their own browser login — you cannot do it for them):

    • Sign in at https://music.cognitum.one/mcp
    • Click "Generate connection token" (label it something recognizable, e.g. "Claude Code")
    • Copy the raw token — it starts with cogmcp_ and is shown exactly once
  3. Register the MCP server once you have the token (never print the full token back to the user in plain chat if avoidable — treat it as a secret; it's fine as a one-time argument to claude mcp add, which stores it in local config, not in conversation history):

    bash
    claude mcp add cogmusic --env COGMUSIC_TOKEN=cogmcp_... -- npx -y cogmusic@latest

    Pin to cogmusic@0.1.1 or later — earlier 0.1.0 has no fetch timeout and fails create_production calls that run past Node's ~5-minute default (see ADR-0001).

  4. Verify:

    bash
    claude mcp get cogmusic

    Expect ✔ Connected. If it shows CONNECTION_CLOSED or a 404, the cogmusic npm package version pinned in the command may be stale or unpublished — check npm view cogmusic version and retry with an explicit version.

  5. If registration already exists but is unhealthy, remove and re-add rather than editing config by hand:

    bash
    claude mcp remove cogmusic -s local
    claude mcp add cogmusic --env COGMUSIC_TOKEN=cogmcp_... -- npx -y cogmusic@latest
  6. Once connected, the mcp__cogmusic__* tools (list_productions, get_production, create_production, separate_stems, extract_midi, master) become available — proceed to music-generate or music-list.

Show full SKILL.md (89 more words)Show less

Notes

  • The token is a personal access token (PAT) scoped to one Cognitum account, minted and revoked by the user themselves at music.cognitum.one/mcp — this plugin has no way to mint or revoke one programmatically, and should never attempt to guess, cache elsewhere, or transmit it anywhere other than the local claude mcp add registration.
  • A newly-registered MCP server's tools may not appear until the next Claude Code session — if mcp__cogmusic__* tools still aren't listed after a successful claude mcp get cogmusic, tell the user to start a fresh session.

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/ruflo-music/skills/music-connect of ruvnet/ruflo.

Open the folder on GitHubat commit 6c04654

Compare with similar skills

Music Connect next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Music Connect compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Music Connect this skillruvnet/ruflo74k—~806Automated safety check: NotesMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.

    65k GitHub starsUsed in 1 repo~2.1k tokens
    Agent WorkflowsAuto-check passed

More from ruvnet/ruflo

All 265 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 1 repo~830 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 1 repo~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 1 repo~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 1 repo~779 tokens
    Auto-check passed
  • Finds models on the Hugging Face router that lack descriptions in chat-ui's prod.yaml and dev.yaml, researches each one and adds short descriptions.

    74k GitHub starsUsed in 1 repo~600 tokens
    Auto-check passed

Categories

Questions about Music Connect

What does Music Connect do?

One-time setup — mint a Cognitum Music personal access token and register the cogmusic MCP server with Claude Code. Music Connect is an agent skill from ruvnet/ruflo.

When should I use Music Connect?

Music Connect fits situations like: tasks that involve MCP servers.

How do I install Music Connect in Claude Code?

Run `npx skills add ruvnet/ruflo --skill music-connect -a claude-code`. Or copy the skill folder (plugins/ruflo-music/skills/music-connect in ruvnet/ruflo) into .claude/skills/music-connect in your project. Claude Code loads it when a task matches its description.

How do I install Music Connect in Codex?

Run `npx skills add ruvnet/ruflo --skill music-connect -a codex`. Or copy the skill folder (plugins/ruflo-music/skills/music-connect in ruvnet/ruflo) into .agents/skills/music-connect in your project. Codex loads it when a task matches its description.

Can I use Music Connect in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill music-connect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/music-connect, .gemini/skills/music-connect, .github/skills/music-connect and .opencode/skills/music-connect in your project.

What does Music Connect need to run?

Going by SKILL.md and its folder, Music Connect needs the command-line tools its instructions call (claude and npm) and credentials named COGMUSIC_TOKEN. Our summary lists: Node.js; A credential in COGMUSIC_TOKEN. Its frontmatter pre-approves these tools: Bash, WebFetch.

Does Music Connect access the network?

SKILL.md names 1 domain. In commands or code: music.cognitum.one; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Music Connect safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Music Connect use?

Music Connect is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Music Connect use?

About 806 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Music Connect?

Skills that share tags, products or a category with Music Connect: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Music Connect?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,222 GitHub stars. The repository holds 265 skills in this directory. The repository was last updated on October 10, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.