Explore public GitHub repositories via DeepWiki AI-generated documentation. Use for understanding architecture, patterns, design decisions, and code organization of popular open-source projects. Use when user asks "how does X repo work", "explain architecture of Y", "what patterns does Z use", "explore repo", "deepwiki", or needs codebase-level understanding beyond API docs.
From dev-toolsnpx claudepluginhub alexei-led/cc-thingz --plugin dev-toolsThis skill is limited to using the following tools:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
DeepWiki provides AI-generated wiki documentation for 30,000+ popular public GitHub repositories — architecture overviews, design patterns, component relationships, and semantic Q&A powered by Cognition's Devin.
| Need | Tool | Why |
|---|---|---|
| Repo architecture, design patterns, how components connect | DeepWiki | AI-generated wiki from full codebase analysis |
| API references, code examples, version-specific docs | Context7 | Sourced from official library documentation |
| "How does this repo work?" | DeepWiki | Codebase-level understanding |
| "How do I use this library?" | Context7 | Usage-level documentation |
| Cross-repo comparison | DeepWiki (ask_question with multiple repos) | Accepts up to 10 repos |
Call mcp__deepwiki__read_wiki_structure with repoName in owner/repo format to get the topic list:
mcp__deepwiki__read_wiki_structure({ "repoName": "langchain-ai/langchain" })
Call mcp__deepwiki__read_wiki_contents for detailed documentation on the repo:
mcp__deepwiki__read_wiki_contents({ "repoName": "langchain-ai/langchain" })
Call mcp__deepwiki__ask_question for semantic Q&A about specific aspects:
mcp__deepwiki__ask_question({
"repoName": "langchain-ai/langchain",
"question": "How does the retrieval chain pipeline work?"
})
For cross-repo questions, pass an array (max 10):
mcp__deepwiki__ask_question({
"repoName": ["langchain-ai/langchain", "run-llama/llama_index"],
"question": "How do these frameworks handle document chunking differently?"
})
<!-- CC-ONLY: end -->
Start broad, then narrow:
read_wiki_structure — scan available topicsread_wiki_contents — read the full wiki for an overviewask_question — drill into specificsFor architecture understanding:
For implementation reference:
For cross-repo comparison:
ask_question# Understand a framework's architecture
read_wiki_structure: "vercel/next.js"
ask_question: "vercel/next.js" — "How does the app router handle server components?"
# Compare two similar projects
ask_question: ["expressjs/express", "fastify/fastify"] — "How do these handle middleware differently?"
# Explore a tool's internals
read_wiki_structure: "hashicorp/terraform"
ask_question: "hashicorp/terraform" — "How does the provider plugin system work?"
# Understand patterns in a Go project
ask_question: "kubernetes/kubernetes" — "How is the controller pattern implemented?"
DeepWiki indexes 30,000+ popular public repos. If a repo is not indexed:
DeepWiki returns empty or error?
├── Check repo name format (must be "owner/repo")
├── Try the canonical repo name (not a fork)
├── Still not indexed?
│ ├── Any public repo → gh CLI (works for all GitHub repos)
│ ├── Popular library → Try Context7 for docs instead
│ ├── Open-source repo → Clone + local exploration
│ └── Niche/private → Perplexity for general info
GitHub CLI — works for any public repo, no indexing needed:
# Quick overview: description, stars, language, topics
gh repo view owner/repo
# Full file tree (find key directories, config files)
gh api repos/owner/repo/git/trees/main?recursive=1 --jq '.tree[].path'
# Read specific files (README, go.mod, package.json, Makefile)
gh api repos/owner/repo/contents/README.md --jq '.content' | base64 -d
# Search for patterns across the repo
gh search code "func main" --repo owner/repo --limit 20
# Search for repos by topic, language, or description
gh search repos "kubernetes operator" --language go --sort stars
# Recent activity: issues, PRs, releases
gh release list --repo owner/repo --limit 5
gh issue list --repo owner/repo --state open --sort comments --limit 10
Best for: file tree exploration, finding entry points, reading key files,
searching code patterns, checking recent activity. Combine multiple gh calls
to build a mental model when DeepWiki is unavailable.
Context7 — for library API documentation:
<!-- CC-ONLY: begin -->mcp__context7__resolve-library-id({ "libraryName": "fastify" })
mcp__context7__query-docs({ "context7CompatibleLibraryID": "/fastify/fastify", "topic": "middleware" })
<!-- CC-ONLY: end -->
Perplexity — for repos not in DeepWiki or Context7:
<!-- CC-ONLY: begin -->mcp__perplexity-ask__perplexity_ask({
"messages": [{ "role": "user", "content": "Explain the architecture of <owner/repo>" }]
})
<!-- CC-ONLY: end -->
Direct exploration — clone and read:
git clone --depth=1 <repo-url>
# Use smart-explore skill for token-efficient AST navigation
DeepWiki and Context7 are complementary. A typical research flow:
Do not use DeepWiki when: