Community研究與資料分析github.com

ghostsecurity/ghost-repo-context

掃描目錄結構、偵測專案、映射依賴關係,並將程式碼組織文件化為 repo.md 檔案。當使用者需要在安全分析前取得程式碼庫概覽、專案結構圖或儲存庫上下文時使用。

ghost-repo-context 是什麼?

此技能「ghostsecurity/ghost-repo-context」會自動掃描目標目錄,分析專案結構、偵測相關專案,並繪製依賴關係圖,最後將所有資訊整理成一個名為 repo.md 的文件。這對於希望快速理解一個不熟悉的程式碼庫或評估專案架構的開發者與安全分析師來說非常有用。該技能支援多種開發環境與 AI Agent 平台,如 Claude Code、Cursor 或 Codex,並透過精準的目錄遍歷和啟發式規則來識別常見的專案類型(如 Node.js、Python、Java 等)及其依賴。使用者只需在適當的上下文中觸發此技能,就能獲得一份結構化的程式碼庫摘要,大幅減少手動探索的時間,從而在進行安全審查、重構或協作時做出更明智的決策。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ghostsecurity/skills/tree/main/skills/ghost-repo-context

Installed? Explore more 研究與資料分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

ghost-repo-context 是做什麼的?

掃描目錄結構、偵測專案、映射依賴關係,並將程式碼組織文件化為 repo.md 檔案。當使用者需要在安全分析前取得程式碼庫概覽、專案結構圖或儲存庫上下文時使用。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

ghostsecurity/ghost-proxy

Starts and controls the reaper MITM proxy to capture, inspect, search, and replay HTTP/HTTPS traffic between clients and servers. Capabilities include starting/stopping the proxy scoped to specific domains, viewing captured request/response logs, searching traffic by method/path/status/host, and inspecting full raw HTTP entries for security analysis. Use when the user asks to "start the proxy", "capture traffic", "intercept requests", "inspect HTTP traffic", "search captured requests", or "view request/response".

ghostsecurity/ghost-report

Ghost Security — combined security report. Aggregates findings from all scan skills (scan-deps, scan-secrets, scan-code) into a single prioritized report focused on the highest risk, highest confidence issues. Use when the user requests a security overview, vulnerability summary, full security audit, or combined scan results.

ghostsecurity/ghost-scan-code

Ghost Security - SAST code scanner. Finds security vulnerabilities in source code by planning and executing targeted scans for issues like SQL injection, XSS, BOLA, BFLA, SSRF, and other OWASP categories. Supports applications (backend, frontend, mobile) and libraries (prototype pollution, unsafe deserialization, ReDoS, path traversal, zip slip). Use when the user asks for a code security audit, SAST scan, vulnerability scan of source code, or wants to find security flaws in a codebase or library.

ghostsecurity/ghost-scan-deps

Ghost Security - Software Composition Analysis (SCA) scanner. Scans dependency lockfiles for known vulnerabilities, identifies CVEs, and generates findings with severity levels and remediation guidance. Use when the user asks about dependency vulnerabilities, vulnerable packages, CVE checks, security audits of dependencies, or wants to scan lockfiles like package-lock.json, yarn.lock, go.sum, or Gemfile.lock.

ghostsecurity/ghost-scan-secrets

Ghost Security - Secrets and credentials scanner. Scans codebase for leaked API keys, tokens, passwords, and sensitive data. Detects hardcoded secrets and generates findings with severity and remediation guidance. Use when the user asks to check for leaked secrets, scan for credentials, find hardcoded API keys or passwords, detect exposed .env values, or audit code for sensitive data exposure.

ghostsecurity/ghost-validate

This skill should be used when the user asks to "validate a finding", "check if a vulnerability is real", "triage a security finding", "confirm a vulnerability", "determine if a finding is a true positive or false positive", or provides a security finding for review. It validates security vulnerability findings by tracing data flows, verifying exploit conditions, analyzing security controls, and optionally testing attack vectors against a live application.

相關技能