add-sub
Subscribe to a skill event. Adds a subscription that injects context before or after a skill runs. Supports optional conditions at both insert-level (inherited by all subscriptions) and subscription-level (AND-stacked). Conditions include fileExists, gitBranch, envSet, envEquals, fileContains (with optional regex).
适合你,如果需要在其他技能执行前后自动执行自定义逻辑
/ 通过 npx 安装 校验哈希
npx oh-my-skill add composiohq/awesome-claude-plugins/add-sub/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- composiohq/awesome-claude-plugins/add-sub/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify composiohq/awesome-claude-plugins/add-sub安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1815GitHub stars
~102上下文体积 · 单文件
索引托管
怎么用
商店整理自技能原文 · 版本 9ef49d0 · 表述以原文为准它做什么
安装后,你可以让 Claude 订阅某个技能事件,在技能运行前后自动注入上下文。支持按文件存在、Git 分支、环境变量等条件控制触发。
什么时候触发
当你需要为某个技能添加订阅,或通过 `/skill-bus:add-sub` 命令直接启动交互流程时触发。
装好后可以这样说
Claude 会启动订阅流程,让你配置条件和上下文。
Claude 会引导你设置 gitBranch 条件。
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…