← 返回 Skills 市场
bark-push
作者
smallersoup
· GitHub ↗
· v1.0.0
· MIT-0
99
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bark-push2
功能描述
专业的 Bark 推送技能。支持通过 LobeHub 市场规范定义的通知格式发送消息。
使用说明 (SKILL.md)
Bark Push 技能 (标准版) 🦞
简介
这是 openclaw-skills-bark-push 的本地重构版。它完全兼容 LobeHub 技能市场的调用规范。
参数说明
- message (string, 必填): 推送的消息内容。
- title (string, 可选): 消息标题。
- key (string, 可选): 您的 Bark Key(如果留空,将读取 BARK_KEY 环境变量)。
调用示例
node push.js "Hello from OpenClaw" --title "龙虾推送"
安全使用建议
This skill appears to do what it claims (send Bark notifications via api.day.app) but it will try to read a BARK_KEY from an ancestor file at ../../USER.md if the BARK_KEY env var is not set. That file-read is the main red flag: it may expose secrets outside the skill directory. Before installing or running: (1) prefer setting BARK_KEY in the environment and do not rely on the USER.md fallback; (2) inspect ../../USER.md in your workspace to ensure it contains nothing sensitive or rename/remove keys there; (3) if you control the skill, remove or restrict the USER.md lookup (or limit path scope) so it only reads explicit, documented config files; (4) run the script in a sandbox or limited environment if you are unsure. If the AUTHOR can explain why the ancestor USER.md lookup is necessary (for example, a known monorepo layout), that would reduce concern.
功能分析
Type: OpenClaw Skill
Name: bark-push2
Version: 1.0.0
The skill is a standard implementation for sending notifications via the Bark API (api.day.app). It retrieves the necessary API key from environment variables or a local configuration file (USER.md) and uses built-in Node.js modules (https, fs, path) to perform its stated function without any signs of malicious intent, obfuscation, or unauthorized data exfiltration.
能力评估
Purpose & Capability
The code's primary behavior (HTTP GET to api.day.app using a Bark key) matches the 'bark-push' purpose. However, the implementation looks for a BARK_KEY in an arbitrary ancestor file (../../USER.md), which is not obviously required for a push helper and is not documented as a required config path in the registry metadata.
Instruction Scope
SKILL.md suggests running node push.js and that the key can come from the BARK_KEY env var, which is reasonable. The included push.js also tries to read ../../USER.md to extract a key if the env var is not set — this is scope creep (it reads files outside the skill folder) and could read sensitive information unexpectedly.
Install Mechanism
There is no install spec; this is an instruction-only skill with a small JavaScript file and a documented binary dependency on node. No remote downloads or extraction are performed.
Credentials
The skill uses a BARK_KEY environment variable but the registry metadata lists 'Required env vars: none'. The code will exit if no key is found. Requiring a single service key is proportionate, but searching for the key in ../../USER.md increases risk of accidental exposure of secrets.
Persistence & Privilege
The skill does not request permanent presence, does not modify other skills, and does not write persistent configuration. It only performs an HTTPS GET and local file reads.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bark-push2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/bark-push2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Version 1.0.0
- Major refactor: simplified the skill, removing shell and legacy JS scripts.
- Retired files: scripts/bark-send.js, scripts/bark-send.sh, and scripts/package.json.
- Added a single entry point: push.js.
- Updated documentation to the new streamlined format, focused on Node.js usage and LobeHub compatibility.
元数据
常见问题
bark-push 是什么?
专业的 Bark 推送技能。支持通过 LobeHub 市场规范定义的通知格式发送消息。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。
如何安装 bark-push?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bark-push2」即可一键安装,无需额外配置。
bark-push 是免费的吗?
是的,bark-push 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
bark-push 支持哪些平台?
bark-push 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 bark-push?
由 smallersoup(@smallersoup)开发并维护,当前版本 v1.0.0。
推荐 Skills