Skills.md for SecureNow
Two skill files ship inside the securenow npm package: SKILL-API.md to wire SecureNow into your Node.js app and SKILL-CLI.md to run it from the terminal. Point your coding agent at them, or install them as skills.
Let your agent set it up
Paste this into Claude Code, Codex, Cursor or Windsurf. Your agent installs securenow@latest, runs login and init, reads node_modules/securenow/SKILL-API.md, wires the runtime for your framework and verifies it end to end. You only finish the browser sign-in.
Add SecureNow production security to this project.
Guide: node_modules/securenow/SKILL-API.md once installed (also https://securenow.ai/SKILL-API.md)
1. Install the latest package with this project's package manager:
npm install securenow@latest
2. Connect my SecureNow account: npx securenow login
(I'll finish the sign-in in the browser; it writes .securenow/runtime.json
and .securenow/admin.json. They hold secrets: never print or commit them,
and keep them out of git without ignoring the whole .securenow/ folder.)
3. Run npx securenow init: it detects the framework and fills
.securenow/runtime.json with the defaults.
4. Read node_modules/securenow/SKILL-API.md and wire the runtime for this
stack, on the command that really starts the server:
- Express, Fastify, NestJS, Koa, Hapi, Hono, Polka, Feathers, h3, raw
http: node -r securenow/register <entry> (CommonJS, ESM or TypeScript)
- Next.js: keep the instrumentation.ts and next.config changes init wrote
- Nuxt: modules: ['securenow/nuxt'] in nuxt.config
- PM2: node_args: ['-r', require.resolve('securenow/register')]
Configuration lives in .securenow/runtime.json; don't add SECURENOW_*
variables to .env.
5. Verify: npx securenow whoami, npx securenow doctor, npx securenow test-span,
then start the app, send one request, and run npx securenow status.
6. Connect the SecureNow MCP server to yourself, for example:
claude mcp add securenow -- npx securenow mcp
7. Run a first production-security baseline and summarize what you find.
Do not block traffic or change security policy without asking me first.Download Agent Skills
Each skill is a single markdown file your agent reads before it touches SecureNow. Both ship in node_modules/securenow/ and match the version you installed; the copies here follow the latest release. Together they cover setup per framework, every runtime.json key, every feature, deployment, verification and the CLI.
SKILL-CLI.md
Terminal & Security Operations
node_modules/securenow/SKILL-CLI.md
What your agent learns
Example usage
SKILL-API.md
SDK Integration & Instrumentation
node_modules/securenow/SKILL-API.md
What your agent learns
Example usage
Already installed the package? They are right there:
What is a SKILL.md?
A SKILL.md file is a markdown document that gives your AI coding agent reusable knowledge and step-by-step instructions for a specific task.
Put it in its own folder under your agent's skills directory (for example .claude/skills/ or .cursor/skills/). Its frontmatter description tells the agent when to load it. The SecureNow files are plain playbooks without frontmatter: the install commands below add it.
---
name: investigate-threat
description: >-
Investigate a suspicious IP address using SecureNow's
threat intelligence API. Use when the user asks to
check an IP, investigate a threat, or analyze traffic.
---
# Investigate Threat
## Steps
1. Call the IP Intelligence API:
`curl https://api.securenow.ai/api/public/ip-intel/{ip}`
2. Parse the response for:
- **securenowScore** — threat severity (0-100)
- **verdict** — AI-generated summary
- **attackTypes** — classified attack categories
3. If score > 70, recommend blocking the IP
4. Provide a human-readable summary of findingsWhat Your Agent Can Do
With both skills installed, your AI agent can handle the full SecDevOps lifecycle — from install to investigation to approved response.
Threat Investigation
Analyze suspicious IPs, check abuse reports, run forensic queries, and get AI-powered threat verdicts — all from natural language.
Firewall & IP Blocking
Block, allow, or trust IPs. Enable multi-layer protection: HTTP 403, TCP drop, iptables kernel rules, and cloud WAF (Cloudflare, AWS, GCP), with trusted proxies for Cloudflare and load balancers.
Framework Integration
Wire any Node.js server built on node:http with tracing, logging, body capture and the firewall: zero code changes for Express, Fastify, NestJS, Koa, Hapi, Hono and more; one init for Next.js and Nuxt.
Rate Limits & Bot Challenges
Rate-limit routes per IP, API key, session cookie or globally (HTTP 429), share counters across workers with Redis, and send bots an invisible proof-of-work challenge.
Login & Session Protection
Send sign-in, OTP and password-reset events with track(), and revoke stolen sessions: zero-code config (8.25.0+), guard() for Express-style apps, or sessions.check() anywhere else (8.25.0+).
False Positive Management
Create, test, and dry-run exclusion rules. Use AI to auto-generate conditions from a description. Suppress noise so real threats stand out.
Works With Your Node.js Stack
The API skill teaches your agent how to wire SecureNow into any server built on node:http — most need zero code changes. Edge runtimes, Deno and Bun.serve are not supported.
Install in 3 Steps
Install the securenow package
Adds the SDK, the CLI, the MCP server and both skill files (node_modules/securenow/SKILL-API.md and SKILL-CLI.md). For CLI-only use, npm install -g securenow@latest.
Make them skills for your agent
Claude Code and Codex can install the SecureNow plugin. For any agent, copy the shipped files into its skills folder with a frontmatter block so it knows when to load them, or reference them from AGENTS.md.
Ask your agent anything
Your agent reads the relevant skill and executes the full workflow — installing, configuring, investigating, or proposing a block for your approval.
Full SecDevOps, One Conversation Away
Your AI agent becomes a security engineer. Investigate threats, harden your app, block attackers, and wire SecureNow into your Node.js servers — all with natural language.