node-kernel-conntrack

node-kernel-conntrack is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 7 tokens per session (1,898 once invoked), scanned A, original, Apache-2.0.

A debugging command for viewing connection-tracking entries on a Kubernetes node. Connection tracking is Linux kernel data about active network connections, including information used for network address translation and service routing.

In plain words
What is it for?
Use it to inspect all or filtered tracked connections through an ephemeral debug container or the node's connection-tracking file.
Why use it?
It provides evidence for investigating NAT failures, connectivity problems, unexpected connection states, and packet-flow issues.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to inspect all or filtered tracked connections through an ephemeral debug container or the node's connection-tracking file.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/node-kernel-conntrack
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.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

Made for: Claude Code.

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 node-kernel-conntrack

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/node-kernel-conntrack/github.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/node-kernel-conntrack)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/node-kernel-conntrack"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/node-kernel-conntrack/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 node-kernel-conntrack

Your own site · 80×15
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/node-kernel-conntrack"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/node-kernel-conntrack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,898 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.
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.00007 $0.01898
Opus 5.5 $0.00003 $0.00759
Sonnet 5.5 $0.00001 $0.00380
Haiku 4.5 $0.00001 $0.00190

Measured 2mo ago against content hash 55fb80416e7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

node-kernel-conntrack 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 2mo 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.

extensions/openshift/commands/node-kernel-conntrack.md · 173 lines

How it starts

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

Name

openshift:node-kernel-conntrack

Synopsis

/openshift:node-kernel-conntrack <node> <image> [--command <cmd>] [--filter <params>]

Description

The openshift:node-kernel-conntrack command allows interaction with the connection tracking system of a Kubernetes node. Use this command to discover all or a filtered selection of currently tracked connections. This is essential for debugging NAT issues, connection state problems, and understanding packet flows through the kernel's netfilter subsystem.

Connection tracking (conntrack) is a critical component of Linux networking that maintains state information about network connections. In OVN-Kubernetes environments, conntrack is used for:

  • Service load balancing and NAT
  • Network policy enforcement
  • Connection state tracking across network namespace boundaries
  • Debugging intermittent connectivity issues

The command uses oc debug to create an ephemeral container with host network access, then executes conntrack operations. If the provided image doesn't contain the conntrack CLI utility, the command falls back to printing /proc/net/nf_conntrack directly.

Implementation

This command invokes the openshift-node-kernel skill which provides kernel-level connection tracking inspection capabilities:

  1. Parameter Validation: Validates required node and image parameters
  2. Utility Check: Verifies if the debug image contains the conntrack utility
  3. Command Execution: Uses oc debug to create ephemeral container and execute conntrack commands
  4. Fallback Handling: If conntrack utility is not available, falls back to reading /proc/net/nf_conntrack
  5. Output Filtering: Removes common oc debug warnings to provide clean output

Skill Reference:

  • Implementation: extensions/openshift/skills/openshift-node-kernel/node-kernel-conntrack.sh
  • Helper functions: extensions/openshift/skills/openshift-node-kernel/kernel-helper.sh
  • Documentation: extensions/openshift/skills/openshift-node-kernel/SKILL.md

Read the full file on GitHub · 173 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. 2mo ago First seen · 173 lines · 7 tokens per session scan A 55fb80416e7f

Subscribe to this mod's changes

node-kernel-conntrack is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 7 tokens to every session and 1,898 once invoked, about $0.0000 per session on Opus 5.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

node-kernel-conntrack compared with commands from other repositories

node-kernel-conntrack next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
node-kernel-conntrackwangke19/gemini-ai-helpersCommand27mo agoApache-2.0A7Claude Code
wtfp:report-bugakougkas/wtf-pCommand205d agoMITA22Claude Code
fixHimanshu507/cgconeCommand9yesterdayMITA15Claude Code
bug-reportcraigcossairt/trellisCommand55d agoMITA50Claude Code
audittelus-labs/stagecraftCommand72mo agoMITA78Claude Code
issue:discover-by-promptcatlog22/Claude-Code-WorkflowCommand2.1k5mo agoMITA43Claude Code
issue:discovercatlog22/Claude-Code-WorkflowCommand2.1k5mo agoMITA49Claude Code