
Action Remediate
- 46 installs
- 129 repo stars
- Updated August 4, 2026
- bitwarden/ai-plugins
action-remediate is a Claude Code skill that applies GitHub Actions pin or replacement fixes across repos and opens draft PRs based on action-audit findings.
About
This skill remediates GitHub Actions findings identified by the action-audit skill. It applies the right fix per action type (a @main ref for internal bitwarden actions, a full SHA with version comment for external actions, or a full replacement) across selected repos and opens draft PRs. It shows a diff and asks for confirmation before every commit.
- Applies fixes for GitHub Actions findings from action-audit
- Pins internal actions to @main and externals to SHA with version comment
- Creates draft PRs with a diff-and-confirm gate before each commit
Action Remediate by the numbers
- 46 all-time installs (skills.sh)
- Ranked #1,361 of 2,203 Security skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
action-remediate capabilities & compatibility
Free; requires an authenticated GitHub CLI (gh) and local repo clones.
- Capabilities
- security remediation · supply chain audit · pull request automation
- Works with
- github
- Use cases
- security audit · ci cd · devops
- Pricing
- Free
What action-remediate says it does
Remediate GitHub Actions action findings identified by the action-audit skill.
Only modify files under `.github/`.
All PRs must be created as drafts.
npx skills add https://github.com/bitwarden/ai-plugins --skill action-remediateAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 46 |
|---|---|
| repo stars | ★ 129 |
| Last updated | August 4, 2026 |
| Repository | bitwarden/ai-plugins ↗ |
What it does
Apply GitHub Actions pin or replacement fixes across repos and open draft PRs, based on prior action-audit findings.
Who is it for?
Fixing unpinned or compromised GitHub Actions by pinning to SHAs or replacing them and opening draft PRs.
Skip if: Detecting findings (run action-audit first) or modifying files outside .github/.
When should I use this skill?
You have action-audit findings and want to apply fixes and open PRs.
What you get
Affected workflow files are pinned or replaced and each repo gets a draft PR after a confirmed diff.
- Fixed workflow files under .github/
- Draft PRs per repo
By the numbers
- 3 remediation approaches (pin to main, pin update, replace)
- 40-char SHA pins
- all PRs created as drafts
Files
Rules
- No mutating API calls without confirmation.
gh apiGET requests are allowed freely. Any call using-X POST,-X PUT,-X PATCH, or-X DELETEmust be shown to the user and approved before execution. - Never force-push, delete branches, or delete repositories.
- Only modify files under `.github/`. Do not touch application code, scripts, or configuration outside of workflow files.
- Show a diff and get confirmation before every commit.
- All PRs must be created as drafts.
- Flag uncertainty. If a finding is ambiguous or a fix could break a workflow, stop and ask rather than guessing.
Step 1: Confirm Audit Findings
Before proceeding, verify that the user has audit findings to act on. These should come from a prior run of the action-audit skill. Confirm:
- Which repos to remediate (all, a subset, or specific ones)
- The remediation approach:
- pin to main — for internal
bitwarden/actions: change the ref to@main - pin update — for external actions: update to a verified 40-character SHA with an inline version comment
- replace — swap to a different action entirely
- The target SHA, replacement action, or confirmation that
@mainis the fix
If any of this is unclear, ask the user before continuing.
Step 2: Apply Fixes Per Repo
For each selected repo:
1. Ask the user for the base directory where their repos are cloned (if not already known). Check if a local clone exists at <base-dir>/<repo>. If not, inform the user and skip that repo.
2. Create a fix branch:
git checkout -b fix/action-remediation-<action-name-slug>3. Apply the fix to each affected file based on the remediation approach:
- Pin to main (internal `bitwarden/` actions): Replace the ref with
@main— e.g.,uses: bitwarden/gh-actions/action@v1→uses: bitwarden/gh-actions/action@main. No SHA resolution needed. - Pin update (external actions): Replace the
uses:line withuses: <action>@<sha> # <original-ref> - Replace: Before applying, verify the replacement action is on Bitwarden's approved actions list in
bitwarden/workflow-linter. Then swapuses: <old-action>@<ref>withuses: <new-action>@<sha> # <tag>
4. Show a git diff of changes in this repo and get confirmation before proceeding.
Step 3: Create PRs
After fixes are confirmed, for each repo:
git add .github/
git commit -m "Remediate <action-name> action usage"
gh pr create \
--title "Remediate <action-name> action usage" \
--body "$(cat <<'EOF'
## Summary
Remediates usage of `<action-name>` across this repository.
**Action taken:** <pin updated to `<sha>` / replaced with `<new-action>`>
**Reason:** <compromised action / deprecated action / unpinned reference>
EOF
)" \
--draftStep 4: Final Summary
Output a summary of all actions taken:
| Repo | Files Changed | PR Created | Notes |
|---|---|---|---|
| ... | ... | ... | ... |
Remind the user that code search results may have a lag and to verify no repos were missed by checking manually if this is a security incident.
Related skills
FAQ
Do I need to run action-audit first?
Yes. action-remediate applies fixes based on prior action-audit findings and confirms which repos and approach to use before changing anything.
How does action-remediate apply fixes safely?
It only modifies files under .github/, shows a git diff and asks for confirmation before every commit, and creates all PRs as drafts; it never force-pushes or deletes branches.