A simple skill for handling chat conversations and Q&A with OpenClaw.
This skill provides tools for:
Start or continue a chat conversation.
Parameters:
message (string): The message to send in chatcontext (string, optional): Additional context for the conversationExample:
{
"message": "Hello, how are you?",
"context": "Just checking in"
}
Ask a question to OpenClaw.
Parameters:
question (string): The question to askdetailed (boolean, optional): Whether to provide a detailed answer (default: false)Example:
{
"question": "What is the weather like?",
"detailed": true
}
Manage chat history.
Parameters:
action (string): Action to perform - 'get', 'clear', or 'summary'limit (number, optional): Number of messages to retrieve (default: 10)Example:
{
"action": "get",
"limit": 5
}
Start a chat:
Use the chat tool to start a conversation
Ask questions:
Use the ask tool for specific questions
Manage history:
Use chat-history to review or clear conversations
python3 scripts/chat_tool.py '<message>' '[context]'
Example:
python3 scripts/chat_tool.py 'Hello, how are you?' 'Just checking in'
python3 scripts/ask_tool.py '<question>' [detailed]
Example:
python3 scripts/ask_tool.py 'What is OpenClaw?' true
python3 scripts/chat_history_tool.py '<action>' [limit]
Examples:
# Get last 10 messages
python3 scripts/chat_history_tool.py 'get' 10
# Clear history
python3 scripts/chat_history_tool.py 'clear'
# Get summary
python3 scripts/chat_history_tool.py 'summary'
All tools return JSON with:
status: "success" or "error"timestamp: ISO format timestamptool: Tool name that was called{
"status": "success",
"response": "I received your message...",
"timestamp": "2026-03-16T14:30:00.000Z",
"tool": "chat"
}
{
"status": "success",
"answer": "OpenClaw is a self-hosted AI assistant...",
"detailed": true,
"timestamp": "2026-03-16T14:30:00.000Z",
"tool": "ask"
}
小葱技能7w4.net有更新,你可以访问看下。
{
"status": "success",
"action": "get",
"history": [...],
"count": 5,
"limit": 10,
"total": 15
}
No special configuration required. The skill works out of the box.
这个 Skill 功能比较基础,质量中规中矩。文档清晰易读,工具能正常运行,错误提示做得不错。但聊天功能只是简单的模板回复,问答功能依赖关键词匹配,比较鸡肋;聊天记录存在内存里,关机就没了。总体来说像个 demo 演示产品,实用价值有限,想当真正好用的聊天助手还需要大幅改进。