返回顶部
z

zsxq-fetch

Use this skill when the user wants OpenClaw to query synced Zhishi Xingqiu content, inspect recent posts, search downloaded documents, summarize updates, or answer questions grounded in the local ZSXQ database.

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

zsxq-fetch

# ZSXQ Fetch Use this skill to query the local OpenClaw ZSXQ database for summarization and grounded Q&A. ## When to use - The user wants summaries of recent ZSXQ posts by time window or by group. - The user asks questions that should be answered from synced ZSXQ posts or downloaded documents. - The user wants to inspect downloaded attachments or search document text. - The user wants to check sync status or manually trigger a sync. ## Preconditions - The API server is running. Check with: ```bash curl http://127.0.0.1:8000/health ``` If it is not running, start it from the project root: ```bash uvicorn app.main:app --host 0.0.0.0 --port 8000 ``` The server automatically syncs all subscribed groups in the background every hour (configurable via `SYNC_INTERVAL_SECONDS`). ## Core workflow 1. **Query the database directly** — do NOT sync before every request. Data is kept fresh by the background auto-sync. 2. Pull only the smallest relevant slice of data. 3. Use `/api/v1/topics`, `/api/v1/documents`, and `/api/v1/search_documents` to answer questions. 4. Summarize with explicit scope: group, time range, or topic. ## When to trigger a manual sync Only trigger a manual sync if: - The user explicitly asks for the "latest" or "most recent" content AND - `/api/v1/sync_status` shows the last sync was more than 1 hour ago. Otherwise, trust the database content. ## Useful endpoints - Check sync status (always check this first for time-sensitive requests): ```bash curl "http://127.0.0.1:8000/api/v1/sync_status" ``` - Trigger a manual sync (only if data is stale): ```bash curl -X POST "http://127.0.0.1:8000/api/v1/trigger_sync" ``` - Read recent topics: ```bash curl "http://127.0.0.1:8000/api/v1/topics?group_id=GROUP_ID&limit=50&offset=0" ``` - List groups: ```bash curl "http://127.0.0.1:8000/api/v1/groups/all" ``` - List downloaded documents: ```bash curl "http://127.0.0.1:8000/api/v1/documents?group_id=GROUP_ID&limit=50" ``` - Search document text: ```bash curl "http://127.0.0.1:8000/api/v1/search_documents?q=KEYWORD&group_id=GROUP_ID" ``` ## Summarization pattern - Pull recent topics for the requested group or across relevant groups. - If documents may contain the answer, search them with keywords from the user question. - Build the answer from retrieved records only. State when the answer is inferred from partial evidence. ## Output guidance - For update summaries, group findings by topic or theme, not by raw post order. - For question answering, cite the specific topic text or document match preview used. - If the database has no relevant records, say so. Only recommend a manual sync if the last sync was more than 1 hour ago.

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 zsxq-fetch-subscription-1776121097 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 zsxq-fetch-subscription-1776121097 技能

通过命令行安装

skillhub install zsxq-fetch-subscription-1776121097

下载 Zip 包

⬇ 下载 zsxq-fetch v1.0.0

文件大小: 2.31 KB | 发布时间: 2026-4-14 13:08

v1.0.0 最新 2026-4-14 13:08
v1.0.0 (2026-03-19)
- 支持知识星球(ZSXQ)话题数据抓取与增量同步
- 支持文档自动导入与存储
- 后台自动同步,可配置同步间隔
- SQLite 本地数据存储
- OpenClaw Skill 集成(含依赖声明)

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

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

p2p_official_large
返回顶部