GitHub Repo Analyzer
Analyze GitHub or local repositories for architecture, dependency cycles, and heuristic code-review without running code.
$24
GitHub Repo Analyzer
Example session with this skill installed
Analyze the architecture and security of the GitHub repository at https://github.com/expressjs/express and identify any circular dependencies or high-risk sinks.
- Read your context and instructions
- Compiled the github repo analyzer
I have completed a balanced analysis of the expressjs/express repository. The analysis covered the core library architecture and scanned for heuristic security patterns.
Repository Analysis: expressjs/express
Overview (Mode: Balanced)
Express is a fast, unopinionated, minimalist web framework for Node.js. The repository primarily consists of JavaScript files using a standard package.json manifest. Key entry points include lib/express.js and lib/application.js.
Focus Highlights
- Architecture & Dependencies: The analysis detected 0 circular dependencies within the core modules. High fan-in modules include
lib/utils.jsandlib/router/layer.js, indicating they are critical hubs. - Security Heuristics: 3 production findings were triaged.
JS_EVALatlib/view.js:78(LLM interpretation): Likely benign. This is used for template engine integration and is expected behavior for a framework.JS_CHILD_PROCESSatlib/utils.js:142(LLM interpretation): Needs manual verification. Used in a utility function; check if input is sanitized before reaching the sink.SECRET_PATTERNattest/support/utils.js:12(LLM interpretation): Benign. Hardcoded string found in a test fixture, not a live production credential.
Outputs & Verification Note
- Report Location:
/tmp/repo-analyzer/express-report/report.md - Dependency Graph:
/tmp/repo-analyzer/express-report/architecture.mmd - Total Findings: 12 unverified heuristic matches (5 production, 7 test/docs).
- Note: These are unverified heuristic targets and require manual review.
Next steps
- Review the
architecture.mmdfile to visualize the routing layer hierarchy. - Verify the
JS_CHILD_PROCESSfinding inlib/utils.jsto ensure no untrusted input reaches the sink. - Trace the reading order in
summary.jsonto understand the middleware initialization flow.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual repository auditing is slow, and running untrusted code for analysis is a security risk. This skill provides a bounded, read-only pipeline to map architecture, dependency graphs, and heuristic code-review findings without ever executing the target code.
What it does
- Automated Mapping generates a full architecture report including entry points, API routes, and data models.
- Dependency Analysis builds Mermaid graphs and identifies circular dependencies or high fan-in/fan-out modules.
- Security Heuristics scans for high-risk patterns like dynamic execution, unsafe deserialization, and hard-coded secrets.
- Context Triage automatically inspects surrounding source lines for top findings to separate likely false positives from elevated risks.
- Multi-Source Support handles local directories, GitHub/GitLab URLs, monorepos, and specific branches or commit SHAs.
How it works
- Resolve the repository using
clone_repo.pyto handle shallow cloning or local path verification. - Analyze the codebase with
analyze_repo.pyto generate structured JSON and Markdown reports. - Digest the findings via
summary.jsonfor a high-level overview of tech stack and top findings. - Review the
architecture.mmdgraph to visualize package coupling and unreachable modules.
Frameworks & tools
The skill uses Python ast.parse for deep Python analysis and regex scanning for JS, TS, Go, Rust, and Java. It integrates with git for shallow clones and Mermaid for visualization.
Why this beats prompting it yourself
Standard LLM prompts lack the multi-file context needed to build accurate dependency graphs or identify circular cycles. This skill uses deterministic scripts to extract raw data, ensuring the agent operates on facts rather than hallucinations of the file tree.
Use cases
- Rapid Onboarding to explain a new codebase, its entry points, and required environment variables.
- Security Triage to quickly identify and prioritize potential vulnerabilities in production code.
- Refactoring Audits to find tight coupling, circular dependencies, and high-churn modules.
- Architecture Review to generate up-to-date documentation and dependency maps for complex repos.
Known limitations
Does not execute code, tests, or CVE scanners. Static analysis is limited to 20,000 files and 1MB per file. Transitive dependencies and dynamic imports may be missed.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Accounts
GitHub
- Software
Python
Git
Permissions
Allowed Hosts
File Scopes
What's inside
Creator
Shuhana Azmin
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.