Skip to content
Open dashboard (opens in a new tab)

MCP and agents

Agent skills

A skill is a set of instructions your coding agent loads when the conversation calls for it. The NightVision skills teach the agent how to write safer code, scan the app it just built, read the findings, fix what is real and prove each fix.

You do not call a skill by name. The agent picks the one that matches what you asked for. You can also name one, for example “run ship-check”.

These docs are also available to agents as Markdown at /llms.txt.

The skills come with the NightVision plugin for Claude Code and Codex, together with the MCP server.

Terminal window
# Claude Code
claude plugin marketplace add https://github.com/nvsecurity/nightvision-mcp
claude plugin install nightvision@nightvision
# Codex
codex plugin marketplace add https://github.com/nvsecurity/nightvision-mcp
codex plugin add nightvision@nightvision

Restart the agent afterwards. You also need the NightVision CLI, signed in. See Install the CLI.

To update the skills, update the plugin. See Keeping it up to date.

The plugin ships 14 skills.

Skill What it does When the agent loads it
secure-build Secure-by-default rules for writing a web app or API: access control, injection, secrets, sessions, CORS, headers, uploads, outbound requests and AI features. While it writes or changes a web app, an API, a login flow, database access, file upload or an AI feature.
ship-check The finish line. Reviews the change, scans the running app, fixes what is real, verifies each fix and reports what is still open. Before it tells you app work is done, or when you ask “is this safe to ship”.
app-security-scan Runs the guided scan of a local, private, staging or internal app through the MCP server. When you ask for a security scan of an app you just built or changed.
verify-fix Proves a finding is fixed by replaying it and running only the check that found it. After it changes code to fix a finding, or when you ask “is it fixed”.
authz-review Reviews access control route by route, then writes a two-user test you can run against your own app. After it adds or changes routes that take object ids, or when you ask whether one user can see another user’s data.
chain-attacks Looks for multi-step business-logic flaws, where each request is allowed but the sequence breaks a rule. Read-only: it never takes a state-changing action. After it adds a multi-step flow such as checkout, invite and accept, or password reset.
scan-configuration Sets up everything before a scan: applications, authentication, HTTP traffic, projects, scope and private network scans. When you ask it to create an application, record a login or prepare a scan.
source-intelligence Builds an OpenAPI specification from source code with nightvision openapi extract, and handles framework support, unresolved values and spec comparison. When you ask it to extract or compare an API specification.
api-discovery The former name of source-intelligence. It loads that skill. When something still asks for the old name.
scan-triage Reads SARIF and CSV results, finds the vulnerable code, checks a finding with curl, ranks by severity and suggests fixes. When you ask what a finding means or what to fix first.
scan-report Writes a shareable PDF report for one scan, a scan compared with the previous one, or a whole project. When you ask for a report to send to someone.
fleet-status A read-only table of every application: when each was last scanned and where the open Critical and High findings are. When you ask which apps exist, which were never scanned or which are stale.
ci-cd-integration Adds NightVision to GitHub Actions, GitLab CI, Azure DevOps, Jenkins, Bitbucket or JFrog pipelines. When you ask it to add a scan to a pipeline.
multi-agent-relay Coordinates several agents that build a feature in turns: one writes tasks, one implements and tests, one reviews and ships. When you run an approved plan with more than one agent.

secure-build applies while the agent writes code, not after. It covers the mistakes that show up most often in apps built quickly with an agent:

  • Every route that reads or changes user data checks who is calling, on the server.
  • Lookups by id are scoped to the caller, so one user cannot read another user’s records.
  • Database queries are parameterized.
  • Secrets come from the environment and never ship in frontend code.
  • Sessions, CORS and security headers use safe settings.
  • Uploads and server-side requests to user-supplied URLs are restricted.
  • Model output is treated as untrusted input.

The agent applies the rules quietly. It mentions one only when it changes something you asked for, such as refusing to put an API key in frontend code.

Following the rules does not prove an app is secure. That is what the next step is for.

ship-check is the gate before the agent calls app work done. It runs the other skills in order:

  1. Reviews the session’s changes against the secure-build rules.
  2. Reviews access control with authz-review when routes changed.
  3. Scans the running app with app-security-scan.
  4. Triages each Critical, High and Medium finding with scan-triage: replays it and reads the code.
  5. Fixes what is real in code written in this session. For findings in older code, it reports them and asks first.
  6. Verifies each fix with verify-fix.
  7. Reports what was scanned, what was fixed and verified, and what is still open.

verify-fix does not rerun the whole scan. It replays the finding’s request, then starts a scan that runs only the check that found it, against the same application. A fix counts as verified only when that retest reached the endpoint and the finding is gone. Until then the agent says “fixed in code, not yet verified”.

The agent leaves a record in your repository:

  • .nightvision/manifest.json: the application, the scan ID and any blockers.
  • .nightvision/retest.json: the retest scan and its result.

Some things the agent never does in ship-check:

  • Mark a finding False positive, Resolved or Won’t fix. Those decisions belong to you and your AppSec team, in the dashboard. See Triage.
  • Call the app secure. It says what NightVision tested and what it found.
  • Turn off checks or narrow scope to make findings go away.

To make the check automatic, add a rule to your organization’s or project’s agent instructions file that says app work is not complete until ship-check has run. The agent then scans without being asked and leaves the manifest as proof.

For a gate that does not depend on the agent, add a scan to the pipeline too. The ci-cd-integration skill sets that up. See Integrations.

  • scan-triage explains a finding, points to the file and line that produced the endpoint, and gives a curl command that shows the problem. See Work with a finding and Code traceback.
  • scan-report writes a PDF with a summary for leadership and an appendix for developers. The agent previews the data, writes the summary, then writes the file. See Share a report.

fleet-status answers “what apps do we have, and what is the scan posture on each”. It lists every project and application you can see, flags the ones that were never scanned, the ones with no successful scan in the last 30 days, and the ones with open Critical or High findings. It starts no scans and changes nothing. It needs only the CLI, so it also works without the MCP server.

Ask for a different window when 30 days is not right:

Which of our apps have not had a successful scan in the last two weeks?

The dashboard answers the same question on The Overview page.

multi-agent-relay is for larger builds. A driver agent writes one task at a time, an implementation agent builds and tests it, and a shipping agent reviews, fixes and ships. The agents coordinate through report files on disk, so you can read what each one did.