# Deepwiki Cli

> >

- **Type:** Skill
- **Install:** `agentstack add skill-hamsurang-kit-deepwiki-cli`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hamsurang](https://agentstack.voostack.com/s/hamsurang)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [hamsurang](https://github.com/hamsurang)
- **Source:** https://github.com/hamsurang/kit/tree/main/plugins/deepwiki-cli/skills/deepwiki-cli

## Install

```sh
agentstack add skill-hamsurang-kit-deepwiki-cli
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# deepwiki-cli Skill

deepwiki-cli provides AI-generated wiki documentation for GitHub repositories.
Use the `deepwiki-cli` to query it directly — this keeps only the result text
in Claude's context, avoiding MCP protocol overhead.

## When This Skill Activates

- User references a GitHub repository by name (owner/repo format)
- User asks how a library or framework works
- User needs to understand a codebase they haven't read locally
- User asks architecture or API questions about an open-source project

## How to Use

Run via `Bash` tool:

```bash
# Ask a question about a repository
deepwiki-cli ask  ""

# List wiki topics for a repository
deepwiki-cli structure 

# Read full wiki contents
deepwiki-cli read 
```

## Examples

```bash
deepwiki-cli ask facebook/react "How does the reconciler work?"
deepwiki-cli ask vercel/next.js "What is the App Router architecture?"
deepwiki-cli structure rust-lang/rust
deepwiki-cli read tokio-rs/tokio
```

## Prerequisites

The `deepwiki-cli` binary must be installed:

```bash
cargo install deepwiki-cli
```

If the binary is not found, inform the user to install it first.

## When NOT to Use

- Repository is already cloned locally — use Glob/Grep/Read tools directly
- Repository is private — deepwiki-cli only works with public repositories
- User is asking about their own code in the current working directory

## Error Handling

If `deepwiki-cli` is not installed or a command fails:

1. Check if the binary exists: `which deepwiki-cli`
2. If not found, tell the user to install: `cargo install deepwiki-cli`
3. If the repository is not found, verify the owner/repo format
4. If the command times out, try `deepwiki-cli structure` first (lighter query), then ask specific questions
5. As a last resort, fall back to web search for the repository's documentation

## Why This Saves Tokens

Using the CLI via `Bash` outputs only the result text to Claude's context.
Connecting deepwiki-cli as an MCP server adds initialize handshake + tool listing
overhead on every session start.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hamsurang](https://github.com/hamsurang)
- **Source:** [hamsurang/kit](https://github.com/hamsurang/kit)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hamsurang-kit-deepwiki-cli
- Seller: https://agentstack.voostack.com/s/hamsurang
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
