Search

PythonReactSEOPDF
OpenClaw

deepwiki-ask

通过 DeepWiki MCP 对仓库单次提问。Query a repository with a single question via DeepWiki. 用户提供 owner/repo 和问题时触发。

autoxj0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install autoxj/deepwiki-ask

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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 秒,需等待。

输出示例:

{"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 提示用户检查网络

Source information

Source
github
Repository
openclaw/skills
Path
skills/autoxj/deepwiki-ask
Version
—
Commit
7532ef49c3e4306eb047378f3f464849c9a9b578
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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 提示用户检查网络

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.