music-connect
Skill này làm gì
Skill này thiết lập kết nối giữa Claude Code và tài khoản Cognitum Music của chính bạn. Nó dành cho người muốn công cụ AI tạo và quản lý nhạc trong tài khoản đó.
Khi nào nên dùng
- ✓Khi bạn muốn tạo nhạc nhưng các công cụ nhạc chưa khả dụng.
- ✓Khi kết nối nhạc hiển thị là thiếu hoặc đã ngắt.
- ✓Khi bạn cần thay token truy cập đã hết hạn hoặc bị thu hồi.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-music/skills/music-connect/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy kết nối tài khoản Cognitum Music của tôi để bạn có thể làm bài hát cho tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill trước hết kiểm tra xem kết nối có hoạt động không. Nếu không, nó hướng dẫn bạn tạo một personal access token trong trình duyệt của mình, rồi yêu cầu bạn tự đăng ký token để token không đi vào khung chat.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Trợ lý có thấy token của tôi không?
Không. Bạn tự chạy bước đăng ký, nên token không đi vào cuộc trò chuyện.
Tôi có cần tài khoản trước không?
Có. Thiết lập dùng tài khoản Cognitum Music của chính bạn.
Điều gì xảy ra nếu kết nối đã hoạt động?
Skill dừng sớm, vì kết nối đã được thiết lập.
Chi tiết
Mô tả gốc của tác giả
One-time setup — mint a Cognitum Music personal access token and register the cogmusic MCP server with Claude Code
repo: ruvnet/ruflo
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1660
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
openai-whisper-api
394kCho phép agent của bạn chuyển bản ghi âm thành văn bản bằng dịch vụ chuyển đổi của OpenAI, với tùy chọn nhãn người nói và tệp đầu ra.
openai-whisper
394kGiúp agent của bạn chuyển âm thanh thành văn bản trên chính máy tính bằng lệnh Whisper, không cần khóa API và không cần tải lên đám mây.
sag
394kGiúp agent của bạn đọc văn bản thành tiếng nói bằng giọng ElevenLabs và phát kết quả trên máy tính, kèm mẹo về phát âm và biểu cảm.