# analyze-codebase

> Run a multi-agent deep analysis of a codebase, producing AI-readable analysis documents in .ai/docs/ covering structure…

Run a multi-agent deep analysis of a codebase, producing AI-readable analysis documents in .ai/docs/ covering structure, dependencies, data flow, request flow, and APIs. Use whenever the user asks to analyze a repository, generate codebase analysis, understand an unfamiliar codebase in depth, or before generating documentation (README, CLAUDE.md, AGENTS.md) so the generators have analysis data to work from. Also use when the user mentions ".ai/docs", "ai analysis", or wants a structured architectural map of a project.

- Type: Skill
- Made by: divar-ir
- Category: Developer tools
- Formats: Skills
- Version: 352c921
- Source: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase
- Page: https://pluginboard.ai/skills/analyze-codebase-divar-ir

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the analyze-codebase folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### Claude

In Claude (web or desktop): Download the analyze-codebase folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### Gemini

In Gemini: Download the analyze-codebase folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase ~/.copilot/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### Cursor

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase ~/.cursor/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### Claude Code

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase ~/.claude/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

Or all of AI Doc Gen, in Claude Code:

```text
/plugin marketplace add divar-ir/ai-doc-gen
/plugin install ai-doc-gen@divar
```

### Codex

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase ~/.agents/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### Antigravity

In Antigravity: Copy the analyze-codebase folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### Gemini CLI

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase ~/.gemini/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### Replit

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase .agents/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### OpenClaw

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase ~/.openclaw/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### OpenCode

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase ~/.config/opencode/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

### Hermes Agent

Run in your terminal:

```shell
npx -y degit divar-ir/ai-doc-gen/skills/analyze-codebase ~/.hermes/skills/analyze-codebase
```

View the folder on GitHub: https://github.com/divar-ir/ai-doc-gen/tree/HEAD/skills/analyze-codebase

---
From Pluginboard (https://pluginboard.ai).
