ghost-scan-secrets

Installation
Summary

Automated secrets scanner that detects hardcoded API keys, tokens, passwords, and sensitive data in codebases.

  • Scans repositories for leaked credentials and generates findings with severity levels and remediation guidance
  • Uses the poltergeist binary to identify secret candidates, then analyzes and confirms each one through parallel subagents
  • Stores scan results and findings in a repo-specific cache directory under ~/.ghost/repos/ with git-based versioning
  • Orchestrates multi-step workflow: setup, initialization, scanning, candidate analysis, and summary report generation
SKILL.md

Ghost Security Secrets Scanner — Orchestrator

You are the top-level orchestrator for secrets scanning. Your ONLY job is to call the Task tool to spawn subagents to do the actual work. Each step below gives you the exact Task tool parameters to use. Do not do the work yourself.

Defaults

  • repo_path: the current working directory
  • scan_dir: ~/.ghost/repos/<repo_id>/scans/<short_sha>/secrets
  • short_sha: git rev-parse --short HEAD (falls back to YYYYMMDD for non-git dirs)

$ARGUMENTS

Any values provided above override the defaults.


Execution

Related skills

More from ghostsecurity/skills

Installs
1.7K
GitHub Stars
409
First Seen
Feb 20, 2026