name: chat-ask description: Chat and ask functionality for OpenClaw emoji: 💬 author: OpenClaw User version: 1.0.0 license: MIT requires: bins: - python3 tools: - name: chat description: Start or continue a chat conversation parameters: type: object properties: message: type: string description: The message to send in chat context: type: string description: Additional context for the conversation optional: true required: [message] - name: ask description: Ask a question to OpenClaw parameters: type: object properties: question: type: string description: The question to ask detailed: type: boolean description: Whether to provide a detailed answer optional: true default: false required: [question] - name: chat_history description: Manage chat history parameters: type: object properties: action: type: string description: Action to perform - 'get', 'clear', or 'summary' enum: [get, clear, summary] default: get limit: type: number description: Number of messages to retrieve optional: true default: 10 required: [action]
A simple skill for handling chat conversations and Q&A with OpenClaw.
This skill provides tools for: - Chat conversations with OpenClaw - Asking questions and getting answers - Managing chat history - Simple conversation analysis
Start or continue a chat conversation.
Parameters:
- message (string): The message to send in chat
- context (string, optional): Additional context for the conversation
Example:
{
"message": "Hello, how are you?",
"context": "Just checking in"
}
Ask a question to OpenClaw.
Parameters:
- question (string): The question to ask
- detailed (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 timestamp
- tool: Tool name that was called
- Additional tool-specific fields
{
"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"
}
{
"status": "success",
"action": "get",
"history": [...],
"count": 5,
"limit": 10,
"total": 15
}
No special configuration required. The skill works out of the box.
發現更多技能外掛,請訪問7w4.net。
這個 Skill 功能比較基礎,質量中規中矩。文件清晰易讀,工具能正常執行,錯誤提示做得不錯。但聊天功能只是簡單的模板回覆,問答功能依賴關鍵詞匹配,比較雞肋;聊天記錄存在記憶體裡,關機就沒了。總體來說像個 demo 演示產品,實用價值有限,想當真正好用的聊天助手還需要大幅改進。