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.
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-ciRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asamassekou10/ship-safe /tmp/ship-safe && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ship-safe/claude-code-plugin/skills/ship-safe-ci ~/.gemini/antigravity-cli/skills/ship-safe-ciAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
