返回顶部
d

deepwiki-mcp-skillDeepWiki代码问答

Ask questions and read documentation about any GitHub repository using DeepWiki MCP. Use when you need to understand a codebase, find specific APIs, or get context about a repository.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
345
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

deepwiki-mcp-skill

DeepWiki 技能

使用此技能查询 GitHub 仓库文档并询问关于代码库的问题。

前置条件

  • - uxc 已安装并可在 PATH 中使用。
  • 可访问 mcp.deepwiki.com/mcp 网络。

注意:仓库必须先在 DeepWiki 上建立索引。请访问 https://deepwiki.com 为仓库建立索引。

安装 uxc

选择以下方法之一:

Homebrew(macOS/Linux):
bash
brew tap holon-run/homebrew-tap
brew install uxc

安装脚本(macOS/Linux,运行前请检查):
bash
curl -fsSL https://raw.githubusercontent.com/holon-run/uxc/main/scripts/install.sh -o install-uxc.sh
less install-uxc.sh
bash install-uxc.sh

Cargo:
bash
cargo install uxc

核心工作流程

  1. 1. 默认使用固定链接命令:
- command -v deepwiki-mcp-cli - 如果缺失,则创建:uxc link deepwiki-mcp-cli mcp.deepwiki.com/mcp - deepwiki-mcp-cli -h - 如果检测到命令冲突且无法安全重用,请停止并让技能维护者选择不同的固定命令名称。
  1. 2. 询问关于仓库的问题:
- deepwiki-mcp-cli ask_question repoName=owner/repo question=你的问题
  1. 3. 读取 Wiki 结构:
- deepwiki-mcp-cli readwikistructure repoName=owner/repo
  1. 4. 读取 Wiki 内容:
- deepwiki-mcp-cli readwikicontents repoName=owner/repo

可用工具

  • - askquestion:询问关于 GitHub 仓库的任何问题,并获得 AI 驱动的回答
  • readwikistructure:获取仓库的文档主题列表
  • readwiki_contents:查看关于仓库的文档

使用示例

询问代码库

bash
deepwiki-mcp-cli ask_question repoName=facebook/react question=useState 是如何工作的?

探索仓库结构

bash
deepwiki-mcp-cli readwikistructure {repoName:facebook/react}

阅读文档

bash
deepwiki-mcp-cli readwikicontents repoName=facebook/react

输出解析

响应是一个 MCP JSON 信封。从 .data.content[].text 中提取内容。

注意事项

  • - 每个问题最多 10 个仓库
  • 一些热门仓库可能已经建立了索引
  • 响应基于实际代码库
  • deepwiki-mcp-cli <操作> ... 等同于 uxc mcp.deepwiki.com/mcp <操作> ...。
  • 如果链接设置暂时不可用,请直接使用 uxc mcp.deepwiki.com/mcp ... 调用作为备选方案。

参考文件

  • - 工作流程详情:references/usage-patterns.md

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 deepwiki-mcp-skill-1776275843 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 deepwiki-mcp-skill-1776275843 技能

通过命令行安装

skillhub install deepwiki-mcp-skill-1776275843

下载

⬇ 下载 deepwiki-mcp-skill v1.0.0(免费)

文件大小: 4.24 KB | 发布时间: 2026-4-16 18:37

v1.0.0 最新 2026-4-16 18:37
Initial release of deepwiki-mcp-skill.

- Query GitHub repository documentation using DeepWiki MCP.
- Ask natural language questions about codebases, find APIs, or get project context.
- Commands provided for reading wiki structure, wiki contents, and asking questions.
- Requires `uxc` installed and network access to `mcp.deepwiki.com/mcp`.
- Supports up to 10 repositories per question; responses utilize indexed repo content.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部