LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

ghost-repo-context

Scans directory structure, detects projects, maps dependencies, and documents code organization into a repo.md file. Use when the user needs a codebase overview, project structure map, or repository context before security analysis.

393stars26forksUpdated 6/23/2026
SecurityDocumentation#security#documentation#codebase-mapping#repository#code-analysis#dependencies

Security Assessment

Safe(100/100)
Security Score100/100

About ghost-repo-context

The ghost-repo-context skill builds a repository overview by scanning a codebase's directory structure, detecting its projects, summarizing their architecture, and writing the results to a repo.md file. It is intended to produce repository context before security analysis, and does all the work locally without spawning subagents.

It accepts a repository path and an optional cache directory (computing a stable cache id from the repo name and remote URL hash when not given), and is cache-first: if a repo.md already exists it returns immediately. Otherwise it detects projects using a bundled detector, summarizes each project with a bundled summarizer (capturing architecture, sensitive data types, business criticality, and a component map), writes the combined results into repo.md using a template, validates the output, and returns its path. It is restricted to local files only, using no web fetch or search.

It is most useful as a preparatory step that gives a security-analysis or code-review workflow a structured map of what is in a repository and how it is organized.

FAQ

What does this skill produce?

A repo.md file documenting the repository's detected projects, their architecture summaries, sensitive data types, business criticality, and component maps.

When should I use it?

When you need a codebase overview, project structure map, or repository context, typically before running security analysis.

Is it cache-aware?

Yes. It is cache-first: if repo.md already exists in the cache directory it returns that path immediately instead of re-scanning.

Does it access the network?

No. It is restricted to local files and does not use web fetch or search.

How does it work internally?

It detects projects with a bundled detector, summarizes each with a bundled summarizer, writes a templated repo.md, and validates the result before returning its path.

All Files

4 files
template-repo.md1.3 KB
View
detector.md11.7 KB
View
SKILL.md3.1 KB
View
summarizer.md8.9 KB
View

Install ghost-repo-context

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

ghostsecurity/skills

Related Skills

short-form-video

14

multi-asset-morning-briefing

7,907

content-strategy

2,901

doherty-threshold

2,901