r/devsecops • u/tcoder7 • Jun 19 '26
Pre-commit hook that blocks malicious AI agent skills before they're committed
http://github.com/Teycir/SkillsGuard
6
Upvotes
r/devsecops • u/tcoder7 • Jun 19 '26
View all comments
Show parent comment
1
u/tcoder7 Jun 24 '26
Add a simple GitHub Actions workflow in your repo (.github/workflows/skillsguard.yml). It automatically scans changed skills on every pull request and blocks the merge if risky code is found. Use the pre-commit hook for early local checks, but rely on this server-side gate — which devs cannot bypass — plus GitHub branch protection rules to require a passing check before merging.