api-discovery
SkillGuide for agents to help users extract OpenAPI specs from source code using NightVision API Discovery. Use when running swagger extract, identifying framework support, troubleshooting extraction, handling unresolved variables, comparing API specs, or understanding Code Traceback.
Install
git clone https://github.com/nvsecurity/nightvision-skills.git ~/.claude/skills/api-discoveryWhat is api-discovery?
Guide for agents to help users extract OpenAPI specs from source code using NightVision API Discovery. Use when running swagger extract, identifying framework support, troubleshooting extraction, handling unresolved variables, comparing API specs, or understanding Code Traceback.
What this can do
Capabilities declared in this component's own frontmatter — not inferred.
Run shell commands
Declares Bash
~70 tokens of context used while enabled, before you invoke anything
All declared tools (1)
BashDocumentation
README · ~5 min readNightVision API Discovery
Use this skill when helping users generate OpenAPI specifications from their source code using nightvision swagger extract. API Discovery performs static analysis — no running application or compilation needed — and annotates the spec with source file paths and line numbers (Code Traceback) so that vulnerabilities found during DAST scans trace back to exact code locations.
Agent workflow
When a user asks to extract or document their API:
- Check prerequisites — verify the NightVision CLI is available (
nightvision --help) - Examine the repo — identify the backend language and web framework to determine the
--langflag and whether the framework is supported (see references/framework-support.md) - Run extraction — execute
nightvision swagger extractwith the appropriate flags. On success, the CLI prints"Swagger file extracted successfully."and writes the spec to the output path (default:openapi-spec.yml) - Review the output — read the generated spec to check completeness. Handle unresolved variables if
nv.configwas created alongside the spec - Compare coverage — if the user has an existing spec, run
nightvision swagger diffto show what was discovered vs. what was documented - Upload to target — attach the spec to a NightVision target for scanning
Reviews
Log in to leave a review.
No reviews yet — be the first.
Explore related
Other things in this space — across every part of the ecosystem, not just skills.
Skillssimilar to this one
All skills →airflow-plugins
Builds Airflow 3.1+ plugins that embed FastAPI apps, custom UI pages, React components, middleware, macros, and operator links directly into the Airflow UI. Use when building anything custom inside Airflow 3.1+ that involves Python and a browser-facing interface - creating an Airflow plugin, adding
412 stars
commerce-app-webhooks
Add or modify webhook interceptors in an Adobe Commerce app. Use when the user wants to intercept Commerce operations to validate input, append data, or modify behavior — before or after execution. Requires a base app initialized with commerce-app-init.
151 stars
apollo-mcp-server
Guide for using Apollo MCP Server to connect AI agents with GraphQL APIs. Use this skill when: (1) setting up or configuring Apollo MCP Server, (2) defining MCP tools from GraphQL operations, (3) using introspection tools (introspect, search, validate, execute), (4) troubleshooting MCP server connec
100 stars