GitDiagram Repository Overview
ahmedkhaleel2004/gitdiagram
Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.
This skill should be used when the user asks to "learn this codebase", "give me a codebase overview", "onboard me to this project", "explain the architecture", or mentions keywords related to…
$ npx skills add adamthewilliam/grepika --skill learn-codebase -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install adamthewilliam/grepika learn-codebase --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/adamthewilliam/grepika.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/grepika/skills/learn-codebase .claude/skills/learn-codebase && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "learn-codebase" agent skill from https://github.com/adamthewilliam/grepika/tree/main/plugins/grepika/skills/learn-codebase into .claude/skills/learn-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn-codebase", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/adamthewilliam/grepika/tree/main/plugins/grepika/skills/learn-codebaseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add adamthewilliam/grepika --skill learn-codebase -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install adamthewilliam/grepika learn-codebase --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adamthewilliam/grepika.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/grepika/skills/learn-codebase .agents/skills/learn-codebase && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "learn-codebase" agent skill from https://github.com/adamthewilliam/grepika/tree/main/plugins/grepika/skills/learn-codebase into .agents/skills/learn-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn-codebase", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add adamthewilliam/grepika --skill learn-codebase -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install adamthewilliam/grepika learn-codebase --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adamthewilliam/grepika.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/grepika/skills/learn-codebase .cursor/skills/learn-codebase && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "learn-codebase" agent skill from https://github.com/adamthewilliam/grepika/tree/main/plugins/grepika/skills/learn-codebase into .cursor/skills/learn-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn-codebase", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/adamthewilliam/grepika.git --path plugins/grepika/skills/learn-codebase--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add adamthewilliam/grepika --skill learn-codebase -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install adamthewilliam/grepika learn-codebase --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adamthewilliam/grepika.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/grepika/skills/learn-codebase .gemini/skills/learn-codebase && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "learn-codebase" agent skill from https://github.com/adamthewilliam/grepika/tree/main/plugins/grepika/skills/learn-codebase into .gemini/skills/learn-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn-codebase", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install adamthewilliam/grepika learn-codebaseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add adamthewilliam/grepika --skill learn-codebase -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/adamthewilliam/grepika.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/grepika/skills/learn-codebase .github/skills/learn-codebase && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "learn-codebase" agent skill from https://github.com/adamthewilliam/grepika/tree/main/plugins/grepika/skills/learn-codebase into .github/skills/learn-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn-codebase", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add adamthewilliam/grepika --skill learn-codebase -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install adamthewilliam/grepika learn-codebase --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adamthewilliam/grepika.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/grepika/skills/learn-codebase .opencode/skills/learn-codebase && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "learn-codebase" agent skill from https://github.com/adamthewilliam/grepika/tree/main/plugins/grepika/skills/learn-codebase into .opencode/skills/learn-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "learn-codebase", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
learn-codebaseThis skill should be used when the user asks to "learn this codebase", "give me a codebase overview", "onboard me to this project", "explain the architecture", or mentions keywords related to…
Learn Codebase is an agent skill from adamthewilliam/grepika. This skill should be used when the user asks to "learn this codebase", "give me a codebase overview", "onboard me to this project", "explain the architecture", or mentions keywords related to understanding codebase structure and architecture.
Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/onboarding-strategies.md`). Compatibility notes: Requires grepika MCP server.
It sits in Development, covering Codebase onboarding. It works with Model Context Protocol. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f035a18. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
mcp__grepika__searchmcp__grepika__tocmcp__grepika__statsmcp__grepika__outlinemcp__grepika__getmcp__grepika__graphmcp__grepika__structural_searchmcp__grepika__add_workspaceFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires grepika MCP server.
From compatibility in the SKILL.md frontmatter.
Learn Codebase loads about 922 tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 219 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from adamthewilliam/grepika at commit f035a18, republished under its MIT licence (© adamthewilliam). 219 words, ~922 tokens.
.claude/skills/learn-codebase/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.You are a codebase guide helping developers onboard and understand the architecture.
Area of interest: $ARGUMENTS
If no area specified, provide a general codebase overview. If an area is specified (e.g., "auth", "api", "database"), focus on that subsystem.
If any tool returns "No active workspace", call mcp__grepika__add_workspace with the project root first, then retry the tool.
Get codebase statistics
mcp__grepika__stats with detailed: trueShow directory structure
mcp__grepika__toc to display the treeFind key files for the area
mcp__grepika__search to find important filesExtract structure of main files
mcp__grepika__outline on the most important filesRead key sections
mcp__grepika__get to show important code snippets## Codebase Overview
### Statistics
- **Languages**: [breakdown]
- **Total files**: [count]
- **Lines of code**: [estimate]
### Directory Structure
[tree view with annotations]
### Architecture Summary
[2-3 paragraphs explaining the high-level design]
### Key Modules
| Module | Location | Purpose |
|--------|----------|---------|
| [name] | [path] | [what it does] |
### Entry Points
- **Main**: [path] - [description]
- **API**: [path] - [description]
- **CLI**: [path] - [description]
### Configuration
- [list config files and their purposes]
### Recommended Reading Order
1. [file] - Start here to understand [concept]
2. [file] - Then learn about [concept]
3. [file] - Finally explore [concept]## Understanding: [area]
### Overview
[what this area does and why it exists]
### Key Files
| File | Purpose | Key Exports |
|------|---------|-------------|
| [path] | [purpose] | [exports] |
### Data Flow
[how data moves through this area]
### Dependencies
- **Uses**: [what this area depends on]
- **Used by**: [what depends on this area]
### Key Concepts
- **[concept 1]**: [explanation]
- **[concept 2]**: [explanation]
### Code Patterns
[common patterns used in this area]
### Getting Started
[how to make your first change in this area]See references/onboarding-strategies.md for:
© adamthewilliam, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in plugins/grepika/skills/learn-codebase of adamthewilliam/grepika.
Open the folder on GitHubat commit f035a18
Learn Codebase next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Learn Codebase this skilladamthewilliam/grepika | 138 | — | ~922 | Automated safety check: Pass | MIT | |
| GitDiagram Repository Overviewahmedkhaleel2004/gitdiagram | 18k | — | ~427 | Automated safety check: Pass | MIT | |
| Explore Codebase with Graphtirth8205/code-review-graph | 32k | 1 repos | ~335 | Automated safety check: Pass | MIT | |
| Grepaiyoanbernabeu/grepai | 1.9k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Octocode Code Researchbgauryy/octocode | 946 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Releaseyoanbernabeu/grepai | 1.9k | — | ~918 | Automated safety check: Pass | MIT |
ahmedkhaleel2004/gitdiagram
Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.
tirth8205/code-review-graph
Navigates a codebase through the code-review-graph MCP tools: architecture overview, symbol search, caller and callee tracing, flows and oversized functions.
yoanbernabeu/grepai
Semantic code search and call-graph tracing. An agent skill from yoanbernabeu/grepai.
bgauryy/octocode
Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.
yoanbernabeu/grepai
Create a new release for grepai. An agent skill from yoanbernabeu/grepai.
jahala/tilth
Replaces grep, cat, find and ls with the tilth CLI, which returns AST-aware outlines, definitions, usages and callers across many languages in one call.
adamthewilliam/grepika
This skill should be used when the user asks to "analyze impact of changes", "check blast radius", "what would break if I change this", "refactoring safety analysis", or mentions keywords related to…
adamthewilliam/grepika
This skill should be used when the user asks to "check index status", "is the index healthy", "index diagnostics", "search index health", or mentions keywords related to verifying grepika search…
adamthewilliam/grepika
This skill should be used when the user asks to "investigate a bug", "trace an error", "debug this issue", "find where this error comes from", or mentions keywords related to error tracing and bug…
adamthewilliam/grepika
This skill should be used when the user asks to "apply a pattern", "use a blueprint", "implement [pattern] from [source]", "what blueprints do I have", "list patterns", "adapt this pattern", or…
adamthewilliam/grepika
This skill should be used when the user asks to "map the architecture", "show module dependencies", "analyze coupling", "dependency graph", "how are modules connected", "module boundaries", or…
adamthewilliam/grepika
This skill should be used when the user asks to "compare files", "diff these files", "what changed between", "show differences between", "compare versions", or mentions keywords related to file…
Works with
Categories
This skill should be used when the user asks to "learn this codebase", "give me a codebase overview", "onboard me to this project", "explain the architecture", or mentions keywords related to…. Learn Codebase is an agent skill from adamthewilliam/grepika. This skill should be used when the user asks to "learn this codebase", "give me a codebase overview", "onboard me to this project", "explain the architecture", or mentions keywords related to understanding codebase structure and architecture.
Learn Codebase fits situations like: asks to learn this codebase; give me a codebase overview; onboard me to this project; explain the architecture.
Run `npx skills add adamthewilliam/grepika --skill learn-codebase -a claude-code`. Or copy the skill folder (plugins/grepika/skills/learn-codebase in adamthewilliam/grepika) into .claude/skills/learn-codebase in your project. Claude Code loads it when a task matches its description.
Run `npx skills add adamthewilliam/grepika --skill learn-codebase -a codex`. Or copy the skill folder (plugins/grepika/skills/learn-codebase in adamthewilliam/grepika) into .agents/skills/learn-codebase in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add adamthewilliam/grepika --skill learn-codebase -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/learn-codebase, .gemini/skills/learn-codebase, .github/skills/learn-codebase and .opencode/skills/learn-codebase in your project.
SKILL.md names no scripts, command-line tools or credentials: Learn Codebase is instructions for the agent only. Its frontmatter pre-approves these tools: mcp__grepika__search, mcp__grepika__toc, mcp__grepika__stats, mcp__grepika__outline, mcp__grepika__get, mcp__grepika__graph, mcp__grepika__structural_search, mcp__grepika__add_workspace. Compatibility (from SKILL.md): Requires grepika MCP server..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Learn Codebase is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 922 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Learn Codebase: GitDiagram Repository Overview (ahmedkhaleel2004/gitdiagram, 18k stars), Explore Codebase with Graph (tirth8205/code-review-graph, 32k stars), Grepai (yoanbernabeu/grepai, 1.9k stars) and Octocode Code Research (bgauryy/octocode, 946 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
adamthewilliam (a GitHub user) maintains it in adamthewilliam/grepika, which has 138 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 12, 2026.
Source: adamthewilliam/grepika on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.