Agent Skillsrcarmo/piclaw › send-message

send-message

GitHub

通过写入IPC JSON文件立即向聊天发送消息或进度更新,适用于长任务前的确认、多步骤任务的中间汇报及结果交付。

runtime/skills/builtin/send-message/SKILL.md rcarmo/piclaw

Trigger Scenarios

需要立即回复用户请求以确认收到 在长时间或多步骤任务中发送进度更新 在工作继续时交付部分结果

Install

npx skills add rcarmo/piclaw --skill send-message -g -y
More Options

Non-standard path

npx skills add https://github.com/rcarmo/piclaw/tree/main/runtime/skills/builtin/send-message -g -y

Use without installing

npx skills use rcarmo/piclaw@send-message

指定 Agent (Claude Code)

npx skills add rcarmo/piclaw --skill send-message -a claude-code -g -y

安装 repo 全部 skill

npx skills add rcarmo/piclaw --all -g -y

预览 repo 内 skill

npx skills add rcarmo/piclaw --list

SKILL.md

Frontmatter
{
    "name": "send-message",
    "description": "Send a message to the chat immediately without waiting for the current task to finish. Useful for acknowledging requests or sending progress updates while working.",
    "distribution": "public"
}

Send a Message

Write an IPC JSON file so piclaw sends a message immediately.

Usage

cat > "$PICLAW_DATA/ipc/messages/msg_$(date +%s)_$$_send.json" <<EOF
{
  "type": "message",
  "chatJid": "$PICLAW_CHAT_JID",
  "text": "Your message here",
  "media": [
    {
      "path": "/absolute/path/to/chart.svg",
      "content_type": "image/svg+xml",
      "inline": true
    }
  ]
}
EOF

When to use

  • acknowledge a request before longer work starts
  • send progress updates during a multi-step task
  • deliver partial results while continuing to work

Example progress message:

Processing 3/10 files, ~30s remaining…

Notes

  • Messages are usually picked up within ~1 second.
  • The IPC file is deleted after successful delivery.
  • Use WhatsApp-compatible formatting for WhatsApp-bound chats: *bold*, _italic_, • bullets, and fenced code blocks.
  • You can attach local media files with an optional media array.
    • each item is { path, content_type?, filename?, inline? }
    • path must point to an existing readable file
    • content_type and filename override detected values
    • inline: true hints inline rendering for supported images
  • Missing or unreadable media paths generate an inline warning and do not block delivery of the remaining files.
  • Do not use this for your final conversational response.
  • Edge case: if the main deliverable is a file or image, send it via IPC if needed, then still return a brief normal response confirming what was sent.

Environment

  • PICLAW_DATA — piclaw data directory (contains ipc/messages/)
  • PICLAW_CHAT_JID — JID of the chat that triggered this invocation

Version History

  • 5fa0ce5 Current 2026-07-25 10:25

Same Skill Collection

runtime/skills/builtin/reload/SKILL.md
runtime/skills/builtin/remote-peer/SKILL.md
runtime/skills/builtin/schedule/SKILL.md
runtime/skills/builtin/script-discovery-annotation/SKILL.md
runtime/skills/integrations/playwright/SKILL.md
runtime/skills/operator/graphite-power-chart/SKILL.md
runtime/skills/operator/token-chart/SKILL.md
skel/.pi/skills/adaptive-cards-authoring/SKILL.md
skel/.pi/skills/bootstrap-container/SKILL.md
skel/.pi/skills/debug/SKILL.md
skel/.pi/skills/export-timeline-pdf/SKILL.md
skel/.pi/skills/extension-design/SKILL.md
skel/.pi/skills/extension-troubleshoot/SKILL.md
skel/.pi/skills/feature-refinement-flow/SKILL.md
skel/.pi/skills/feed-digest/SKILL.md
skel/.pi/skills/graph-design/SKILL.md
skel/.pi/skills/graphite-power-chart/SKILL.md
skel/.pi/skills/kanban-management/SKILL.md
skel/.pi/skills/mcp-adapter/SKILL.md
skel/.pi/skills/playwright/SKILL.md
skel/.pi/skills/reload/SKILL.md
skel/.pi/skills/remote-peer/SKILL.md
skel/.pi/skills/schedule/SKILL.md
skel/.pi/skills/script-discovery-annotation/SKILL.md
skel/.pi/skills/send-message/SKILL.md
skel/.pi/skills/setup/SKILL.md
skel/.pi/skills/situate-daily-notes/SKILL.md
skel/.pi/skills/technical-docs/SKILL.md
skel/.pi/skills/timeline-cleanup/SKILL.md
skel/.pi/skills/token-chart/SKILL.md
skel/.pi/skills/twitter-summary/SKILL.md
skel/.pi/skills/web-search-summary/SKILL.md
skel/.pi/skills/web-search/SKILL.md

Metadata

Files
0
Version
ae927fb
Hash
91403fab
Indexed
2026-07-25 10:25

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 17:40
浙ICP备14020137号-1 $Гость$