music-connect
What it does
This skill sets up the connection between Claude Code and your own Cognitum Music account. It is for people who want their AI tools to make and manage music in that account.
When to use it
- ✓When you want to generate music and the music tools are not yet available.
- ✓When the music connection shows as missing or disconnected.
- ✓When you need to replace an expired or revoked access token.
Skill link
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-music/skills/music-connect/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Connect my Cognitum Music account so you can make songs for me.”
5 new skills a week. 1 minute to read.
How it works
The skill first checks whether the connection already works. If it does not, it walks you through creating a personal access token in your own browser, then asks you to register it yourself so the token never enters the chat.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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 cogmusicreports the server missing, disconnected, or unhealthy.- The user is rotating or replacing an expired/revoked token.
Steps
Check for an existing, working registration first:
claude mcp get cogmusicIf it reports
✔ Connected, you're already set up — stop here.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
- Sign in at
Register the MCP server once you have the token. Do not paste the token into the chat or have the model type it into a command: ask the user to run the registration themselves (in Claude Code,
!claude mcp add ...runs it in this session) so the token never enters the conversation transcript. Never echo it back. Treat it as a secret; it's fine as a one-time argument toclaude mcp add, which stores it in local config, not in conversation history):claude mcp add cogmusic --env COGMUSIC_TOKEN=cogmcp_... -- npx -y cogmusic@0.1.1Pin an exact version (0.1.1 is the current release) instead of
@latest, so a later publish cannot change what runs with your token. Versions before0.1.1have no fetch timeout and failcreate_productioncalls that run past Node's ~5-minute default (see ADR-0001).Verify:
claude mcp get cogmusicExpect
✔ Connected. If it showsCONNECTION_CLOSEDor a 404, thecogmusicnpm package version pinned in the command may be stale or unpublished — checknpm view cogmusic versionand retry with an explicit version.If registration already exists but is unhealthy, remove and re-add rather than editing config by hand:
claude mcp remove cogmusic -s local claude mcp add cogmusic --env COGMUSIC_TOKEN=cogmcp_... -- npx -y cogmusic@0.1.1Once connected, the
mcp__cogmusic__*tools (list_productions,get_production,create_production,separate_stems,extract_midi,master) become available — proceed tomusic-generateormusic-list.
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 localclaude mcp addregistration. - 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 successfulclaude mcp get cogmusic, tell the user to start a fresh session.
FAQ
Will the assistant see my token?
No. You run the registration step yourself, so the token does not enter the conversation.
Do I need an account first?
Yes. The setup uses your own Cognitum Music account.
What happens if it is already working?
The skill stops early, because the connection is already set up.
Details
Original description by the author
One-time setup — mint a Cognitum Music personal access token and register the cogmusic MCP server with Claude Code
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1660
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
openai-whisper-api
394kLets your agent turn an audio recording into text using OpenAI's transcription service, with options for speaker labels and output files.
openai-whisper
394kHelps your agent transcribe audio on your own computer with the Whisper command, with no API key and no cloud upload needed.
sag
394kHelps your agent read text aloud with ElevenLabs voices and play the result on your computer, with tips for pronunciation and expression.