Agent skill · Security

oma-deepsec

Drive Vercel's `deepsec` agent-powered vulnerability scanner end-to-end: installing the `.deepsec/` workspace, bootstrapping `INFO.md`, running cost-aware `scan` / `process` / `triage` / `revalidate` / `export` passes, gating PRs with `process --diff`, writing custom matchers, and triaging findings. Use whenever the user mentions deepsec, asks an agent to scan a repo for vulnerabilities, runs into `pnpm deepsec` / `bunx deepsec` commands, wants a CI-based PR security review, sees a `.deepsec/` directory, or asks about `INFO.md` / matchers / `process --diff` / `revalidate`, even when the tool n

first-flukegithub.com/first-flukeGitHub ↗
claude-codecodexcursorMIT
Install
npx skills add first-fluke/oh-my-agent --skill oma-deepsec --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 21 KB
Bundled scripts: none
Path: .agents/skills/oma-deepsec/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,204
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Drives Vercel's deepsec agent-powered vulnerability scanner end-to-end in a target repository. It bootstraps the .deepsec/ workspace, writes a project-specific INFO.md, runs a sequence of passes (scan, process, triage, revalidate, export) with cost awareness, gates PRs in CI via process --diff, and supports creating project-specific matchers and triaging findings. It is activated when the user mentions deepsec, asks to scan a repo for vulnerabilities, runs into pnpm deepsec / bunx deepsec commands, or asks about INFO.md / matchers / process --diff / revalidate, even if the tool name isn’t spoken.

How it works

  • Entry checks for an existing .deepsec/ workspace; if present, treats the run as incremental. If not, it can initialize with bunx deepsec init.
  • It resolves the user intent (setup vs scan vs pr-review vs matchers vs triage vs config) and estimates scale via repo file count to forecast cost.
  • It ensures credentials exist (AI_GATEWAY_API_KEY, VERCEL_OIDC_TOKEN, or other supported credential modes) before proceeding.
  • It prompts to choose an agent backend (codex or claude) for the first paid call, unless a choice is already pinned or provided by the user.
  • It writes or updates data/<id>/INFO.md (50-100 lines) with project-specific sections and examples.
  • It executes a calibrated sequence of passes (scan, process with optional --limit/--concurrency, then triage / revalidate / export) and surfaces cost notes.
  • In PR mode, it scaffolds a two-job CI pattern using process --diff <base> and a separate comment-out job, wiring the PR gate behavior.
  • It supports authoring or wiring project-specific matchers via .deepsec/matchers/<slug>.ts and updates the inline plugin in deepsec.config.ts; it can validate hit rate via bunx deepsec scan --matchers <slug>.
  • It includes a verify/finalize stage that reports RunMeta, severity counts, cost, FP rate, and follow-up steps.

When to use it

  • On first-time installation of deepsec in a repo (init, INFO.md write).
  • When running a full or scoped scan and processing findings.
  • To set up a per-PR CI gate with process --diff and optional comment-out workflow.
  • To write a project-specific matcher for gaps not covered by defaults.
  • To triage a backlog of findings (severity bucketing, FP cuts via revalidate, exporting findings).
  • To diagnose deepsec failures (credential issues, quota stops, refusals).

What it can touch

  • Commands and files: bunx deepsec init, bunx deepsec scan, bunx deepsec process, bunx deepsec triage, bunx deepsec revalidate, bunx deepsec export, and related options as described. It writes to and reads from .deepsec/ including data/<id>/INFO.md, data/<id>/files/, runs/, and config files, and writes .deepsec/matchers/<slug>.ts and deepsec.config.ts modifications for matchers.

Caveats

  • Deepsec scans are costly; a full scan can cost hundreds to tens of thousands of dollars. The skill exists to help manage expectations and budgeting. It requires credentials and configuration; failures may occur due to missing AI credentials, quota limits, or subscription constraints. It emphasizes explicit cost forecasts and user confirmation before expensive passes.
From the SKILL.md

# Deepsec: Agent-Powered Vulnerability Scanner Driver ## Scheduling ### Goal Operate Vercel's `deepsec` security scanner inside a target repository safely and cost-consciously: bootstrap the `.deepsec/` workspace, write a tight `INFO.md`, run the right scan/process/triage/revalidate/export sequence, gate PRs in CI via `process --diff`, and grow project-specific matchers, surfacing real, revalidated findings without runaway spend. ### Intent signature - User mentions `deepsec`, "deep security scan", `bunx deepsec`, `pnpm deepsec`, `npx deepsec`. - User asks an agent to scan a repository for vulnerabilities, security issues, or CVEs and the project has (or should have) a `.deepsec/` directory. - User asks how to add a deepsec PR / CI security gate, or about `process --diff`, `--diff-staged`, `--diff-working`, `--files-from`, `--comment-out`. - User mentions deepsec artefacts: `INFO.md`, `SETUP.md`, `data/<id>/files/`, `FileRecord`, `RunMeta`, `revalidation`, `triage`, custom matchers, `MatcherPlugin`, `noiseTier`, `priorityPaths`. - User asks about deepsec configuration: `deepsec.config.ts`, `defaultAgent`, `AI_GATEWAY_API_KEY`, `VERCEL_OIDC_TOKEN`, AI Gateway, Vercel Sandbox, `--age

What's inside
Steps it walks through
  1. Scheduling
  2. Goal
  3. Intent signature
  4. When to use
  5. When NOT to use
  6. Expected inputs
  7. Expected outputs
  8. Dependencies
  9. Control-flow features
  10. Structural Flow
  11. Entry
  12. Scenes
  13. Transitions
  14. Failure and recovery
Ships with 6 files
  • resources/config.md
  • resources/matchers.md
  • resources/pr-review.md
  • resources/scanning.md
  • resources/setup.md
  • resources/triage.md
Commands it runs
cd <target-repo>
bunx deepsec init
cd .deepsec
bun install
bunx deepsec scan
bunx deepsec status
bunx deepsec process --limit 50 --concurrency 5
bunx deepsec process --concurrency 5
bunx deepsec triage --severity HIGH
bunx deepsec revalidate --min-severity HIGH
More from oh-my-agent
All skills →
About this skill
What does the oma-deepsec skill do?

Drive Vercel's `deepsec` agent-powered vulnerability scanner end-to-end: installing the `.deepsec/` workspace, bootstrapping `INFO.md`, running cost-aware `scan` / `process` / `triage` / `revalidate` / `export` passes, gating PRs with `process --diff`, writing custom matchers, and triaging findings. Use whenever the user mentions deepsec, asks an agent to scan a repo for vulnerabilities, runs into `pnpm deepsec` / `bunx deepsec` commands, wants a CI-based PR security review, sees a `.deepsec/` directory, or asks about `INFO.md` / matchers / `process --diff` / `revalidate`, even when the tool n

How do I install it?

Run `npx skills add first-fluke/oh-my-agent --skill oma-deepsec --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From first-fluke/oh-my-agent, a repository with 1,204 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going