nsm-session-pivot

nsm-session-pivot is a skill for Claude Code, Codex from automateyournetwork/netclaw. It costs 62 tokens per session (1,179 once invoked), scanned A, original, Apache-2.0.

A read-only tool for examining network sessions in a packet capture, a recorded file of network traffic, with Zeek, a network analysis system. It follows connections into DNS, HTTP, and SSL records.

In plain words
What is it for?
Use it to list connections, filter them by service or protocol, and follow a connection identifier into related DNS, HTTP, or SSL logs.
Why use it?
It helps reconstruct what communication happened after an incident without monitoring a live network. It also makes checksum handling visible so misleading capture results are easier to spot.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to list connections, filter them by service or protocol, and follow a connection identifier into related DNS, HTTP, or SSL logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/nsm-session-pivot
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add automateyournetwork/netclaw --skill nsm-session-pivot
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nsm-session-pivot

README.md
[![agentmods](https://agentmods.dev/badge/skills/automateyournetwork/netclaw/nsm-session-pivot/github.svg)](https://agentmods.dev/skills/automateyournetwork/netclaw/nsm-session-pivot)
Your own site
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/nsm-session-pivot"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/nsm-session-pivot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nsm-session-pivot

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/nsm-session-pivot"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/nsm-session-pivot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.01179
Opus 5 $0.00031 $0.00589
Sonnet 5 $0.00012 $0.00236
Haiku 4.5 $0.00006 $0.00118

Measured 6d ago against content hash 86b392d5f384, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

nsm-session-pivot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

workspace/skills/nsm-session-pivot/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NSM Session Pivot (read-only)

MCP Server

  • Server: nsm-mcp (NetClaw-authored, spec 091)
  • Tools: nsm_status, nsm_analyze, nsm_sessions, nsm_protocol_log
  • Engine: Zeek 8.2.1, pinned by image digest
  • Input: a .pcap/.pcapng file already on disk. Nothing sniffs an interface.

The rule that matters most here

A missing protocol log does not mean there was no such traffic.

Zeek discards packets with invalid TCP checksums by default. Measured on a reference capture: with validation on, Zeek produced no http.log at all — the HTTP request was invisible — and a conn.log that was also wrong, 3 rows instead of the correct 2, because discarded packets fragment the flow. The only signal is a warning on stderr.

Captures from a NIC with checksum offloading routinely have invalid checksums, including the ones NetClaw's own cml-packet-capture and gns3-packet-capture skills produce.

So nsm-mcp defaults ignore_checksums=true, the opposite of Zeek's own default, and attaches zeek_posture to every response:

state What it means
IGNORING_CHECKSUMS all packets analysed — the correct setting for offloaded captures
PACKETS_DISCARDED packets were dropped; protocol logs may be missing and conn.log may be wrong
VALIDATING validation on, nothing flagged

If you see PACKETS_DISCARDED, re-run with ignore_checksums=true before drawing any conclusion. Reporting "no HTTP in this capture" from a discarded run is a wrong answer that looks like a finding.

Workflow: reconstruct what happened

  1. nsm_analyze — which Zeek logs did this capture produce, and how many connections?
  2. nsm_sessions — the connection table. Note service, conn_state, byte counts
  3. Pick the connection of interest and record its uid
  4. nsm_protocol_log with log="dns" / "http" / "ssl" and that uid — every Zeek log shares uid with conn.log, which is what makes the pivot exact rather than heuristic
  5. nsm_protocol_log with log="weird" — protocol anomalies Zeek could not classify
  6. Report the session narrative, stating the checksum posture you worked under

Read the full file on GitHub · 92 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 92 lines · 62 tokens per session scan A 86b392d5f384

Subscribe to this mod's changes

nsm-session-pivot is a skill published in the GitHub repository automateyournetwork/netclaw (652 stars, last pushed 3d ago), licensed Apache-2.0. It adds 62 tokens to every session and 1,179 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

analyzing-network-traffic-with-wireshark

Captures and analyzes network packet data using Wireshark and tshark to identify malicious traffic patterns, diagnose protocol issues, extract artifacts, and support incident response investigations on authorized network segments.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

preset-health

Nested swiss-knife reference for saved-preset health checks. Read this when the human asks whether saved presets still work, which preset is expired or misconfigured, why system(action="presets") shows a bad connectivity status, or for a safe procedure to enumerate saved presets, classify each failure (expired key…

Lingtai-AI/lingtai · 129 tokens

Network Security & Traffic Analysis

Network traffic analysis, PCAP parsing, IDS/IPS rule creation, firewall configuration auditing, and network anomaly detection.

Masriyan/Claude-Code-CyberSecurity-Skill · 28 tokens

analyzing-slack-space-and-file-system-artifacts

Examine file system slack space, MFT entries, USN journal, and alternate data streams to recover hidden data and reconstruct file activity on NTFS volumes.

26zl/cybersec-toolkit · 44 tokens

lastlight-debug

Debug a running Last Light instance over its admin API with the lastlight CLI — no SSH. Use when the user wants to "look at / debug a failed or stuck workflow", "why didn't the bot do X", "check a bad agent run / phase error on ", "tail a session", "search the logs", "read the server/docker logs", "list/trigger a…

nearform/lastlight · 138 tokens

tauri-debug-quickstart

First-30-seconds triage for a broken Tauri desktop app. Pick the right command for the symptom you're seeing, with one-line escalations to deeper skills.

cesarandreslopez/tauri-agent-tools · 41 tokens