ghost-report skill
Aggregates findings from dependency, secrets, and code scans into a single prioritized security report.
- GitHub stars
- 441
- Files
- 2
- Last commit
- Sep 28, 2026
- License
- apache-2.0
- Allowed tools
- 6
What does the ghost-report skill do?
ghost-report aggregates findings from dependency, secrets, and code scans into a single prioritized security report.
Summary generated from the skill's SKILL.md.
About the ghost-report skill
Aggregating security findings from multiple sources into a single prioritized document is what ghost-report enables for developers performing audits. When an agent needs to provide a vulnerability summary or a full security overview, it loads this skill to combine data from dependency, secrets, and code scans. It relies on existing scan results stored in specific directories and uses tools like Bash, Glob, and Grep to process the information.
The skill processes findings from scan-deps, scan-secrets, and scan-code to create a self-contained markdown report. It filters for high-confidence issues, such as confirmed-exploitable dependencies or verified code vulnerabilities, and sorts them by severity. Instead of providing links to external files, it inlines the full content of high and medium severity findings, including code snippets and remediation commands, directly into the final report. This ensures the output is a complete, standalone document for reviewing the highest risk areas of a repository.
What an agent can do with it
- 1Generate a full security auditRequest a comprehensive security overview that combines results from dependency, secrets, and code scans.
- 2Prioritize high-risk vulnerabilitiesCreate a report that focuses only on the most critical and high-confidence security issues.
- 3Produce a self-contained remediation guideGenerate a report that includes all necessary code snippets and remediation commands without needing to open separate files.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the ghost-report skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the ghost-report skill in Plugin
/plugin marketplace add ghostsecurity/skills /plugin install ghost@ghost-security
Install the ghost-report skill in Claude Code
~/.claude/skills/ghost-report/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/report ~/.claude/skills/ghost-reportInstall the ghost-report skill in Claude Code (project)
.claude/skills/ghost-report/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/report .claude/skills/ghost-reportInstall the ghost-report skill in Codex
~/.agents/skills/ghost-report/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/report ~/.agents/skills/ghost-reportInstall the ghost-report skill in Gemini CLI
~/.gemini/skills/ghost-report/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/report ~/.gemini/skills/ghost-reportInstall the ghost-report skill in Claude.ai
npx degit ghostsecurity/skills/plugins/ghost/skills/report ghost-report && zip -r ghost-report.zip ghost-report # claude.ai → Customize → Skills → + → Create skill → Upload a skill → ghost-report.zip
Automated checks
Ran Nov 15, 2026Full report →Not verified yet. A skill needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachableghostsecurity/skills/plugins/ghost/skills/report is public and reachablegithub.com/ghostsecurity/skills/tree/HEAD/plugins/ghost/skil ↗Pass
- Open source license (OSI)apache-2.0spdx.org/licenses/apache-2.0.html ↗Pass
- Commit or release in the last yearLast commit 2026-09-28github.com/ghostsecurity/skills/commits ↗Pass
- No download-and-run or credential theft in scriptsNo scripts in the skill folderPass
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Pass
- Pre-approved tools are scopedBash lets the agent run any shell command without askinggithub.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Finding
- SKILL.md follows the Agent Skills formatname "ghost-report" differs from the folder "report"github.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Finding
SKILL.md
View on GitHubCombined Security Report
You aggregate findings from all scan skills (scan-deps, scan-secrets, scan-code) into a single prioritized report. Do all work yourself — do not spawn subagents or delegate.
$ARGUMENTS
Step 0: Setup
Run this Bash command to compute paths:
repo_name=$(basename "$(pwd)") && remote_url=$(git remote get-url origin 2>/dev/null || pwd) && short_hash=$(printf '%s' "$remote_url" | git hash-object --stdin | cut -c1-8) && repo_id="${repo_name}-${short_hash}" && short_sha=$(git rev-parse --short HEAD 2>/dev/null || date +%Y%m%d) && ghost_repo_dir="$HOME/.ghost/repos/${repo_id}" && scans_dir="${ghost_repo_dir}/scans/${short_sha}" && cache_dir="${ghost_repo_dir}/cache" && skill_dir=$(find . -path '*/skills/report/SKILL.md' 2>/dev/null | head -1 | xargs dirname) && echo "scans_dir=$scans_dir cache_dir=$cache_dir skill_dir=$skill_dir"
Store scans_dir (commit-level scan directory), cache_dir, and skill_dir.
Cache Check
If <scans_dir>/report.md already exists, show:
Combined security report is at: <scans_dir>/report.md
And stop. Do not regenerate it.
Step 1: Read Repo Context
Read <cache_dir>/repo.md if it exists. Extract:
- Business criticality
- Sensitive data types
- Component map
If it does not exist, continue without it — this is not an error.
Step 2: Discover Scan Results
List the contents of <scans_dir> to see which scan-type directories exist. Recognized types:
deps/— SCA / dependency vulnerability scansecrets/— secrets and credentials scancode/— code security scan (SAST)
If none of these directories exist, report an error:
No scan results found in <scans_dir>. Run one or more scan skills first:
/ghost-scan-deps
/ghost-scan-secrets
/ghost-scan-code
And stop.
Step 3: Collect Findings
For each scan type that exists, glob <scans_dir>/<type>/findings/*.md and read each finding file in full. Retain the complete markdown body of every finding — the report will inline this content directly so readers never need to open individual finding files.
From each finding, also extract these metadata fields for filtering and sorting:
- ID — from
## Metadata→ID - Type — the scan type (
deps,secrets, orcode) - Severity — from
## Metadata→Severity(high, medium, low) - Status — from
## Metadata→Status(e.g., confirmed-exploitable, unverified, verified, rejected, clean)
Step 4: Filter and Sort
Filter: Keep only high-confidence findings:
- For
depsfindings: status isconfirmed-exploitable - For
secretsfindings: status is NOTcleanand NOTrejected - For
codefindings: status isverifiedorunverified(NOTrejected)
Exclude any finding with status clean, rejected, or false-positive.
Sort the remaining findings:
- By severity: high first, then medium, then low
- Within same severity: deps before secrets before code
Step 5: Read Per-Scan Reports
For deps and secrets scan types, read <scans_dir>/<type>/report.md if present. Extract:
- Statistics (candidates scanned, confirmed findings, false positives filtered)
- Executive summary highlights
Note: code does not produce a report.md. For code scan coverage, count the finding files in <scans_dir>/code/findings/ directly. The "Candidates Scanned" count is the total number of finding files (all statuses). "Confirmed Findings" is the count with status verified, confirmed, or unverified. "False Positives Filtered" is the count with status rejected. Do NOT count clean file analyses from the nomination/analysis funnel — those never became findings.
If a per-scan report does not exist for deps or secrets, note it as unavailable.
Step 6: Generate Report
- Read
<skill_dir>/report-template.md - Populate the template with collected data:
- Fill Scan Information with repository name, commit SHA, date, and which scans ran
- Write Executive Summary using repo context and aggregated findings
- For all writing elements in this security-focused, objective and fact based report, use a neutral, human tone that balances expertise with ease of reading. Do not use emojis, em-dashes, etc.
- For Critical & High findings (severity = high): inline the substantive content from each finding file directly into the report — include code snippets, assessment tables, remediation commands, and all relevant detail so the report is fully self-contained
- For Medium findings: write a full subsection per finding with description, location, code context, and remediation (not a condensed table)
- Omit low-severity findings (they remain in per-scan finding files only)
- Fill Scan Coverage table from per-scan report statistics (for code, use finding file counts from Step 5)
- Add a brief methodology note per scan type that ran (1-2 sentences drawn from per-scan reports)
- Do NOT include links to per-scan reports or individual finding files — all content is inlined
- Write the report to
<scans_dir>/report.md
Step 7: Show Output
Combined security report is at: <scans_dir>/report.md
Files in this skill
2ghost-report skill questions
How do I install the ghost-report skill in Claude Code?
Run npx degit ghostsecurity/skills/plugins/ghost/skills/report ~/.claude/skills/ghost-report. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the ghost-report skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
How are findings prioritized in the final report?
Findings are filtered for high confidence and then sorted by severity (high, medium, low) and then by scan type (deps, secrets, then code).
Does the report include low-severity findings?
No, low-severity findings are omitted from the main report and remain in the individual per-scan finding files.
What happens if a report has already been generated?
The tool will detect the existing report and provide the file path instead of regenerating it.