with one click
deepwiki
通过 DeepWiki 查询任意 GitHub 仓库的文档、架构分析和 AI 问答。适用于理解库的用法、分析开源项目结构。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
通过 DeepWiki 查询任意 GitHub 仓库的文档、架构分析和 AI 问答。适用于理解库的用法、分析开源项目结构。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | deepwiki |
| description | 通过 DeepWiki 查询任意 GitHub 仓库的文档、架构分析和 AI 问答。适用于理解库的用法、分析开源项目结构。 |
| trigger | deepwiki|github docs|how does|look up docs|analyze repo|分析仓库|查文档|github 仓库|代码分析|开源项目 |
通过 DeepWiki 查询 GitHub 公开仓库的文档,支持目录浏览、全文获取和 AI 问答。需要 Node.js 已安装。
-yagent 的 shell 是非交互子进程。npx <包> 首次运行会交互式询问「Ok to proceed? (y)」安装确认,
非交互环境下这个提示会一直挂住直到超时——这是"deepwiki 跑不通"的根因。
所有命令一律用 npx -y @seflless/deepwiki ...(-y 跳过安装确认),再加 -q 去掉进度动画。
ask/wiki 可能要十几秒到几十秒,给 shell 工具留足超时(如 180s)。
| 命令 | 用法 | 说明 |
|---|---|---|
toc | npx -y @seflless/deepwiki toc <owner/repo> -q | 获取文档目录结构 |
wiki | npx -y @seflless/deepwiki wiki <owner/repo> -q | 获取完整文档 |
ask | npx -y @seflless/deepwiki ask <owner/repo> "<question>" -q | AI 问答 |
ask | npx -y @seflless/deepwiki ask <repo1> <repo2> "<question>" -q | 跨仓库问答(最多 10 个) |
| 参数 | 作用 |
|---|---|
-y(给 npx) | 跳过 npx 首次安装确认,非交互环境必须带 |
--json | 输出 JSON 格式(适合管道处理) |
-q, --quiet | 不显示进度动画 |
# 了解库的结构
npx -y @seflless/deepwiki toc facebook/react -q
# 获取完整文档保存到文件(wiki 输出很长,务必重定向到文件再 file_read,避免 shell 输出截断)
npx -y @seflless/deepwiki wiki oven-sh/bun --json -q > /tmp/bun-docs.json
# 问具体问题
npx -y @seflless/deepwiki ask anthropics/claude-code "How does the tool permission system work?" -q
# 跨项目问题
npx -y @seflless/deepwiki ask facebook/react vercel/next.js "How do server components work?" -q
toc 了解文档结构ask 问具体问题(比 wiki 快,token 消耗少)wiki --json -q > /tmp/xxx.json 保存到文件再 file_read(wiki 全文常超 shell 输出上限,直接打印会被截断)消息渠道接入配置:飞书 WebSocket 长连接配置与使用说明。未来支持微信、Telegram 等渠道。
飞书云文档(Docx / Wiki 文档):读取和编辑飞书文档内容。当用户给出文档 URL 或 token,或需要查看、创建、编辑文档、插入或下载文档图片附件时使用。文档中嵌入的电子表格、多维表格、画板,先用本 skill 提取 token 再切到对应 skill。当用户给出 doubao.com 的 /docx/ 或 /wiki/ URL/token 时,也应直接使用本 skill;路由依据是 URL 路径模式和 token,而不是域名。不负责文档评论管理,也不负责表格或 Base 的数据操作。
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件(支持大文件分片下载)、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。
Use when first setting up lark-cli, running auth login, switching user/bot identity (--as), handling permission denied or scope errors, needing to update lark-cli, or seeing _notice in JSON output.
微信读书助手 — 搜索书籍、管理书架、查看笔记划线、阅读统计、发现推荐好书。
对代码变更做审查:识别 bug、安全漏洞、性能问题。P0 必须修复写评论,P1 建议性评论,P2 只在总结里一句带过。