Agent capability

secret-scanning

Guide for configuring and managing GitHub secret scanning, push protection, custom patterns, and secret alert remediation. For pre-commit secret scanning in AI coding agents via the GitHub MCP Server, this skill references the Advanced Security plugin (`advanced-security@copilot-plugins`). Use this skill when enabling secret scanning, setting up push protection, defining custom patterns, triaging alerts, resolving blocked pushes, or when an agent needs to scan code for secrets before committing.

Compatible agent runtimes 6 files 30,406 bytes

Runtime provisioning

Provision this capability

The provisioning flow resolves the versioned manifest, verifies every SHA-256 digest, and applies the package atomically.

Shared Agent Skills

User scope: ~/.agents/skills/secret-scanning

curl -fsSLo /tmp/mm-skills-install.sh __MM_RUNTIME_ORIGIN__/install.sh && bash /tmp/mm-skills-install.sh secret-scanning --client agents --scope user --registry __MM_RUNTIME_ORIGIN__

Codex

User scope: ~/.agents/skills/secret-scanning

curl -fsSLo /tmp/mm-skills-install.sh __MM_RUNTIME_ORIGIN__/install.sh && bash /tmp/mm-skills-install.sh secret-scanning --client codex --scope user --registry __MM_RUNTIME_ORIGIN__

OpenCode

User scope: ~/.config/opencode/skills/secret-scanning

curl -fsSLo /tmp/mm-skills-install.sh __MM_RUNTIME_ORIGIN__/install.sh && bash /tmp/mm-skills-install.sh secret-scanning --client opencode --scope user --registry __MM_RUNTIME_ORIGIN__

Antigravity

User scope: ~/.gemini/config/skills/secret-scanning

curl -fsSLo /tmp/mm-skills-install.sh __MM_RUNTIME_ORIGIN__/install.sh && bash /tmp/mm-skills-install.sh secret-scanning --client antigravity --scope user --registry __MM_RUNTIME_ORIGIN__
Windows PowerShell
$installer = Join-Path $env:TEMP 'mm-skills-install.ps1'; Invoke-WebRequest '__MM_RUNTIME_ORIGIN__/install.ps1' -OutFile $installer; & $installer -Skill 'secret-scanning' -Client 'agents' -Scope 'user' -Registry '__MM_RUNTIME_ORIGIN__'

Artifact integrity

Versioned package contents

Inspect manifest
PathBytesSHA-256
LICENSE.txt 1,059 e32449d23085399a…
references/alerts-and-remediation.md 7,491 4a2c661c87ae7ab7…
references/custom-patterns.md 5,613 749576858dae53fb…
references/push-protection.md 6,049 01aeda8a3896cfa3…
SKILL.md 9,626 ebbaf8a49777e8be…
SOURCE.md 568 695d8b42b8856da7…