OpenParable
Skip to content
← Back to skills

Github Analysis

Documents
github-analysis

Github Analysis is an Agent Skill for documents published in the LeoYeAI/openclaw-master-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/LeoYeAI/openclaw-master-skills/blob/HEAD/skills/crab/github-analysis/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/github-analysis, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

GitHub Analysis — Repository Inspection

Local Script

Script path: skills/scripts/github_analyze.js

Functions

FunctionDescription
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

OptionDefaultDescription
depth2Directory depth limit (analyzeRepository only)
maxFiles75Max files to include (convertToMarkdown only)
maxSize30000Max size per file in bytes (convertToMarkdown only)

Fallback Behavior

ScenarioBehavior
Repo not found or privateSkip, record a warning