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

docs-bot

Scans and fetches the most up-to-date documentation for coding tasks. Use when building integrations (e.g. OpenRouter), implementing third-party APIs, or when the user asks for current docs, model lists, or API reference for a service.

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

docs-bot

# Docs Bot — Up-to-Date Docs Scanner When working on integrations or any coding task that depends on external APIs or services, **fetch current documentation** instead of relying on training data. Docs and model lists change frequently. ## When to Apply - Building or debugging **OpenRouter** (or similar) integrations - Implementing or updating **third-party API** usage - User asks for "latest docs", "current API", "model list", or "official reference" - Choosing models, parameters, or SDK usage for a service ## Scan Workflow 1. **Identify the canonical doc base** for the task (e.g. `https://openrouter.ai/docs` for OpenRouter). 2. **Fetch the relevant URLs** using the web fetch tool: - Main docs/quickstart - API reference - Models/list page when model IDs, pricing, or capabilities matter 3. **Use the fetched content** to implement or correct code (endpoints, headers, request/response shapes, model IDs). 4. **Cite the URLs** you used so the user can verify or read more. ## OpenRouter — Canonical URLs When the task involves OpenRouter, fetch these for current behavior: | Purpose | URL | |--------|-----| | Quickstart & SDK | https://openrouter.ai/docs | | API reference (request/response, params) | https://openrouter.ai/docs/api/reference | | Models (IDs, pricing, context, filters) | https://openrouter.ai/models | | OpenAPI spec | https://openrouter.ai/openapi.json | **Integration checklist (OpenRouter):** - Base URL: `https://openrouter.ai/api/v1` - Chat completions: `POST .../chat/completions` - Auth header: `Authorization: Bearer <OPENROUTER_API_KEY>` - Optional headers: `HTTP-Referer`, `X-Title` for attribution - Model IDs include provider prefix (e.g. `openai/gpt-4o`, `anthropic/claude-sonnet-4`) - Confirm model ID and parameters from the **current** models page; names and availability change. ## Other Services For other APIs or SDKs: 1. Find the official docs root (e.g. `https://<service>.com/docs` or `/developer`). 2. Fetch quickstart + API reference (and models/catalog if applicable). 3. Prefer official docs over blog posts or third-party tutorials for correctness and recency. ## Output - Base implementation on **fetched** docs, not memory. - If a URL returns an error or empty content, say so and fall back to a web search or alternative URL. - Keep answers concise; link to the exact pages used for details.

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 docs-bot-1776294277 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 docs-bot-1776294277 技能

通过命令行安装

skillhub install docs-bot-1776294277

下载

⬇ 下载 docs-bot v1.0.0(免费)

文件大小: 1.86 KB | 发布时间: 2026-4-16 17:22

v1.0.0 最新 2026-4-16 17:22
- Initial release of Docs Bot.
- Scans and fetches the most up-to-date documentation for coding tasks, including integrations and third-party APIs.
- Provides a workflow for locating and using current official docs, model lists, and API references.
- Special support and guidelines for OpenRouter integration, including canonical URLs and implementation checklist.
- Ensures responses are based on fetched content, with relevant URLs cited for user reference.

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

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

p2p_official_large
返回顶部