hawkscan-ci

hawkscan-ci is a skill for Claude Code from stackhawk/agent-skills. It costs 232 tokens per session (4,556 once invoked), scanned C, original, MIT.

A workflow for adding HawkScan, a web-application security scanner, to a continuous integration or continuous delivery pipeline. It configures the pipeline after a working local HawkScan setup has been validated.

In plain words
What is it for?
Use it to detect the CI provider, connect the existing HawkScan configuration to its pipeline file, and add the appropriate scan step.
Why use it?
It helps run security scans automatically during software delivery while avoiding a pipeline configuration built on a missing or invalid scan setup.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hawkscan-ci plugin — 1 skill shipped together

Good fit Use it to detect the CI provider, connect the existing HawkScan configuration to its pipeline file, and add the appropriate scan step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stackhawk/agent-skills/hawkscan-ci
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add stackhawk/agent-skills --skill hawkscan-ci
Clone the repo
git clone --depth 1 https://github.com/stackhawk/agent-skills

Made for: Claude Code.

Or install hawkscan-ci, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hawkscan-ci

README.md
[![agentmods](https://agentmods.dev/badge/skills/stackhawk/agent-skills/hawkscan-ci/github.svg)](https://agentmods.dev/skills/stackhawk/agent-skills/hawkscan-ci)
Your own site
<a href="https://agentmods.dev/skills/stackhawk/agent-skills/hawkscan-ci"><img src="https://agentmods.dev/badge/skills/stackhawk/agent-skills/hawkscan-ci/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hawkscan-ci

Your own site · 80×15
<a href="https://agentmods.dev/skills/stackhawk/agent-skills/hawkscan-ci"><img src="https://agentmods.dev/badge/skills/stackhawk/agent-skills/hawkscan-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 232 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,556 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00232 $0.04556
Opus 5.5 $0.00093 $0.01822
Sonnet 5.5 $0.00046 $0.00911
Haiku 4.5 $0.00023 $0.00456

Measured 7d ago against content hash 9339abac9c36, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

hawkscan-ci scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| 3. Install script | `curl -fsSL https://download.stackhawk.com/hawk/install.sh \| sh`, then `export PATH="$HOME/.local/bin:$PATH"` | Every other provider: GitLab, Jenkins, CircleCI, Azure Pipelines (when the extension

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| 3. Install script | `curl -fsSL https://download.stackhawk.com/hawk/install.sh \| sh`, then `export PATH="$HOME/.local/bin:$PATH"` | Every other provider: GitLab, Jenkins, CircleCI, Azure Pipelines (when the extension
plugins/hawkscan-ci/skills/hawkscan-ci/SKILL.md · 346 lines

How it starts

The opening of the file, as written. The whole thing — 346 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HawkScan CI Skill

This skill graduates a working local HawkScan setup into a CI/CD pipeline. It is a wrapper around the local-scan path the hawkscan skill owns — it never generates stackhawk.yml, never picks auth recipes, never parses findings. Its scope is the pipeline file alone.

Hand-off rule: if stackhawk.yml doesn't exist or doesn't validate, the agent must invoke the hawkscan skill first. This skill does not onboard apps from scratch.


Step 0: Hand-off Check

Before doing anything CI-specific, confirm the local scan path is in place. Run:

test -f stackhawk.yml || echo "MISSING_CONFIG"
timeout 30 hawk validate config stackhawk.yml 2>&1 | head -20

If stackhawk.yml is missing, validation fails, or applicationId is still a placeholder (${APP_ID} with no real value, or literal your-app-id):

"I need a working local scan first. Run the hawkscan skill (or invoke it explicitly) to generate and validate stackhawk.yml, then come back here."

Stop. Do not proceed. That message is the entire output: do not preview the pipeline (no action names, images, secrets, triggers, or workflow snippets) — the provider and shape are decided only once stackhawk.yml validates.


Step 1: Detect the CI Provider

Glob the repo for known CI config locations:

ls .github/workflows/*.yml .github/workflows/*.yaml 2>/dev/null
ls .gitlab-ci.yml 2>/dev/null
ls Jenkinsfile* 2>/dev/null
ls .circleci/config.yml 2>/dev/null
ls azure-pipelines*.yml 2>/dev/null
ls bitbucket-pipelines.yml 2>/dev/null
ls .buildkite/pipeline.yml 2>/dev/null
ls .travis.yml 2>/dev/null
ls -d bamboo-specs 2>/dev/null
ls concourse/*.yml 2>/dev/null
ls -d harness 2>/dev/null
ls appspec.yml buildspec.yml 2>/dev/null
Match Provider
.github/workflows/*.yml, *.yaml GitHub Actions
.gitlab-ci.yml GitLab CI/CD
Jenkinsfile, Jenkinsfile.* Jenkins
.circleci/config.yml CircleCI
azure-pipelines*.yml Azure Pipelines
bitbucket-pipelines.yml Bitbucket Pipelines
.buildkite/pipeline.yml Buildkite
.travis.yml Travis CI
bamboo-specs/ Bamboo
appspec.yml, buildspec.yml AWS CodeBuild / CodeDeploy
concourse/*.yml (heuristic — confirm with user) Concourse
harness/ Harness

Read the full file on GitHub · 346 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed 9339abac9c36
  2. 14d ago Changed · +1 lines scan A → C f1aba448ea62
  3. 1mo ago Changed 4c7da93b207a
  4. 1mo ago Changed eb81506632b5
  5. 2mo ago Changed 498470fa723e
  6. 2mo ago Changed 70263935bc70
  7. 2mo ago Changed · +2 lines 789e01849f8a
  8. 2mo ago Changed 731fed7a8d04
  9. 2mo ago Changed a07e908e8a9c
  10. 3mo ago First seen · 343 lines · 232 tokens per session scan A ec13922da70f

Subscribe to this mod's changes

hawkscan-ci is a skill published in the GitHub repository stackhawk/agent-skills (17 stars, last pushed yesterday), licensed MIT. It adds 232 tokens to every session and 4,556 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

hawkscan-ci compared with skills from other repositories

hawkscan-ci next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hawkscan-cistackhawk/agent-skillsSkill17yesterdayMITC232Claude Code
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.6kyesterdayMITA69Claude Code
webhook-managementhoangsonww/Claude-Code-Agent-MonitorSkill1.2k3d agoMITA56Claude Code, Codex
monorepo-managementwshobson/agentsSkill43k2d agoMITC54Claude Code
managing-github-actions-secretsPostHog/posthog-fossSkill734todayMITA67Claude Code, Codex
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
update-github-workflowstarlepp/symfony-flex-backendSkill286todayMITA41Claude Code, Codex