Skip to content
Back to skills

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
developmentpython

Works with

  • mcp

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill deepwiki-ask --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deepwiki Ask?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deepwiki Ask
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-deepwiki-ask/badge)](https://www.skillsdirectory.com/skills/dvcrn-deepwiki-ask)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

  • .gitignore19 B
  • SKILL.md1.5 KB
  • config.json65 B
  • deepwiki_ask.py8.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…