跳到正文
ccmods.app

sfx-gen

v0.3.0

用本地 Stable Audio 模型根据文字生成音效,并在报错、等待授权、回复完成等事件时播放。

作者 @nkapila62更新于 广泛访问GitHub

安装

  1. 在终端执行(提示添加 marketplace 时输入 y)

    $ claude plugin install sfx-gen --marketplace nkapila6/sfx-gen

已在会话中?在 Claude Code 输入框里输入:

$ /plugin install sfx-gen --marketplace nkapila6/sfx-gen

选择作用域后立即生效。需要 Claude Code 2.1.287 或更高版本,在终端执行。完整安装指南

sfx-gen 能做什么?

  • /sfx <prompt> 本地生成音效,支持 --duration 和 --seed;Claude 也可以调用 sfx 工具
  • /sfx-pane 列出本会话生成的音效,带播放和 mp3 按钮;/sfx-pane history 显示更早的音效
  • /sfx-notify 把音效绑定到 error、permission、done、abort、compact 事件,支持 test、off 和静音
  • 可配置模型(small-sfx、small-music、medium)、设备、编码和默认时长

需要什么?

  • Claude Code 2.1.287 或更高版本(终端)
  • 运行安装脚本,下载预编译 sa3.cpp 和约 1 GB 模型权重
  • mp3 按钮需要 ffmpeg

这个 mod 能访问什么?

以下内容由 claude plugin validate 在 Claude Code 2.1.296 上读取 mod 代码得出(同步于 2026年10月12日)。这是能力清单,不是安全审计;mod 以你的权限运行,请只安装可信作者的 mod。

广泛访问
  • 在你的机器上运行程序
  • 拦截或改写工具调用
  • 读取文件
  • 读取环境变量或设置
Hook 与接口调用 (11 + 16)

hooks

  • command.run{command=sfx-notify}
  • command.run{command=sfx-pane}
  • command.run{command=sfx}
  • session.compact
  • session.start
  • tool.call
  • tool.call{tool=mcp__sfx-gen__sfx}
  • tool.check
  • turn.complete
  • ui.render{component=AbovePrompt}
  • ui.render{component=Pane, requestId=sfx}

calls

  • $.audio.play
  • $.command.register
  • $.env.get
  • $.fs.exists
  • $.fs.read
  • $.process.run
  • $.session.cwd
  • $.state.get
  • $.state.set
  • $.store.get
  • $.store.set
  • $.tool.register
  • $.ui.open
  • $.ui.resolve
  • $.ui.status
  • $.ui.toast

怎样卸载 sfx-gen?

$ claude plugin uninstall sfx-gen

只想暂时关闭:claude plugin disable 加同一个名称。

你是 sfx-gen 的作者?

把这个徽章加到 README,用户可以直接跳到本页查看安装命令和访问能力报告。

Listed on ccmods.app
[![Listed on ccmods.app](https://ccmods.app/badge.svg)](https://ccmods.app/mods/sfx-gen)

dotnet-pilot

zdanovichnick/dotnet-pilot

5

.NET 开发助手,含 Roslyn 检查、会话压力表、防止放宽测试的守卫和可选像素风 band。

界面提示词工具调用中等访问
$ claude plugin install dotnet-pilot --marketplace zdanovichnick/dotnet-pilot

youtube-side-player

hemanth/claude-code-youtube-mod

2

用 /yt 搜索并播放 YouTube 视频:在 Ghostty 或 kitty 中于侧边 pane 内播放,其他终端则弹出 macOS 浮窗。

界面工具调用命令广泛访问
$ claude plugin install youtube-side-player --marketplace hemanth/claude-code-youtube-mod

spotify-mod

hemanth/spotify-mod

1

用 /spotify 搜索和播放 Spotify,可选 prompt 上方迷你栏、带专辑封面的侧边 pane 或弹出窗口。

界面工具调用命令广泛访问
$ claude plugin install spotify-mod --marketplace hemanth/spotify-mod