stackhawk-api-hawk-op Cursor ruleA
stackhawk-api-hawk-op from stackhawk/agent-skills is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-api-hawk-op.mdc@git:20260914.5fe0d68Pins git:20260914.5fe0d68 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- stackhawk/agent-skills
- Path
cursor/.cursor/rules/stackhawk-api-hawk-op.mdc- Versions recorded
- 4
- Latest version
- git:20260914.5fe0d68, committed Sep 14, 2026
- First version recorded
- Jun 30, 2026
- Size
- 11,020 bytes
- Repository stars
- 16
- License
- MIT
hawk op shortcuts for the StackHawk API: user intent → single hawk op command mapping for scan drill-down, app/user/team/policy/repo/oas/config/secret/audit listing, hosted scan control, env management. All platform queries go through hawk op — no raw REST fallback.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# hawk op Shortcuts — StackHawk API, one command at a time
Cheat sheet: **user intent → `hawk op` command**. `hawk op --help` and
`hawk op <cmd> --help` are the canonical flag references.
See `SKILL.md` for the full workflow.
---
## Setup (once) {#setup-once}
**Install the combined `hawk` CLI** — a single self-contained binary (no Java needed).
macOS — Homebrew (recommended):
```bash
brew tap stackhawk/cli
brew trust stackhawk/cli
brew install hawk
```
Otherwise resolve the binary from the manifest (the source of truth for the version
and every download URL, `https://download.stackhawk.com/hawkdocs/hawk.manifest.json`):
```bash
# macOS / Linux — resolve the right binary from the manifest, then install
MANIFEST=https://download.stackhawk.com/hawkdocs/hawk.manifest.json
case "$(uname -s)/$(uname -m)" in
Darwin/arm64) GROUP=darwin-arm64 ;;
Darwin/x86_64) GROUP=darwin-x64 ;;
Linux/x86_64) GROUP=linux-x64 ;;
Linux/aarch64|Linux/arm64) GROUP=linux-aarch64 ;;
esac
url=$(curl -fsSL "$MANIFEST" | jq -r --arg g "$GROUP" \
'.latest.assets[] | select(.asset.group == $g and (.url | endswith("/hawk"))) | .url')
…Read the whole file at its exact version.
How to install
mdr add stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-api-hawk-op.mdc@sha256:f11d86557b810b77The line at the top of this page pins the label git:20260914.5fe0d68, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_okrzhhcl6hjcwpzy)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 30, 2026 and Sep 14, 2026, about one every 25 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260914.5fe0d68 latest | 2026-09-14 | 5fe0d68 | 11,020 B | A | view · diff |
| git:20260713.1c3038d | 2026-07-13 | 1c3038d | 11,122 B | A | view · diff |
| git:20260713.cc4759f | 2026-07-13 | cc4759f | 10,990 B | A | view · diff |
| git:20260630.b97573a | 2026-06-30 | b97573a | 11,108 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (11020 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
stackhawk/agent-skills · 16 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_okrzhhcl6hjcwpzy GET https://markdownregistry.com/api/v1/resolve?ref=stackhawk/agent-skills/cursor/.cursor/rules/stackhawk-api-hawk-op.mdc GET https://markdownregistry.com/api/v1/blob/f11d86557b810b77d2f4e3a943c04e5f75c3437eb01f91145e170868b999c94a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: Cursor rules vs AGENTS.md · which agent file does what.