← 返回
开发者工具 中文

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...
扫描并获取最新的编码任务文档。用于构建集成(如OpenRouter)或实现第三方API,或在需要...
runeweaverstudios
开发者工具 clawhub v1.0.0 1 版本 99826.7 Key: 无需
★ 0
Stars
📥 576
下载
💾 6
安装
1
版本
#latest

概述

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:

PurposeURL
-------------
Quickstart & SDKhttps://openrouter.ai/docs
API reference (request/response, params)https://openrouter.ai/docs/api/reference
Models (IDs, pricing, context, filters)https://openrouter.ai/models
OpenAPI spechttps://openrouter.ai/openapi.json

Integration checklist (OpenRouter):

  • Base URL: https://openrouter.ai/api/v1
  • Chat completions: POST .../chat/completions
  • Auth header: Authorization: Bearer
  • 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://.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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 03:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,347
ai-intelligence

Agent Swarm

runeweaverstudios
必须使用 OpenRouter。将任务路由至合适模型,并始终通过 sessions_spawn 委派工作。
★ 4 📥 3,613
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 671 📥 324,378