shadow-ai-git
Installation
SKILL.md
Git Shadow AI Detection
Use this skill to identify AI usage and AI-adjacent risk from source repositories.
Workflow
- Start from one checked-out repo, a directory containing multiple repos, or a text file of repo paths.
- Run
scripts/analyze_git_shadow_ai.py --input <repo-or-folder> --output-dir <analysis>. - For multiple explicit paths, use
--repo-list <paths.txt>instead of--input. - Review confidence before making claims:
confirmed_code_usage: direct import, API call, MCP config, model ID, provider client, or runtime configuration.dependency_signal: package, lockfile, image, or build dependency without direct usage.prompt_or_data_signal: prompt, eval, training, dataset, or benchmark artifact.ci_cd_signal: AI provider, AI tool, or AI dependency in build or workflow automation.keyword_only: weak naming, docs, or comments signal; validate manually.
- Hand the output directory to
git-security-reportfor consolidated reporting.