跳到正文
cccskills
免费在 GitHub 公开中文介绍

music-connect

指导将Cognitum Music账户连接到Claude Code,从生成连接令牌到注册MCP服务器和验证连接,并协助更换过期或已撤销的令牌。

原文查看原文说明

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

AI 评分100分/ 100查看安装方法

适用场景

  • 使用音乐技能前连接账户
  • 检查未注册或异常的连接
  • 更换过期或已撤销的令牌
  • 确认是否需要开启新会话

中文介绍

功能

指导完成在Claude Code中使用Cognitum Music账户的初始设置。先检查cogmusic的注册状态;它是连接外部服务与智能体的MCP服务器。随后指导生成连接令牌、注册服务器并验证连接。已注册但连接异常时,也提供删除后重新注册的步骤。

适用场景

适合首次使用music-*技能前,或音乐工具未显示时使用。也可用于更换过期或已撤销的令牌。每台设备、每个项目都需要分别设置。

使用示例

  • “请指导我将Cognitum Music连接到Claude Code。”
  • “请检查cogmusic的连接状态。”
  • “请说明如何更换已撤销的令牌。”

注意事项

须由用户自行登录Cognitum Music并生成令牌。令牌属于秘密信息,只显示一次。不要粘贴到聊天中,注册命令由用户在本地执行。设置使用Claude Code和npx,资料指定cogmusic@0.1.1。连接成功后若仍未显示工具,可能需要开启新的Claude Code会话。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

客观评估

AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。

指令清晰度能否看出何时使用、做什么
A良好明确说明适用于音乐工具未显示、连接异常和更换令牌的情况。
步骤具体性步骤、输入输出和示例是否具体
A良好提供状态检查、令牌生成、注册和重新注册步骤,以及连接成功时的显示。
安全性发送数据、删除文件、执行命令等是否有说明
A良好要求用户在本地注册令牌,不将其放入聊天,并固定执行的软件包版本。
安装难易度所需工具和 API 密钥是否少且有说明
A良好提供登录地址、令牌生成步骤,以及使用Claude Code和npx的注册命令。

总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月21日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

add-model-descriptions

免费有简介AI 评分 80分

对照HuggingFace router的模型列表与chat-ui配置,研究尚未收录的模型,编写简短英文说明,并同步添加到生产和开发配置。

  • 添加路由中新上线的模型
  • 用简短说明概括模型特点
  • 同步更新生产和开发环境的模型信息
ruvnet/ruflo7.8万2026年10月21日 更新

adr-create

免费有简介AI 评分 80分

为技术选型和设计决策创建ADR文档,沿用现有文件的连续编号,生成模板并登记到AgentDB,同时为找到的相关历史决策添加链接和依赖关系。

  • 记录采用某项技术的理由
  • 记录API或数据模型变更
  • 将基础设施决策形成文档
ruvnet/ruflo7.8万2026年10月21日 更新

adr-index

免费有简介AI 评分 90分

读取记录架构决策及其原因的ADR,创建并更新搜索索引和依赖关系图。支持两种文档格式,并汇总引用与状态的不一致情况。

  • 导入其他项目的ADR后建立索引
  • 同步文件与关系图
  • 为现有代码库开始管理ADR
ruvnet/ruflo7.8万2026年10月21日 更新

adr-reindex

免费有简介AI 评分 70分

删除ADR设计决策记录或关系信息后,清空并重建索引,移除残留的旧条目,再核对当前文件数与索引记录数是否一致;也可预览重建内容而不作更改。

  • 删除ADR文件后重建索引
  • 删除ADR关系后清理残留记录
  • 定期核对并重建ADR索引
ruvnet/ruflo7.8万2026年10月21日 更新

adr-review

免费有简介AI 评分 80分

将代码差异与记录已采纳设计决策的ADR进行核对,整理违反决策、引用过时记录及缺少相关记录的变更,并提出代码修正或决策调整建议。

  • 合并PR前检查设计决策
  • 核对重大变更与设计决策
  • 查找对已被替代ADR的引用
ruvnet/ruflo7.8万2026年10月21日 更新

adr-verify

免费有简介AI 评分 90分

检查已保存的架构决策记录(ADR),报告失效引用、替代关系中的循环和状态不一致问题,适合导入后的校验与发布前的数据检查。

  • 检查ADR导入后的数据一致性
  • 在持续集成中检测不一致问题
  • 发布前检查已保存的ADR数据
ruvnet/ruflo7.8万2026年10月21日 更新

查看 ruvnet 的全部技能

报告此技能的问题