github-intel
Analyze any GitHub repository in AI-friendly format. Convert entire repos to single markdown documents, generate architecture diagrams with Mermaid, inspect structure trees, language breakdowns, and recent activity. Includes GitHub URL tricks, API shortcuts, and advanced search techniques. Read-only analysis — never executes code from repositories. Built for AI agents — Python stdlib only, no dependencies. Use for repository analysis, code architecture review, open source research, GitHub intelligence, repo documentation, and codebase understanding.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aiwithabidi/github-intel🔍 GitHub Intelligence
Analyze any GitHub repository in AI-friendly format. Convert repos to markdown, generate architecture diagrams, understand structure and patterns.
Features
- Analyze repo structure — file tree, README, language breakdown, recent activity
- Generate architecture diagrams — Mermaid flowcharts from codebase structure
- Convert repo to markdown — entire repository as a single AI-readable document
- Inspect language breakdown — percentage by language with file counts
- Track recent activity — latest commits, contributors, release history
- GitHub URL tricks — hidden features, API shortcuts, search operators
- Control analysis depth — configurable directory traversal depth
- Limit file count — cap files for large repos
- Read-only guarantee — never executes code from repositories
- Public API access — no token needed (optional token for higher rate limits)
Requirements
| Variable | Required | Description |
|---|---|---|
GITHUB_TOKEN | ❌ | Optional — increases rate limit from 60 to 5000 req/hr. Get from GitHub Settings |
Quick Start
PY=~/.openclaw/workspace/.venv/bin/python3
# Analyze a repository
$PY skills/github-intel/scripts/repo_analyzer.py https://github.com/anthropics/claude-code
# Convert repo to single markdown
$PY skills/github-intel/scripts/repo_to_markdown.py https://github.com/openai/openai-python
# Deep analysis
$PY skills/github-intel/scripts/repo_analyzer.py https://github.com/user/repo --depth 3
Commands
Repo Analyzer
# Basic analysis
$PY scripts/repo_analyzer.py https://github.com/owner/repo
# Deep directory traversal
$PY scripts/repo_analyzer.py https://github.com/owner/repo --depth 3
# With authentication for higher rate limits
GITHUB_TOKEN=ghp_xxx $PY scripts/repo_analyzer.py https://github.com/owner/repo
Repo to Markdown
# Convert full repo
$PY scripts/repo_to_markdown.py https://github.com/owner/repo
# Limit files for large repos
$PY scripts/repo_to_markdown.py https://github.com/owner/repo --max-files 50
# Output to file
$PY scripts/repo_to_markdown.py https://github.com/owner/repo > repo.md
Output Format (Analyzer)
# Repository: owner/repo
## Structure
├── src/
│ ├── index.ts
│ └── ...
├── README.md
└── package.json
## README
[Full README content]
## Language Breakdown
- TypeScript: 78.2%
- JavaScript: 15.1%
- Shell: 6.7%
## Architecture (Mermaid)
graph TD
A[CLI Entry] --> B[Command Parser]
...
## Recent Activity
- 2 days ago: feat: add streaming support
- 5 days ago: fix: handle timeout errors
References
| File | Description |
|---|---|
references/github-tricks.md | URL hacks, API shortcuts, search operators |
Script Reference
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aiwithabidi-github-intel": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
freshsales
Freshsales CRM integration — manage contacts, leads, deals, accounts, tasks, and sales sequences via the Freshsales API. Track deal pipelines, automate lead assignments, log activities, and generate sales reports. Built for AI agents — Python stdlib only, no dependencies. Use for sales CRM, contact management, deal tracking, pipeline reporting, and sales automation.
gemini-video-analyzer
Native video analysis using Google Gemini API. Upload and analyze video files — describe scenes, extract text/UI, answer questions about content, transcribe speech, identify objects and actions. Use when: (1) User sends a video file and wants it analyzed, (2) Video summarization or description needed, (3) Extracting text, UI elements, or information from screen recordings, (4) Answering questions about video content, (5) Comparing multiple videos, (6) Analyzing tutorials, demos, or walkthroughs.
agent-memory
Full AI agent memory stack — Mem0 unified memory engine with vector search (Qdrant) and knowledge graph (Neo4j), plus SQLite for structured data. Complete setup script and tools. Give your OpenClaw agent a real brain with semantic recall, entity relationships, and structured storage.
neon
Neon serverless Postgres — manage projects, branches, databases, roles, endpoints, and compute via the Neon API. Create database branches for development, manage connection endpoints, scale compute, and monitor usage. Built for AI agents — Python stdlib only, zero dependencies. Use for serverless Postgres, database branching, database management, development workflows, and cloud database automation.
onepassword
1Password Connect — vaults, items, secrets management for server-side applications.