← Back to Skills Marketplace
autoxj

DeepWiki Ask

by do_while_true · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
355
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install deepwiki-ask
Description
通过 DeepWiki MCP 查询仓库信息。支持提问、获取结构、获取文档内容。Query a repository via DeepWiki MCP: ask questions, get structure, get documentation. 用户提供 owner/repo 时触发。
README (SKILL.md)

DeepWiki 仓库查询

通过 DeepWiki MCP 对指定仓库发起查询,支持三种操作模式:提问、获取仓库结构、获取文档内容。

触发场景

  • 用户询问某仓库的作用、结构或功能
  • 用户提供仓库名(owner/repo)并带有问题
  • 用户需要了解仓库的整体结构
  • 用户需要查看仓库的详细文档内容

参数

参数 必填 说明
repo 仓库名 owner/repo
question 要问的问题(提问模式)
structure 获取文档结构(结构模式)
contents 获取文档内容(内容模式)
topic 指定文档主题(与 contents 一起使用)

执行流程

提问模式

  1. 从用户消息提取 repo(owner/repo)和 question
  2. 执行(必须加 --json):
    python \x3CSKILL_ROOT>/deepwiki_ask.py -r \x3Cowner/repo> -q "\x3Cquestion>" --json
    
    Windows 下中文问题若编码异常,可把问题写入 UTF-8 文件后:-q @\x3CSKILL_ROOT>/temp_q.txt

结构模式

  1. 从用户消息提取 repo(owner/repo)。
  2. 执行(必须加 --json):
    python \x3CSKILL_ROOT>/deepwiki_ask.py -r \x3Cowner/repo> --structure --json
    

内容模式

  1. 从用户消息提取 repo(owner/repo)和可选的 topic

  2. 执行(必须加 --json):

    python \x3CSKILL_ROOT>/deepwiki_ask.py -r \x3Cowner/repo> --contents --json
    python \x3CSKILL_ROOT>/deepwiki_ask.py -r \x3Cowner/repo> --contents --topic "\x3Ctopic_name>" --json
    
  3. 解析 stdout JSON:status == "success" 则根据操作模式展示相应结果;status == "error" 则提示 message

  4. 请求可能需 30–120 秒,需等待。

输出示例

提问模式

{"status": "success", "repo": "owner/repo", "mode": "question", "question": "...", "result": "..."}

结构模式

{"status": "success", "repo": "owner/repo", "mode": "structure", "result": "..."}

内容模式

{"status": "success", "repo": "owner/repo", "mode": "contents", "result": "..."}

错误响应

{"status": "error", "repo": "owner/repo", "message": "..."}

配置

config.jsonrequest_timeout_seconds(10–600,默认 120)、request_max_retries(0–10,默认 3)。

错误处理

  • 仓库格式错误:提示 owner/repo 格式
  • 超时/网络错误:脚本重试后返回 status: "error",需要提示用户检查网络

历史版本

v1.1.0 (2026-03-14)

  • 📋 支持获取文档结构(--structure)
  • 📄 支持获取文档内容(--contents)
  • 📄 支持指定文档主题(--topic)
  • 🔄 重构为 MCP 客户端类,移除 requests 依赖,改用标准库 urllib

v1.0.0 (2026-03-10)

  • 🎉 初始版本发布
  • 📖 支持 owner/repo + question 单次问答
Usage Guidance
This skill appears to do what it says: it runs a local Python client that sends the user-supplied owner/repo and question to DeepWiki's MCP endpoint (https://mcp.deepwiki.com/mcp) and returns results. Before installing, consider: 1) Privacy — repository names and any question text will be transmitted to an external service; do not submit secrets or private data. 2) Trust the endpoint — verify the DeepWiki domain and organization if you need to trust data handling. 3) Local file writes — the script may create or update config.json in the skill folder. 4) Long network calls — requests can take up to 30–120s per SKILL.md. 5) Incomplete source provided here — the file contents in the review were truncated, so review the full deepwiki_ask.py source locally to confirm there are no additional network endpoints, credential harvesting, telemetry, or unexpected behavior before enabling autonomous invocation. If you want higher assurance, run the script in a sandbox and inspect outbound network traffic.
Capability Analysis
Type: OpenClaw Skill Name: deepwiki-ask Version: 1.1.0 The skill bundle provides a legitimate interface for querying repository documentation via the DeepWiki MCP service. The Python script (deepwiki_ask.py) implements a standard MCP client using only the Python standard library (urllib) to communicate with https://mcp.deepwiki.com/mcp, and the instructions in SKILL.md are clearly aligned with the stated purpose of repository analysis without any signs of malicious intent or prompt injection.
Capability Assessment
Purpose & Capability
Name/description describe querying DeepWiki MCP for repository info; the code implements an MCP JSON-RPC client that POSTs queries to https://mcp.deepwiki.com/mcp and exposes methods for question/structure/contents. No unrelated binaries, env vars, or services are requested.
Instruction Scope
SKILL.md instructs the agent to run the included Python script with --json and parse stdout. That matches the script's intended CLI usage. The runtime behavior includes network calls to an external DeepWiki MCP endpoint using the repo and question provided by the user — expected for this skill, but it does transmit user inputs outside the host.
Install Mechanism
No install spec; this is instruction + script. No downloads, package installs, or archive extraction are present in the manifest.
Credentials
The skill requests no environment variables or credentials. It reads/writes a local config.json in its own directory (creates default if missing). All accessed configuration is proportional to the described functionality.
Persistence & Privilege
always is false, the skill does not request elevated or cross-skill configuration. It may create a local config.json (expected) but does not modify other skills or system-wide settings according to the visible files.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install deepwiki-ask
  3. After installation, invoke the skill by name or use /deepwiki-ask
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Expanded to support repository structure and documentation queries: - Added structure mode: retrieve repository documentation structure with --structure. - Added contents mode: retrieve detailed documentation content with --contents, supports specifying a topic. - Updated parameters and output formats to handle multiple query modes. - Refined description to clarify function and use scenarios. - Maintained previous Q&A functionality; improved error handling instructions.
v1.0.0
Initial release of deepwiki-ask - Query any GitHub repository with a single question using DeepWiki MCP. - Triggered when a user provides an owner/repo and a question. - Does not store question history; each request is independent. - Supports error handling for invalid repo format and connection issues. - Customizable timeout and retry settings via config.json. - Response includes either an answer or an error message.
Metadata
Slug deepwiki-ask
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is DeepWiki Ask?

通过 DeepWiki MCP 查询仓库信息。支持提问、获取结构、获取文档内容。Query a repository via DeepWiki MCP: ask questions, get structure, get documentation. 用户提供 owner/repo 时触发。 It is an AI Agent Skill for Claude Code / OpenClaw, with 355 downloads so far.

How do I install DeepWiki Ask?

Run "/install deepwiki-ask" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is DeepWiki Ask free?

Yes, DeepWiki Ask is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does DeepWiki Ask support?

DeepWiki Ask is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created DeepWiki Ask?

It is built and maintained by do_while_true (@autoxj); the current version is v1.1.0.

💬 Comments