Skip to content
Back to skills

Github Analysis

ASecurity

GitHub repository code analysis. Uses local script `skills/scripts/github_analyze.js` to convert a repo into an AI-friendly Markdown snapshot. No external API required.

  • 2,237 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added November 6, 2026
ai-agentsgitapi

Works with

  • api

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add LeoYeAI/agent-master-skills --skill github-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leoyeai-github-analysis-agent-master-skills/badge)](https://www.skillsdirectory.com/skills/leoyeai-github-analysis-agent-master-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-analysis
description: |
  GitHub repository code analysis. Uses local script
  `skills/scripts/github_analyze.js` to convert a repo into an AI-friendly
  Markdown snapshot. No external API required.
metadata:
  author: NotevenDe
  version: 1.2.0
---

# GitHub Analysis — Repository Inspection

## Local Script

Script path: `skills/scripts/github_analyze.js`

### Functions

| Function | Description |
|----------|-------------|
| `analyzeRepository(url, options?)` | Metadata, structure, README, languages, architecture, recent commits |
| `convertToMarkdown(url, options?)` | Convert repo to a single AI-friendly Markdown document with file contents |
| `parseGitHubUrl(url)` | Parse GitHub URL or `owner/repo` into `{ owner, repo }` |

### Options

| Option | Default | Description |
|--------|---------|-------------|
| `depth` | 2 | Directory depth limit (analyzeRepository only) |
| `maxFiles` | 75 | Max files to include (convertToMarkdown only) |
| `maxSize` | 30000 | Max size per file in bytes (convertToMarkdown only) |

## Fallback Behavior

| Scenario                     | Behavior                                  |
|-----------------------------|-------------------------------------------|
| Repo not found or private   | Skip, record a warning                    |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.