Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ship-safe-ci

Skill by asamassekou10

Ship Safe CI sets up Ship Safe as a security gate in CI/CD pipelines. It runs the ci command with pass/fail thresholds, SARIF or JSON output, and exit codes for pipeline checks.

  • Score 72
  • 871 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ship-safe-ci

Built from the published package, never by AI.

git clone --depth 1 https://github.com/asamassekou10/ship-safe /tmp/ship-safe && mkdir -p ~/.claude/skills && cp -r /tmp/ship-safe/claude-code-plugin/skills/ship-safe-ci ~/.claude/skills/ship-safe-ci

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ship-safe-ci in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Ship Safe CI is a skill that helps set up Ship Safe as a security gate in a CI/CD pipeline. It runs the ci command from the npx ship-safe package on a given path. By default, the scan passes when the score is 75 or higher. The output is a one-line summary with score, grade, findings by severity, and CVE count, followed by PASS or FAIL. The exit code is 0 for pass and 1 for fail.

The skill explains options for a custom threshold, failing only on critical or high findings, SARIF output for GitHub Code Scanning, JSON output, baseline mode that checks only new findings, and skipping the dependency audit. It also includes example workflow snippets for GitHub Actions, GitLab CI, and generic CI. It is aimed at developers and teams who want to add security checks to their pipeline or test their pipeline configuration.

Written from the project's SKILL.md and checked against it.

What it can do

  • Run CI scanRuns Ship Safe in CI mode on a path with compact, log-friendly output.
  • Score thresholdSets a custom passing score with the --threshold option, defaulting to 75.
  • Severity gatingFails only on critical findings or on critical and high findings with --fail-on.
  • SARIF outputWrites a SARIF file for upload to GitHub Code Scanning with inline PR annotations.
  • JSON outputProduces JSON output for custom integrations or GitLab CI reports.
  • Baseline modeChecks only new findings against a saved baseline created with the baseline command.
  • Dependency audit skipSkips the dependency audit with the --no-deps option.
  • CI configuration helpOffers workflow snippets for GitHub Actions, GitLab CI, and generic CI.

What you need

  • Node.js (the command runs through npx)

Try asking

  • Add a Ship Safe security gate to my GitHub Actions workflow with SARIF upload.
  • Run Ship Safe CI on this project and fail only on critical findings.
  • Create a Ship Safe baseline and set up CI to catch only new vulnerabilities.

Good to know

  • The scan command in the skill discards stderr with 2>/dev/null.
  • The default pass rule requires a score of 75 or higher unless a threshold is set.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: claude-code-plugin/skills/ship-safe-ci/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md2 KB

Alternatives to ship-safe-ci

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

ship-safe-ci: common questions

What exit codes does Ship Safe CI return?

Exit code 0 means the scan passed and exit code 1 means it failed. This lets a pipeline stop when the security check fails.

Can Ship Safe CI upload results to GitHub Code Scanning?

Yes. The --sarif option writes a SARIF file, which the skill says can be uploaded to GitHub Code Scanning for inline PR annotations.

How can I roll out Ship Safe gradually in CI?

The skill suggests creating a baseline, using --baseline to catch only new vulnerabilities, and starting with --fail-on critical.

How do I install ship-safe-ci?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ship-safe-ci free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ship-safe-ci safe to use?

It scores 72 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ship-safe-ci?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

ship-safe-ci Install

Add to stack

Loading.