**Purpose**: Git repository analysis and markdown digest generation for LLM ingestion using GitHub MCP tools
From obsidian-vault-managernpx claudepluginhub ZorroCheng-MC/obsidian-vault-manager-plugin --plugin obsidian-vault-managerPurpose: Git repository analysis and markdown digest generation for LLM ingestion using GitHub MCP tools
@include shared/universal-constants.yml#Universal_Legend
Execute: immediate. --planβshow plan first Legend: Generated based on symbols used in command Purpose: "[Action][Subject] - Analyze GitHub repository and create markdown digest"
Analyze GitHub repositories using native MCP Docker GitHub tools and create LLM-optimized markdown digests automatically saved to your Obsidian vault.
@include shared/flag-inheritance.yml#Universal_Always
/gitingest <github-url> [options]
Examples:
/gitingest https://github.com/user/repo - Analyze public GitHub repo/gitingest https://github.com/user/private-repo - Analyze private repo (uses your authenticated credentials)/gitingest https://github.com/user/repo --branch feature-branch - Analyze specific branch/gitingest https://github.com/user/repo --focus code - Focus on code files onlyRequired:
<github-url>: Full GitHub repository URL (e.g., https://github.com/owner/repo)Optional:
--branch <name>: Specific branch to analyze (default: repo's default branch)--focus <mode>: Analysis focus mode
code: Code files only (*.js, *.py, *.ts, *.go, *.java, etc.)docs: Documentation only (*.md, *.txt, *.rst, etc.)config: Configuration files (*.json, *.yml, *.toml, Dockerfile, etc.)all: All files (default)This command uses MCP Docker GitHub tools:
mcp__MCP_DOCKER__get_file_contents to browse repositoryAuthentication:
Output:
/Users/zorro/Documents/Obsidian/Claudecode/YYYY-MM-DD-<repo-name>-repository-analysis.mdThe command will:
get_file_contents with path="/"--focus mode (if specified)Code Focus (--focus code):
*.js, *.ts, *.py, *.go, *.java, *.rb, *.php, *.rs, *.c, *.cpp, *.h, *.swift, *.ktDocs Focus (--focus docs):
*.md, *.txt, *.rst, *.adoc, CHANGELOG, LICENSEConfig Focus (--focus config):
*.json, *.yml, *.yaml, *.toml, *.ini, Dockerfile, .env.example, package.json, requirements.txtAll Files (--focus all, default):
node_modules/, .git/, dist/, build/, __pycache__/The generated markdown file includes:
---
title: "<Repo Name>: <Brief Description>"
tags:
- repository
- <detected-languages>
- <tech-stack>
- technical
- inbox
url: <github-url>
date: <capture-date>
type: repository
status: inbox
priority: medium
owner: <github-owner>
visibility: <public|private>
---
# [Repository Name](github-url)
## π Repository Overview
<Auto-generated description>
## π Repository Structure
<File tree>
## π Key Files
### <filename>
<File contents or summary>
## π οΈ Technical Stack
<Detected technologies>
## π Repository Metrics
<Commits, branches, size, etc.>
## π·οΈ Tags Analysis
<Why these tags were chosen>
@include shared/research-patterns.yml#Mandatory_Research_Flows
@include shared/docs-patterns.yml#Standard_Notifications
@include shared/universal-constants.yml#Standard_Messages_Templates