More screenshots

    Works with the AI Agents you already use

    Repo Access Audit

    by Trust Williams

    1

    Audit GitHub repository permissions to find access drift, stale invites, and single points of failure.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repo Access Audit

    Repo Access Audit

    Example session with this skill installed

    Audit my repositories for any access drift against my grants.csv file and identify any repos where I am the sole maintainer.

    • Read your context and instructions
    • Compiled the repo access audit
    • Generated the data export

    I have completed the access audit for 12 repositories. I identified 3 instances of access drift and 2 repositories at risk due to a low bus-factor.

    Repository Access Audit — dev-lead-user

    Generated 2024-05-20 · 12 repos in scope · 8 people · 5 findings

    Answer in one paragraph

    Two contractors still have write access despite being marked for removal in the baseline. Your ‘core-api’ and ‘legacy-auth’ repos are single points of failure with only one admin. You should prioritize revoking ghost access for contractor-joe before freezing the new baseline.

    Coverage

    Audited 11 of 12 repos. Unavailable: 1 (internal-tooling-v3).
    Team-derived access: not included. Invitations visible: yes.

    Matrix

    Personweb-appcore-apidocs-siteMax
    dev-lead-useradminadminadminadmin
    dev-anawrite—readwrite
    contractor-joewrite——write
    deploy-bot 🤖writewrite—write

    Findings

    1. Ghost access — contractor-joe on web-app
    Live: write · Baseline: none · Evidence: user present in live API, absent from grants.csv.
    Action: Review then remove.

    2. Sole maintainer — core-api, legacy-auth
    Write/admin count is 1. Evidence: only dev-lead-user has write access.
    Action: Add a second maintainer to reduce bus-factor risk.

    Remediation, in order

    #ActionCommandRiskConsequence
    1Remove Collabgh api -X DELETE repos/acme/web-app/collaborators/contractor-joesafeRevokes write access immediately.
    2Add AdminManual ActionconfirmReduces risk of repo becoming unrecoverable.

    Next steps

    • Run the provided DELETE command for contractor-joe.
    • Add a backup administrator to the core-api repository.
    • Run node scripts/audit.mjs --freeze once the cleanup is verified.

    grants.csv

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing repository permissions becomes a black box as teams grow. Engineering leads and founders often cannot verify who has write access across dozens of repositories or find lingering access from offboarded contractors without manual clicking. This skill audits GitHub repository permissions to identify security gaps and single points of failure.

    What it does

    • Permission Matrixing generates a person-by-repository map of all direct collaborators.
    • Drift Detection compares live GitHub state against a recorded baseline to find unauthorized access.
    • Risk Identification flags repositories with only one maintainer or excessive administrator sprawl.
    • Invite Tracking surfaces pending or stale invitations that haven't been accepted.
    • Remediation Scripting provides exact gh CLI commands to revoke or downgrade access safely.

    How it works

    1. Identity Check verifies the gh CLI authentication and current user scope.
    2. Data Collection runs read-only API calls to fetch direct collaborators and pending invitations.
    3. Reconciliation compares live data against a grants.csv baseline (if provided) to identify drifts or expired access.
    4. Reporting generates a Markdown and a self-contained HTML report with a prioritized findings list.

    Frameworks & tools

    This skill requires the GitHub CLI (gh) for data collection and Node.js (18+) for the reconciliation and reporting scripts.

    Why this beats prompting it yourself

    Generic prompts often miss inherited permissions or fail to distinguish between no data and no risk. This skill implements a strict four-level access model and specific bus-factor heuristics to ensure coverage gaps are reported as findings rather than ignored.

    Use cases

    • Auditing permissions before offboarding a developer or agency.
    • Conducting quarterly access reviews for security compliance.
    • Performing due-diligence repo audits during an acquisition.
    • Identifying automation bots that have excessive write permissions.

    Known limitations

    Does not audit code content, secrets, or 2FA status. Team-derived or organization-wide permissions are out of scope unless explicitly queried. Requires an authenticated GitHub CLI session.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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.

    Frequently Asked Questions

    This skill identifies 'access drift' (unauthorized changes from a baseline), 'bus-factor' risks where only one person has access, and lingering invites from offboarded contractors that could pose a security threat.

    The skill requires the GitHub CLI (`gh`) and Node.js (18+). It works by executing read-only API calls through your authenticated session to ensure your credentials never leave your local environment.

    While the skill focuses on direct collaborators for precision, it can identify excessive admin sprawl and single points of failure across any repository where the authenticated user has metadata access.

    You receive the core audit logic, a reporting engine that generates Markdown and HTML summaries, and a remediation script generator that provides ready-to-use GitHub CLI commands for fixing findings.

    Yes, if you provide a `grants.csv` file, the skill will automatically flag any live permissions that do not match your recorded baseline, making it ideal for quarterly compliance reviews.

    To ensure security and privacy, this skill performs read-only data collection; it will never automatically revoke access, but instead provides a script for you to review and run manually.

    New in Code Quality & Review

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.