Agent skill
deep-wiki
Access AI-generated documentation and insights for GitHub repositories via DeepWiki. This skill should be used when exploring unfamiliar codebases, understanding repository architecture, finding implementation patterns, or asking questions about how a GitHub project works. Supports any public GitHub repository.
Install this agent skill to your Project
npx add-skill https://github.com/huynguyen03dev/opencode-setup/tree/main/skills/deep-wiki
SKILL.md
DeepWiki
Base directory for this skill: /home/hazeruno/.config/opencode/skills/deep-wiki
DeepWiki provides AI-generated documentation and Q&A for GitHub repositories. Use it to quickly understand codebases, explore architecture, and get answers about how projects work.
When to Use
- Exploring an unfamiliar GitHub repository
- Understanding project architecture and structure
- Finding how specific features are implemented
- Getting quick answers about a codebase without reading all source code
- Learning about dependencies, patterns, and design decisions
Quick Start
Run the CLI script with bun (use absolute path):
bun /home/hazeruno/.config/opencode/skills/deep-wiki/scripts/deepwiki.ts <command> [options]
Available Commands
read-wiki-structure
Get a list of documentation topics available for a repository.
bun /home/hazeruno/.config/opencode/skills/deep-wiki/scripts/deepwiki.ts read-wiki-structure --repo-name "facebook/react"
read-wiki-contents
View the full AI-generated documentation for a repository.
bun /home/hazeruno/.config/opencode/skills/deep-wiki/scripts/deepwiki.ts read-wiki-contents --repo-name "vercel/next.js"
ask-question
Ask any question about a repository and get an AI-generated answer.
bun /home/hazeruno/.config/opencode/skills/deep-wiki/scripts/deepwiki.ts ask-question \
--repo-name "prisma/prisma" --question "How does the query engine work?"
Global Options
-t, --timeout <ms>: Call timeout (default: 30000)-o, --output <format>: Output format:text|markdown|json|raw
Requirements
- Bun runtime
mcporterpackage (embedded in script)
References
See references/api_reference.md for detailed API documentation.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
context7
Fetch up-to-date documentation and code examples for any library or framework. Use when needing API references, code examples, library documentation, or framework guides. Supports React, Next.js, MongoDB, Supabase, and thousands of other libraries.
github
Interact with GitHub repositories, issues, pull requests, and code via the GitHub MCP server. This skill should be used when managing repositories, creating/updating files, working with issues and PRs, searching code/repos/users, creating branches, and performing code reviews. Supports all major GitHub API operations.
code-review
Use when receiving code review feedback (especially if unclear or technically questionable), when completing tasks or major features requiring review before proceeding, or before making any completion/success claims. Covers three practices - receiving feedback with technical rigor over performative agreement, requesting reviews via code-reviewer subagent, and verification gates requiring evidence before any status claims. Essential for subagent-driven development, pull requests, and preventing false completion claims.
gh-grep
Search real-world code examples across millions of GitHub repositories using grep.app. This skill should be used when looking for implementation patterns, API usage examples, library integration patterns, or production code references. Supports literal code search, regex patterns, and filtering by language/repo/path.
gkg
Global Knowledge Graph for codebase analysis. This skill should be used when searching for code definitions (functions, classes, methods), finding references to symbols, understanding code structure, analyzing import usage, generating repository maps, or performing impact analysis before refactoring. Supports TypeScript, JavaScript, Python, Java, and more.
chrome-devtools
Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.
Didn't find tool you were looking for?