agentleFS
yangwhaleyangwhale/CloseCrab/skills/feishu-user-msg/SKILL.md

feishu-user-msg

Skill5 starsChanged 3 months agoApache-2.0View on GitHub

以 Chris 身份通过飞书 API 发消息到 bot DM 窗口。支持文字和语音。Siri 快捷指令的服务端。

The file

Files
SKILL.md

飞书用户身份消息

以 Chris 的飞书账号身份发消息到任意 bot 的 DM 窗口。消息显示为 Chris 发出,bot 按正常聊天路径处理。

用法

# 发文字给 Jarvis
python3 ~/.claude/skills/feishu-user-msg/scripts/send_as_user.py \
  --to jarvis --text "明天三点提醒我开会"

# 发语音给 Jarvis
python3 ~/.claude/skills/feishu-user-msg/scripts/send_as_user.py \
  --to jarvis --audio /tmp/voice.ogg

# 查看状态
python3 ~/.claude/skills/feishu-user-msg/scripts/send_as_user.py --status

# 初始化/重新授权
python3 ~/.claude/skills/feishu-user-msg/scripts/send_as_user.py --init-token --code "CODE"

可用 bot

仅 jarvis。飞书 OAuth token 是 per-app 的,只能发到授权应用自己的聊天窗口。给其他 bot 发消息请通过 Jarvis 转发(inbox)。

Token 管理

  • 存储:~/.closecrab/feishu-user-token.json
  • access_token 2h 有效,自动刷新
  • refresh_token 30 天有效,<7 天时打 warning
  • 过期后需重新 OAuth 授权(--init-token)

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.