Back to skills
SKILL.md
Deepwiki Ask
ASecurity通过 DeepWiki MCP 对仓库单次提问。Query a repository with a single question via DeepWiki. 用户提供 owner/repo 和问题时触发。
- 33 stars
- 0 votes
- 0 copies
- 1 view
- Added September 5, 2026
Works with
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add dvcrn/openclaw-skills-marketplace --skill deepwiki-ask --agent claude-codeAre you the author of Deepwiki Ask?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dvcrn-deepwiki-ask)---
name: deepwiki-ask
description: "通过 DeepWiki MCP 对仓库单次提问。Query a repository with a single question via DeepWiki. 用户提供 owner/repo 和问题时触发。"
---
# DeepWiki 仓库问答(单次提问)
通过 DeepWiki MCP 对指定仓库发起一次问答,不保存历史。
## 触发场景
- 用户询问某仓库的作用、结构或功能
- 用户提供仓库名(owner/repo)并带有问题
## 参数
| 参数 | 必填 | 说明 |
|--------|------|----------------|
| repo | 是 | 仓库名 owner/repo |
| question | 是 | 要问的问题 |
## Agent 执行流程
1. 从用户消息提取 **repo**(owner/repo)和 **question**。
2. 执行(必须加 `--json`):
```
python <SKILL_ROOT>/deepwiki_ask.py -r <owner/repo> -q "<question>" --json
```
Windows 下中文问题若编码异常,可把问题写入 UTF-8 文件后:`-q @<SKILL_ROOT>/temp_q.txt`
3. 解析 stdout JSON:`status == "success"` 则展示 `answer`;`status == "error"` 则提示 `message`。
4. 请求可能需 30–120 秒,需等待。
输出示例:
```json
{"status": "success", "repo": "owner/repo", "question": "...", "answer": "..."}
{"status": "error", "repo": "owner/repo", "message": "..."}
```
## 配置
`config.json`:`request_timeout_seconds`(10–600,默认 120)、`request_max_retries`(0–10,默认 3)。
## 错误处理
- 仓库格式错误:提示 owner/repo 格式
- 超时/网络错误:脚本重试后返回 `status: "error"`,Agent 提示用户检查网络
Files in this skill
- .gitignore
- SKILL.md
- config.json
- deepwiki_ask.py
Attribution
Comments
Loading comments…