DeepWiki Skill

Use this skill to query GitHub repository documentation and ask questions about codebases.

Prerequisites

Note: Repositories must be indexed on DeepWiki first. Visit https://deepwiki.com to index a repository.

Install uxc

Choose one of the following methods:

Homebrew (macOS/Linux):

brew tap holon-run/homebrew-tap
brew install uxc

Install Script (macOS/Linux, review before running):

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:

cargo install uxc

Core Workflow

  1. Use fixed link command by default:

    • command -v deepwiki-mcp-cli
    • If missing, create it: uxc link deepwiki-mcp-cli mcp.deepwiki.com/mcp
    • deepwiki-mcp-cli -h
    • If command conflict is detected and cannot be safely reused, stop and ask skill maintainers to pick a different fixed command name.
  2. Ask a question about a repository:

    • deepwiki-mcp-cli ask_question repoName=owner/repo question='your question'
  3. Read wiki structure:

    • deepwiki-mcp-cli read_wiki_structure repoName=owner/repo
  4. Read wiki contents:

    • deepwiki-mcp-cli read_wiki_contents repoName=owner/repo

Available Tools

Usage Examples

Ask about a codebase

deepwiki-mcp-cli ask_question repoName=facebook/react question='How does useState work?'

Explore repository structure

deepwiki-mcp-cli read_wiki_structure '{"repoName":"facebook/react"}'

Read documentation

deepwiki-mcp-cli read_wiki_contents repoName=facebook/react

Output Parsing

The response is an MCP JSON envelope. Extract the content from .data.content[].text.

Notes

Reference Files