← 返回 Skills 市场
austindixson

Docs Bot

作者 austindixson · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
341
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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 whe...
使用说明 (SKILL.md)

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 \x3COPENROUTER_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://\x3Cservice>.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.
安全使用建议
This skill is essentially a runtime instruction for fetching and citing official docs — the content and scope are appropriate. Before enabling it, confirm how your agent's web fetch tool handles authentication and cookies: ensure it won't automatically attach unrelated tokens or cookies to fetched URLs. If you plan to fetch pages that require an API key, only provide limited-scope keys and avoid storing long-lived secrets in the agent. Finally, verify cited URLs manually when using fetched docs for production-sensitive code.
功能分析
Type: OpenClaw Skill Name: docs-bot Version: 1.0.0 The skill bundle is designed to fetch up-to-date documentation for coding tasks, which is a legitimate and useful purpose. The `SKILL.md` instructions guide the AI agent to identify and fetch content from official documentation URLs (e.g., `openrouter.ai/docs`). While it mentions using an `OPENROUTER_API_KEY` for authentication, this is in the context of legitimate API usage for the stated purpose, not for exfiltration or unauthorized access. There is no evidence of prompt injection with malicious intent, data exfiltration, unauthorized execution, persistence mechanisms, or obfuscation. All instructions align with the skill's declared function.
能力评估
Purpose & Capability
Name/description (fetch current docs for coding tasks) matches the SKILL.md workflow: identify canonical doc roots, fetch quickstart/API reference/models, and use/cite them. No unrelated binaries, installs, or secrets are requested.
Instruction Scope
Instructions correctly limit actions to fetching and citing official docs. The guide references typical auth usage (Authorization: Bearer <OPENROUTER_API_KEY>) as an integration example; it does not instruct the agent to read arbitrary local files or to exfiltrate data. Consider that network fetches might inadvertently include credentials (cookies/headers) depending on the runtime web fetch tool.
Install Mechanism
No install spec or code files — lowest-risk instruction-only skill. Nothing is written to disk or downloaded by the skill itself.
Credentials
The skill declares no required environment variables or credentials, which is proportionate. It does mention an example header value (OPENROUTER_API_KEY) for OpenRouter integrations; this is informational but could be construed as implying a credential may be used when actually integrating.
Persistence & Privilege
always is false and model invocation is normal; the skill requests no persistent presence or system-wide changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install docs-bot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /docs-bot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- 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.
元数据
Slug docs-bot
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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 whe... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 341 次。

如何安装 Docs Bot?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install docs-bot」即可一键安装,无需额外配置。

Docs Bot 是免费的吗?

是的,Docs Bot 完全免费(开源免费),可自由下载、安装和使用。

Docs Bot 支持哪些平台?

Docs Bot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Docs Bot?

由 austindixson(@austindixson)开发并维护,当前版本 v1.0.0。

💬 留言讨论