Skillpedia
الصوت والتعليق الصوتي81k · #1660

music-connect

ما الذي تفعله

تنشئ هذه المهارة الاتصال بين Claude Code وحسابك الخاص في Cognitum Music. وهي مناسبة لمن يريد أن تنشئ أدوات الذكاء الاصطناعي لديه الموسيقى وتديرها في هذا الحساب.

متى تستخدمها

  • ✓عندما تريد توليد موسيقى ولم تكن أدوات الموسيقى متاحة بعد.
  • ✓عندما يظهر الاتصال بالموسيقى مفقودًا أو منقطعًا.
  • ✓عندما تحتاج إلى استبدال رمز وصول منتهٍ أو ملغى.

رابط المهارة

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-music/skills/music-connect/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-music/skills/music-connect/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اربط حسابي في Cognitum Music حتى تستطيع أن تصنع لي أغاني.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تتحقق المهارة أولًا مما إذا كان الاتصال يعمل. إذا لم يكن يعمل، ترشدك خطوة بخطوة إلى إنشاء رمز وصول شخصي في متصفحك، ثم تطلب منك تسجيله بنفسك حتى لا يدخل الرمز إلى المحادثة أبدًا.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من 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 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:

    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. 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 to claude 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.1
    

    Pin 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 before 0.1.1 have no fetch timeout and fail create_production calls that run past Node's ~5-minute default (see ADR-0001).

  4. Verify:

    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:

    claude mcp remove cogmusic -s local
    claude mcp add cogmusic --env COGMUSIC_TOKEN=cogmcp_... -- npx -y cogmusic@0.1.1
    
  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.

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.
الأسئلة الشائعة

هل سيرى المساعد رمزي؟

لا. أنت تنفذ خطوة التسجيل بنفسك، فلا يدخل الرمز إلى المحادثة.

هل أحتاج إلى حساب أولًا؟

نعم. الإعداد يستخدم حسابك الخاص في Cognitum Music.

ماذا يحدث إذا كان الاتصال يعمل بالفعل؟

تتوقف المهارة مبكرًا، لأن الاتصال مُعد بالفعل.

التفاصيل

الوصف الأصلي من المؤلف

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

repo: ruvnet/ruflo

الشعبية

نجوم GitHub
81k
الترتيب
#1660
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة