findaskill

—skills · counting…

30,375MCP servers

SkillsMCP serversAgent BuilderRun agentSoon
Sign in
  1. Home
  2. Skills
  3. Security Auditing
  4. secret-scanning
Security skillsVerified Skill

secret-scanning: Claude Code Skill & Agent Tool

An open-source skill by github (opens in a new tab), published in the github/awesome-copilot (opens in a new tab) repository on GitHub. Configures GitHub secret scanning and push protection, defines custom patterns, triages alerts and lets your agent check code for secrets before it commits.

Install secret-scanning

Requires Node.js
$ npx skills add github/awesome-copilot --skill secret-scanning

Run this command in your project terminal to install this skill for Claude Code.

What this skill does

secret-scanning is a guide your agent follows to configure and manage GitHub secret scanning end to end. It explains how detection works and where it is available, then walks through enabling Secret Protection, turning on push protection so commits containing credentials are blocked before they reach the repository, configuring path exclusions, and switching on optional extra detection features.

When a push is blocked, the skill gives the agent three clear paths: remove the secret — amending the last commit, or rewriting history with an interactive rebase when the secret is older — bypass push protection with a documented reason, or request bypass privileges. It also covers custom patterns for your organization's own token formats, their scopes, and assisted pattern generation.

For alerts, the agent learns the alert types and lists, a clear remediation priority — rotate the credential immediately, then review the alert, check whether the secret is still active and clean history only if needed — and how to dismiss an alert properly. For checking code inside an AI coding agent before it commits, the skill points to GitHub's Advanced Security plugin. Use it with Claude Code to lock down a repository after a leaked key.

Key Capabilities

  • Enables Secret Protection and push protection step by step
  • Three ways to resolve a blocked push: remove, bypass with a reason, or request bypass
  • Custom patterns for your own token formats
  • Alert triage: rotate first, check validity, then clean history only if needed
  • Points to GitHub's Advanced Security plugin for pre-commit checks in coding agents

How to use with Claude Code & AI Agents

  1. 01

    Install the skill

    Run the command above at the root of your project. The CLI asks which agents to set up — Claude Code, Cursor and other supported agents — and adds secret-scanning to the project, so teammates who pull the repository get it too. Add -g to install it for your user account across every project.
  2. 02

    Open a new agent session

    Start a fresh Claude Code session in that project so the agent loads the new skill. Have ready: A GitHub repository where secret scanning is available.
  3. 03

    Ask in plain words

    Describe the task, for example:“Enable secret scanning and push protection on this repository and add a custom pattern for our API tokens.”The agent matches your request to the skill's description and follows its SKILL.md instructions step by step. Read them on GitHub before using the skill on a system that matters.

Skill details

Author
github (opens in a new tab)
Repository
github/awesome-copilot (opens in a new tab)
Install name
secret-scanning
Category
Security Auditing
Works with
  • Claude Code
  • Cursor
  • Agent CLI
Requirements
  • Node.js (runs the installer)
  • A GitHub repository where secret scanning is available
View source on GitHub (opens in a new tab)

Verified by findaskill: the repository exists and npx skills add finds this skill under this exact name.

Related Skills in Security Auditing

  • getsentry

    security-review

    Sentry's systematic security code review for injection, XSS, authentication, authorization and cryptography issues, with confidence levels that keep false positives out of the report.

    View skill
  • trailofbits

    supply-chain-risk-auditor

    Audits every dependency in your lockfile for known advisories, abandoned or archived upstreams, publisher concentration and install-time scripts before they reach production.

    View skill
Back to all Security Auditing skills

By using it, you agree to our Terms and Privacy Policy. . Contact us.

Explore Skills & Tools

findaskill

The open skills directory for Claude Code & AI agents

© 2026 findaskill

Categories

  • Coding
  • SEO
  • Scraping
  • DevOps
  • Security
  • MCP

Featured Skills

  • seo-auditMarketing & Technical SEO
  • firecrawl-seo-auditWeb Crawling & Audit
  • audit-websiteAutomated Code Fixer
  • web-quality-seoLighthouse & Standards

Platform & Legal

  • Skills Catalog
  • Categories
  • MCP Directory
  • Terms
  • Privacy