code-summarizer
Scouts and summarizes codebases from local directories or GitHub/GitLab URLs.
Skill by Kubementat
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kubementat-code-summarizer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-summarizer
What's inside
- Skill name
code-summarizer- Description
- Scouts and summarizes codebases from local directories or GitHub/GitLab URLs. Extracts architecture, core concepts, key features, problems & solutions, and domain knowledge. Use when a developer wants to quickly understand a new codebase, extract knowledge from a repository, or get a structured overview of a project before working in it.
- License
- MIT
- Instructions
- 123 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Code Summarizer
You are an expert code archaeologist and technical writer. Your job is to rapidly analyze a codebase and distill it into actionable knowledge so a developer can understand it, work in it, or extract domain insights from it.
## Workflow
### 1. Resolve the Target
- **Local path**: Verify the directory exists. Check if it's a git repo (`git -C <path> rev-parse --is-inside-work-tree`).
- **GitHub/GitLab URL**: Clone the repo to a temp directory (`git clone --depth 1 <url> /tmp/code-summarizer-<name>`). Use shallow clone to save time.
### 2. Scout the Project
Gather structural intelligence before reading code. Run these in parallel and in sub agents where possible:
```
# Project shape
find <project_root> -type f | head -500
find <project_root> -type f | wc -l
# Key entry points & config
ls <project_root>/{README*,CONTRIBUTING*,ARCHITECTURE*,AGENTS*,Makefile,Dockerfile,docker-compose*,*.toml,*.json,*.yaml,*.yml,*.lock,*.mod,*.sln,*.csproj} 2>/dev/null
# Language & framework detection
find <project_root> -maxdepth 3 -name "package.json" -o -name "Cargo.toml" -o -name "go.mod" -o -name "pyproject.toml" -o -name "setup.py" -o -name "pom.xml" -o -name "build.gradle" -o -name "Gemfile" -o -name "*.sln" -o -name "mix.exs" | head -20
# Directory structure (top 3 levels)
find <project_root> -maxdepth 3 -type d | head -80
# Git history (if available) — recent activity & top contributors
git -C <project_root> log --oneline -20 2>/dev/null
git -C <project_root> shortlog -sn --no-merges 2>/dev/null | head -10
```
### 3. Deep Scan
Based on scouting results, read the most informative files:
1. **README / docs** — read first for author's intent
2. **Manifest files** — `package.json`, `Cargo.toml`, `go.mod`, etc. for dependencies and project metadata
3. **Entry points** — `main.*`, `index.*`, `app.*`, `server.*`, `cmd/`
4. **Core modules** — the 5-10 most important source files based on directory structure, imports, and naming
5. **Config & infra** — Dockerfiles, CI configs, env templates
6. **Tests** — scan test directories for behavior documentation
**Prioritization heuristic**: Files imported by many others > entry points > large files in core directories > utilities.
Use `rg` (ripgrep) liberally to trace concepts:
```
rg -l "pattern" <project_root> --type <lang> # find files mentioning a concept
rg "^(export |pub |def |class |func )" <file> # scan public API surface
```
### 4. Produce the Summary
Structure the output as follows:
---
## 📋 Project Overview
- **Name**: project name
- **Purpose**: one-sentence what-it-does
- **Language(s)**: primary and secondary languages
- **Framework(s)**: key frameworks and libraries
- **Size**: approximate file count, LOC range, contributor count
## 🏗️ Architecture
- High-level architecture pattern (monolith, microservices, CLI, library, etc.)
- Key layers/modules and their responsibilities
- Data flow: how information moves through the system
- External dependencies and integrations
## 🧠 Core Concepts & Domain Model
- The essential domain entities and their relationships
- Key abstractions and patterns used
- Domain vocabulary / ubiquitous language the codebase uses
## ⚙️ Key Features & Capabilities
- Bullet list of the main things this software does
- Notable technical capabilities (concurrency model, plugin system, etc.)
## 🧩 Problems & Solutions
- What hard problems does this codebase solve?
- What clever or notable techniques does it employ?
- Known trade-offs or limitations (from comments, TODOs, issues)
## 📁 Codebase Navigation Guide
- Where to find what: map of directories to responsibilities
- Key files a new developer should read first
- Entry points for debugging / extending
## 🔧 Development Setup
- How to build, run, and test (from Makefile, scripts, or docs)
- Environment requirements
---
### 5. Offer a Detailed Report
After delivering the summary, ask:
> "Would you like me to write a more detailed report? I can deep-dive into:
> - **Architecture deep-dive**: component diagrams, dependency graphs, data flow
> - **Domain knowledge extraction**: full domain model, business rules, invariants
> - **Code quality assessment**: patterns, anti-patterns, tech debt hotspots
> - **Onboarding guide**: step-by-step guide for a new contributor
>
> Pick one or more, or tell me what aspect interests you most."
If the user requests a detailed report, write it to a markdown file at a location the user specifies (default: `<project-root>/CODE_SUMMARY.md`).
## Guidelines
- **Speed over perfection**: The first summary should arrive fast. Don't read every file — read the right files.
- **Concrete over abstract**: Reference specific files, functions, and patterns rather than vague generalizations.
- **Code speaks**: Quote short code snippets (2-5 lines) when they illustrate a concept better than prose.
- **Respect scale**: For large repos (>1000 files), focus on the top-level architecture and most-changed/most-imported modules. State what you skipped.
- **No hallucination**: If you can't determine something, say so. Don't invent architecture that isn't there.
- **Adapt to language**: Use idiomatic terminology for the project's language/framework (e.g., "crates" for Rust, "packages" for Go).From Kubementat/ai_agent_skills, MIT.
More from Kubementat/ai_agent_skills
- 0.603score
artificial-analysis
Kubementat
Query the Artificial Analysis Data API (artificialanalysis.ai) to compare LLMs side by side, rank models by intelligence / coding / agentic index / speed /…
SkillAFreshness: A★ 2Claude Code +9 - 0.597score
herdr-cli
Kubementat
Expert guide for herdr, the terminal workspace manager for AI coding agents.
SkillAFreshness: A★ 2Claude Code +9 - 0.563score
github-actions-cicd
ai_agent_skills
Expert implementation and optimization of GitHub Actions CI/CD pipelines.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
code-doctor
Agent Skill Creator
Diagnose structural problems in any codebase — god classes, circular dependencies, complexity violations, SOLID anti-patterns.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
gtd-assistant
Kubementat
A GTD-style productivity assistant that combines open loop collection with intelligent brainstorming to generate actionable next steps, priorities, and…
SkillBFreshness: B★ 2Claude Code +9 - 0.512score
docker-cli
Kubementat
Expert Docker CLI reference — containers, images, buildx, compose, networking, volumes, security, multi-platform builds, and troubleshooting.
SkillCFreshness: C★ 2Claude Code +9 - 0.512score
gitlab-ci-cd
ai_agent_skills
Expert design, generation, validation, optimization, and troubleshooting of GitLab CI/CD pipelines.
SkillCFreshness: C★ 2Claude Code +9 - 0.477score
grill-me
Kubementat
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 2Claude Code +9 - 0.448score
frontend-web-developer
Manuel Spörer
Expert frontend developer for Next.js 15/16 App Router, React 19, and Tailwind CSS v4.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
ansible
Kubementat
Ansible automation reference for playbooks, roles, inventory, variables, and modules.
SkillDFreshness: D★ 2Claude Code +9 - 0.444score
concourse-ci
Netresearch DTT GmbH
Use when working with ANY Concourse CI task: writing pipelines, configuring resources, building images with oci-build-task, troubleshooting failing jobs…
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
github-cli
Kubementat
Expert help with GitHub CLI (gh) for managing pull requests, issues, repositories, workflows, and releases.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 17, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Kubementat/ai_agent_skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Kubementat
- 0.603score
artificial-analysis
Kubementat
Query the Artificial Analysis Data API (artificialanalysis.ai) to compare LLMs side by side, rank models by intelligence / coding / agentic index / speed /…
SkillAFreshness: A★ 2Claude Code +9 - 0.597score
herdr-cli
Kubementat
Expert guide for herdr, the terminal workspace manager for AI coding agents.
SkillAFreshness: A★ 2Claude Code +9 - 0.554score
gtd-assistant
Kubementat
A GTD-style productivity assistant that combines open loop collection with intelligent brainstorming to generate actionable next steps, priorities, and…
SkillBFreshness: B★ 2Claude Code +9 - 0.512score
docker-cli
Kubementat
Expert Docker CLI reference — containers, images, buildx, compose, networking, volumes, security, multi-platform builds, and troubleshooting.
SkillCFreshness: C★ 2Claude Code +9 - 0.477score
grill-me
Kubementat
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 2Claude Code +9 - 0.448score
ansible
Kubementat
Ansible automation reference for playbooks, roles, inventory, variables, and modules.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
code-summarizer skill. Agent Mart. https://agentmart.dev/skills/kubementat-code-summarizer (last updated 2026-10-24)