Overview
- Skill Key
- eliranwong/self-prompt
- Author
- eliranwong
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/eliranwong/self-prompt
- Latest Commit SHA
- 168f4f3fdc7b196468f9f7c278292303f089307e
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Self Prompt 技能。 若已安装,则直接安装 Self Prompt 技能。
# Self-Prompt: Forcing Agent Responses
## The Problem
When automated scripts (cron, monitoring) send messages via `openclaw message send`:
- Messages appear in chat as "system messages"
- Agents may treat them as background info, not tasks
- Agents respond to user messages but ignore automated ones
- Accountability checks, alerts, and tasks go unanswered
## The Solution
Use `openclaw agent` instead of `openclaw message send` for messages requiring agent response:
```bash
# OLD (agent may ignore):
openclaw message send --target -GROUP_ID --message "TASK: Do something"
# NEW (agent MUST respond):
RESPONSE=$(openclaw agent \
--agent AGENT_ID \
--session-id "agent:AGENT_ID:telegram:group:GROUP_ID" \
--channel telegram \
--message "TASK: Do something" \
--timeout 180)
# Send response to chat:
openclaw message send --target -GROUP_ID --message "$RESPONSE"
```
## Why This Works
- `openclaw message send` → Creates chat message → Agent sees as "notification"
- `openclaw agent` → Triggers actual agent turn → Agent MUST process and respond
## Quick Start
### For Bash Scripts
Use `scripts/send_agent_task.sh`:
```bash
# Simple usage:
~/.openclaw/skills/self-prompt/scripts/send_agent_task.sh \
"AGENT_ID" \
"GROUP_ID" \
"Your task message here"
```
### For Python Scripts
Use `scripts/send_agent_task.py`:
```python
from send_agent_task import send_and_deliver
success, response = send_and_deliver(
agent_id="stock-trading",
group_id="-5283045656",
message="TASK: Analyze current positions",
timeout=180
)
```
## Pattern: Data + Task Separation
For monitoring scripts, separate data delivery from task requests:
```bash
# 1. Send DATA immediately (informational)
openclaw message send --target "$GROUP_ID" --message "📊 Position Data:
$POSITIONS"
# 2. Send TASK via agent (forces response)
RESPONSE=$(openclaw agent \
--agent "$AGENT_ID" \
--session-id "agent:$AGENT_ID:telegram:group:$GROUP_ID" \
--message "Anal...
0xnyk
X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
jackculpan
Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.
openclaw-trade
openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime monitoring and news research, gather info from private insiders and many other! Using Hyperliquid API.
xquik-dev
X (Twitter) automation skill for AI coding agents. Tweet search, user lookup, follower/following extraction, media download, reply/retweet/quote extraction, 40+ tools, account monitoring & trending topics. REST API, MCP server, HMAC webhooks. Works with Claude Code, Cursor, Codex, Copilot, Windsurf & 40+ agents.
mohsinkhadim59
Step-by-step guides for installing and running OpenClaw, an open-source AI agent, on Mac, Linux VPS, and AWS covering setup, security, messaging channels, Google integration, skills, and monitoring.