DeepWiki Skill
Query AI-generated documentation for any public GitHub repository via DeepWiki. Free, no authentication required.
Available Scripts
All scripts are run from this skill's directory:
bunx tsx scripts/<script>.ts [args]
Repository identifiers use the format owner/repo (e.g., facebook/react, golang/go).
Get Wiki Structure
bunx tsx scripts/deepwiki-structure.ts <owner/repo>
Returns the table of contents / topic tree for a repository's documentation.
Use when: You need to discover what documentation exists before diving into specifics.
Examples:
bunx tsx scripts/deepwiki-structure.ts facebook/reactbunx tsx scripts/deepwiki-structure.ts vercel/next.js
Read Full Wiki
bunx tsx scripts/deepwiki-read.ts <owner/repo>
Returns the complete generated documentation for a repository. Output is large (hundreds of KB for major repos).
Use when: You need comprehensive documentation about the entire codebase. Prefer deepwiki-ask.ts for targeted questions.
Examples:
bunx tsx scripts/deepwiki-read.ts facebook/reactbunx tsx scripts/deepwiki-read.ts expressjs/express
Ask a Question
bunx tsx scripts/deepwiki-ask.ts <owner/repo> [owner/repo ...] "<question>"
Ask a natural-language question about one or more repositories (max 10) and get an AI-powered, context-grounded answer.
Use when: You have a specific question and want a direct answer rather than browsing docs. This is the most useful tool for targeted queries.
Examples:
bunx tsx scripts/deepwiki-ask.ts expressjs/express "How does middleware error handling work?"bunx tsx scripts/deepwiki-ask.ts facebook/react "What is the reconciliation algorithm?"bunx tsx scripts/deepwiki-ask.ts facebook/react vercel/next.js "How do React Server Components work across these projects?"
Typical Workflow
For targeted questions — use deepwiki-ask.ts directly. This is the fastest path.
For exploring unfamiliar repos:
- Run
deepwiki-structure.tsto see available topics - Use
deepwiki-ask.tswith specific questions about topics of interest - Use
deepwiki-read.tsonly when you need the full documentation dump
Limitations
- Public repositories only — Private repos require a Devin account and the Devin MCP server
- Generated documentation — Content is AI-generated from the repository source; it may not cover every detail
- GitHub only — Does not support GitLab, Bitbucket, or other hosts