返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
c

chat-ask

Chat and ask functionality for OpenClaw

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
160
下载量
0
收藏
概述
安装方式
版本历史

chat-ask

# Chat/Ask Skill A simple skill for handling chat conversations and Q&A with OpenClaw. ## Description This skill provides tools for: - Chat conversations with OpenClaw - Asking questions and getting answers - Managing chat history - Simple conversation analysis ## Tools ### chat Start or continue a chat conversation. **Parameters:** - `message` (string): The message to send in chat - `context` (string, optional): Additional context for the conversation **Example:** ```json { "message": "Hello, how are you?", "context": "Just checking in" } ``` ### ask Ask a question to OpenClaw. **Parameters:** - `question` (string): The question to ask - `detailed` (boolean, optional): Whether to provide a detailed answer (default: false) **Example:** ```json { "question": "What is the weather like?", "detailed": true } ``` ### chat-history Manage chat history. **Parameters:** - `action` (string): Action to perform - 'get', 'clear', or 'summary' - `limit` (number, optional): Number of messages to retrieve (default: 10) **Example:** ```json { "action": "get", "limit": 5 } ``` ## Usage 1. **Start a chat:** ``` Use the chat tool to start a conversation ``` 2. **Ask questions:** ``` Use the ask tool for specific questions ``` 3. **Manage history:** ``` Use chat-history to review or clear conversations ``` ## How to Call Tools ### chat tool ```bash python3 scripts/chat_tool.py '<message>' '[context]' ``` **Example:** ```bash python3 scripts/chat_tool.py 'Hello, how are you?' 'Just checking in' ``` ### ask tool ```bash python3 scripts/ask_tool.py '<question>' [detailed] ``` **Example:** ```bash python3 scripts/ask_tool.py 'What is OpenClaw?' true ``` ### chat_history tool ```bash python3 scripts/chat_history_tool.py '<action>' [limit] ``` **Examples:** ```bash # 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' ``` ## Response Format All tools return JSON with: - `status`: "success" or "error" - `timestamp`: ISO format timestamp - `tool`: Tool name that was called - Additional tool-specific fields ### chat response ```json { "status": "success", "response": "I received your message...", "timestamp": "2026-03-16T14:30:00.000Z", "tool": "chat" } ``` ### ask response ```json { "status": "success", "answer": "OpenClaw is a self-hosted AI assistant...", "detailed": true, "timestamp": "2026-03-16T14:30:00.000Z", "tool": "ask" } ``` ### chat_history response ```json { "status": "success", "action": "get", "history": [...], "count": 5, "limit": 10, "total": 15 } ``` ## Configuration No special configuration required. The skill works out of the box. ## Notes - Chat history is stored in memory during the session - For persistent storage, consider integrating with a database - The skill is designed for simple conversational interactions

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 chat-ask-1776375963 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 chat-ask-1776375963 技能

通过命令行安装

skillhub install chat-ask-1776375963

下载 Zip 包

⬇ 下载 chat-ask v1.0.0

文件大小: 6.3 KB | 发布时间: 2026-4-17 14:18

v1.0.0 最新 2026-4-17 14:18
Initial release of chat-ask skill.

- Provides tools for chat conversations, Q&A, and chat history management for OpenClaw.
- Supports starting/continuing chats, asking questions (with optional detailed answers), and managing chat history (get, clear, summary).
- Each tool returns a structured JSON response indicating status and results.
- Designed for simple, out-of-the-box conversational functionality with no special configuration needed.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部