audit-github-tokens

Scan SKILL.md files to map GitHub token usage to required permission scopes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/edri2or/ripo-skills-main --skill audit-github-tokens
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-github-tokens
Source: https://github.com/edri2or/ripo-skills-main/tree/main/exported-skills/audit-github-tokens
Command: npx skills add https://github.com/edri2or/ripo-skills-main --skill audit-github-tokens

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits organization-wide GitHub token usage by scanning all SKILL.md files, mapping each skill's operations to required permission scopes, and generating least-privilege recommendations.

Core Features & Use Cases

  • Inventory token usage across SKILL.md files in an organization and classify by operation type.
  • Map operations to required scopes using a built-in lookup and surface safe, least-privilege recommendations per skill.
  • Generate a governance-ready report for security reviews and compliance audits.

Quick Start

Run the audit-github-tokens skill to scan all SKILL.md files in the organization and produce a least-privilege report without modifying any content.

Frequently Asked Questions about audit-github-tokens

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit GitHub token permissions for least-privilege compliance?

This Skill audits GitHub token usage by scanning all SKILL.md files to detect token usage patterns and map each skill's operations to required permission scopes. It generates a structured least-privilege report highlighting reduced scopes, unknown tools, and manual-review flags.

Can I generate a security report for GitHub tokens without modifying any files?

Yes, you can generate a governance-ready security report by scanning SKILL.md files to categorize risks and map scopes. The audit process strictly avoids modifying any files or tokens, ensuring a safe read-only review of your organization's GitHub token usage.

How do I map GitHub CLI calls to required permission scopes?

Mapping GitHub CLI calls to permission scopes involves scanning SKILL.md files for detected tools or gh CLI calls and known API patterns. These operations are then categorized by risk to surface safe, least-privilege recommendations per skill.

Does the GitHub token audit work with repo-scoped tokens?

Yes, the GitHub token audit categorizes risks and scope needs specifically within the limitations of a repo-scoped token. It collects per-skill details such as repository, file path, and detected tools to ensure accurate permission mapping.

What is least-privilege token scope and how do I check it across an organization?

Least-privilege token scope limits GitHub access to only the permissions required for specific operations. You can check this organization-wide by inventorying token usage across SKILL.md files and classifying operations to generate safe scope recommendations.

How do I inventory GitHub token usage across all organizational skills?

To inventory GitHub token usage, scan all SKILL.md files in the organization to collect details like repo, file path, and detected API patterns. This classifies operations by type and flags unknown tools for manual security review.