agentleFS
blockcell-labsblockcell-labs/blockcell/skills/wechat_binance/SKILL.md

wechat_binance

Skill262 starsChanged 22 days agoMITView on GitHub

- 用户要求抓取并发送币安行情时,固定调用: exec_local(path="SKILL.py", runner="python3", cwd_mode="skill", args=["{\"contact\":\"好友昵称\",\"top\":10}"]) - args 只传一个 JSON 字符串,字段约定: - contact:微信联系人昵称;未指定时传“文件传输助手”。 - top:正整数,默认 10,允许范围 1 到 100。 - 不要传 message:脚本会根据实际行情生成发送内容。 - exec_local 返回包装后的 JSON,脚本真实输出位于 stdout。优先解析 stdout 中的 JSON: - 成功时使用 display_text 向用户确认发送结果。 - 失败时根据 error 或 stderr 说明失败原因,不得声称已经发送。 - 如果联系人不明确但用户显然不希望发送给“文件传输助手”,先询问联系人;如果只是未指定,则直接使用默认联系人。 - 如果用户只要求查看行情而没有要求通过微信发送,不要调用此 Skill,因为该入口始终会执行发送操作。

The file

Files
SKILL.md

币安行情微信推送

Shared {#shared}

  • 用于抓取 Binance USDT 交易对中按流通市值估算排名靠前的代币,并通过 macOS 微信客户端发送给指定联系人。
  • 运行环境必须是 macOS,微信客户端已登录,并已向运行 BlockCell 的终端授予辅助功能权限。
  • 本地入口是 SKILL.py,依赖 python3、requests 和系统命令 osascript。
  • 发送消息属于外部副作用:联系人必须来自用户当前请求;用户没有指定联系人时才使用“文件传输助手”。
  • 不得编造行情、联系人匹配结果或发送结果,最终回复只能依据脚本的实际 stdout。

Prompt {#prompt}

  • 用户要求抓取并发送币安行情时,固定调用: exec_local(path="SKILL.py", runner="python3", cwd_mode="skill", args=["{\"contact\":\"好友昵称\",\"top\":10}"])
  • args 只传一个 JSON 字符串,字段约定:
    • contact:微信联系人昵称;未指定时传“文件传输助手”。
    • top:正整数,默认 10,允许范围 1 到 100。
  • 不要传 message:脚本会根据实际行情生成发送内容。
  • exec_local 返回包装后的 JSON,脚本真实输出位于 stdout。优先解析 stdout 中的 JSON:
    • 成功时使用 display_text 向用户确认发送结果。
    • 失败时根据 error 或 stderr 说明失败原因,不得声称已经发送。
  • 如果联系人不明确但用户显然不希望发送给“文件传输助手”,先询问联系人;如果只是未指定,则直接使用默认联系人。
  • 如果用户只要求查看行情而没有要求通过微信发送,不要调用此 Skill,因为该入口始终会执行发送操作。

Summary {#summary}

  • 成功回复应包含实际联系人、发送的 Top 数量和脚本返回的行情概览。
  • 失败回复应简要说明网络、微信状态、联系人匹配或辅助功能权限中的实际错误。
  • 不输出内部日志、完整 tool trace 或未验证的数据。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.