# GitHub Xray

> Deep-audit GitHub profiles for career alignment, security leaks, and automated metadata cleanup.

GitHub Xray is a free AI agent skill on Agensi by Jhonatas Rodrigues Silvestre Correa, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Jhonatas Rodrigues Silvestre Correa](https://www.agensi.io/creators/jhow-correa)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/github-xray
- Tags: security, code-review, productivity, github-cli, bash, node-js, github, secrets-scanner

## About this skill

GitHub profiles often accumulate clutter, leaked credentials, and outdated repositories that misrepresent a developer's current skill level. This skill performs a deep "X-ray" audit of a GitHub account to align it with specific career goals, identify security risks, and automate profile cleanup.

### What it does
- **Profile Alignment Audit** scores your profile, pinned repos, and public code quality against your target role and seniority.
- **Deep Security Scan** searches entire commit histories for leaked secrets, sensitive files, and private project names.
- **AI Signature Detection** identifies "Co-authored-by" tags or AI signatures in commits to help you manage AI-assisted project transparency.
- **Automated Cleanup Generation** creates an `apply.sh` script to batch update repo descriptions, topics, and visibility settings.
- **Trend Research** pulls real-world recruiter expectations for your specific stack to benchmark your profile against top performers.

### How it works
1. **Developer Interview** defines your role, seniority, and sensitive data that must remain private.
2. **Read-Only Collection** fetches profile metadata and repository stats using the GitHub CLI.
3. **Local History Audit** clones public repos locally to scan for keys and sensitive strings.
4. **Diagnosis & Planning** generates a detailed `REPORT.md` and a `plan.json` for proposed changes.
5. **Safe Execution** produces a dry-run shell script for you to review before applying any changes to your account.

### Frameworks & tools
Built for Node 18+ environments, requiring `gh` CLI, `git`, and `bash`. All data processing happens locally on your machine within an `xray/` directory.

### Why this beats prompting it yourself
Standard prompts cannot access your full commit history or private metadata across dozens of repositories. This skill uses local scripts to perform heavy-duty history scanning and generates executable shell scripts, saving hours of manual API calls and repo settings management.

### Use cases
- Auditing a profile before applying to senior engineering roles to ensure high-impact projects are pinned.
- Identifying and revoking leaked AWS or OpenAI keys hidden in old commit hashes.
- Converting outdated study repositories to private or archived status en masse.
- Cleaning up AI-generated commit signatures from professional portfolio pieces.

### Known limitations
Cannot change pinned repositories or delete forks via the API. Profile updates require specific `user` scope permissions. Secret leaks must be manually revoked as history rewriting does not invalidate keys.

## Requires

- Git
- Node.js 18+
- GitHub CLI
- authenticated
- bash (git bash on windows)
- github account

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the GitHub Xray skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What are the system requirements for running GitHub Xray?

The skill requires a Node 18+ environment with the GitHub CLI (`gh`), `git`, and `bash` installed. It is designed to work with any AI agent capable of executing local shell commands and managing file directories.

### Is it safe to give this skill access to my repositories?

Your security is a priority; the skill performs all cloning and history scanning locally on your machine. It generates a report and a dry-run script, ensuring no changes are pushed to your GitHub profile without your manual review and execution.

### How does this audit differ from just asking an AI to review my GitHub profile link?

Unlike a standard LLM prompt, this skill uses local scripts to audit every commit hash in your history, which exceeds typical context windows. It also automates the generation of executable batch updates, saving you from manually editing settings for dozens of repositories.

### Can I use this skill to tailor my profile for a specific job role, like Senior DevOps or Frontend Lead?

Yes, the skill allows you to define a 'Developer Interview' profile where you specify your target role and seniority. It then benchmarks your public repositories and metadata against current recruiter expectations for that specific career path.

### Does GitHub Xray automatically delete leaked API keys for me?

The audit identifies leaked secrets and sensitive strings, but it cannot automatically revoke them. You will receive a detailed report of the findings, but you must manually rotate keys or use history-rewriting tools to invalidate the leaked credentials.

### What exactly is included in the purchase?

You receive the complete skill package, including the audit logic, the local scanning scripts, and the template generators. Updates are provided through the marketplace to ensure compatibility with the latest GitHub CLI versions and recruiter trends.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
