01
It starts by itself
workflow file changed. Runs in GitHub Actions or Claude Code routine.
- ↻ workflow file changed
pull_request paths .github/workflows/**
Catch risky CI workflow changes.
Install the CI/CD security skill and make it a habit: follow https://gethabit.dev/skills/superagent-ai/ci-cd-security.md
8K installs79 starsMIT licenceSource on GitHub ↗

CI/CD security
by superagent-ai · 8K installs
The skill
The ci/cd security skill reviews GitHub Actions workflow YAML for risky triggers, permissions, action pinning and injection patterns, with no tools to install, for maintainers hardening their pipelines.
Only when you ask.
The habit
Catch risky CI workflow changes.
↻ Runs by itselfworkflow file changed
When does it start? How does it check its work? What does it remember?
Stops after ten workflow files per run.
Gather the changed files under .github/workflows/ from the pull request.
Review the on: block for risky triggers like pull_request_target and workflow_run.
Look for missing or broad permissions: blocks.
Review every uses: line for tag or branch pins.
Look for untrusted values placed straight into run: scripts and fix them with env.
Walk checkout, caching, artifacts, release and runner passes.
List findings by severity, P0 first, with a rewrite, or say nothing fired and what was not checked.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the CI/CD security skill helps.
No. The review is the model reading the YAML against fixed rules.
No. Repo and org settings are outside the scan and need a separate check.
Copy the prompt at the top into your agent. It installs the skill from superagent-ai/skills and sets up the habit. Or run npx skills add superagent-ai/skills --skill ci-cd-security.
Yes. It is published under MIT. Habit is free too.
Install the CI/CD security skill and make it a habit: follow https://gethabit.dev/skills/superagent-ai/ci-cd-security.md
All superagent-ai skills →More code skills →
Works in
Made by superagent-ai, published under MIT. Habit links to the original and never changes it. Is this your skill?