Skip to content
Back to skills

Wikigen

ASecurity

Generate GitHub Wiki documentation from source code repositories. Use when the user asks to create wiki, generate documentation, document a codebase, or create technical docs for a repository.

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
developmentgobashgitdocumentation

Works with

  • claude code

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add tomohiro-owada/wikigen --skill wikigen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wikigen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wikigen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tomohiro-owada-wikigen/badge)](https://www.skillsdirectory.com/skills/tomohiro-owada-wikigen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wikigen
description: Generate GitHub Wiki documentation from source code repositories. Use when the user asks to create wiki, generate documentation, document a codebase, or create technical docs for a repository.
argument-hint: "[owner/repo or repos.txt path]"
disable-model-invocation: true
allowed-tools: Bash(./wikigen *), Read, Glob
---

# wikigen — GitHub Wiki Generator

Generate GitHub Wiki from source code using Claude Code.

## Quick Start

```bash
# Build if needed
go build -o wikigen .

# Preview structure first (recommended)
./wikigen -dry-run owner/repo

# Generate wiki
./wikigen owner/repo

# Local directory (no clone needed)
./wikigen /path/to/local/repo
./wikigen .

# Batch from file
./wikigen -f repos.txt

# Retry failed pages
./wikigen -retry
```

## Key Flags

| Flag | Default | Description |
|---|---|---|
| `-f` | - | Repository list file |
| `-p` | 1 | Parallel repos |
| `-pp` | 3 | Parallel pages per repo |
| `-model` | - | Claude model (haiku, sonnet, opus) |
| `-lang` | ja | Output language |
| `-dry-run` | false | Structure only, no generation |
| `-json` | false | JSON output to stdout |
| `-local` | - | Local directory (skip clone) |
| `-retry` | false | Retry failed pages only |

## repos.txt Format

```
# GitHub repos (cloned)
owner/repo

# Local directories (no clone)
/path/to/local/repo
./relative/path

# Multi-repo (grouped into one wiki)
project:owner/repo1
project:/path/to/local
```

## Environment Variables (.env)

- `GITHUB_TOKEN` — GitHub PAT (optional, SSH used if empty)
- `CLAUDE_MODEL` — default model
- `WIKI_PARALLEL` — repo parallelism
- `WIKI_PAGE_PARALLEL` — page parallelism
- `WIKI_LANGUAGE` — output language

## Output

GitHub Wiki compatible files in `./wiki-output/{project}/`:
- `Home.md` — table of contents
- `_Sidebar.md` — navigation
- `{Page-Name}.md` — individual pages
- `_errors.log` — errors (if any)

## Important Rules

- Always use `-dry-run` first to preview the wiki structure before full generation
- Always check `_errors.log` after generation
- Use `-retry` for failed pages instead of regenerating everything
- SSH is default for cloning. Set `GITHUB_TOKEN` in `.env` for PAT mode

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.