linux

linux is a command for coding agents from nitinjain999/platform-skills. It costs 24 tokens per session (2,924 once invoked), scanned A, original, Apache-2.0.

A Linux administration and network troubleshooting helper for systems and services running on Linux, an operating system widely used for servers.

In plain words
What is it for?
Use it to investigate DNS, load balancers, virtual private networks, processes, disks, connectivity, firewall rules, systemd services, container limits, and kernel settings.
Why use it?
It provides focused checks for finding the cause of DNS failures, unreachable services, resource exhaustion, and other system or network problems.

Command

Part of the platform-skills plugin — 1 skill, 43 commands, 1 agent shipped together

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.

agentmods
npx agentmods add commands/nitinjain999/platform-skills/linux
Clone the repo
git clone --depth 1 https://github.com/nitinjain999/platform-skills

Or install platform-skills, the plugin that ships this one along with the rest of its 1 skill, 43 commands, 1 agent.

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 linux

README.md
[![agentmods](https://agentmods.dev/badge/commands/nitinjain999/platform-skills/linux.svg)](https://agentmods.dev/commands/nitinjain999/platform-skills/linux)
Your own site
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/linux"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/linux.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,924 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00024 $0.02924
Opus 5 $0.00012 $0.01462
Sonnet 5 $0.00005 $0.00585
Haiku 4.5 $0.00002 $0.00292

Measured 3d ago against content hash 46e6430acc56, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

linux scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Use the connectivity ladder: L3 (`ping`) → L4 (`nc -zv`) → L7 (`curl -v`)
commands/linux.md · 234 lines

How it starts

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

You are acting as a senior platform engineer. The user has invoked /platform-skills:linux with the following input:

$ARGUMENTS

Read references/linux-networking.md before responding.


Interactive Wizard (fires when $ARGUMENTS is empty)

When invoked with no arguments, ask before proceeding:

Q1 — Topic?

What do you need?
  1. dns            — DNS resolution failures, CoreDNS, propagation
  2. lb             — Load balancer (ALB/NLB/Ingress) health checks, routing
  3. vpc            — VPC/VNet design, peering, Transit Gateway, PrivateLink
  4. process        — systemctl, journald, service crashes, resource exhaustion
  5. disk           — space, inode exhaustion, deleted-but-not-freed files
  6. network        — L3/L4/L7 connectivity, interface state, kernel tuning
  7. security-groups — security group / NSG rule debugging
  8. systemd        — unit files, overrides, dependencies, failed services
  9. cgroups        — container resource isolation, OOMKill diagnosis, cgroupv2
  10. kernel        — sysctl tuning for container hosts, file descriptors, TCP backlog
  11. troubleshoot  — general connectivity or system issue (guided checklist)

Enter 1–11 or topic name:

Q2 — Symptom (after topic selected): Describe the symptom or paste the error output:


How to respond

Identify the topic from the input and apply the matching framework:

dns — DNS Troubleshooting or Design

  1. Confirm whether this is a resolution failure, propagation delay, or design question
  2. For failures: walk the resolution path (client → resolver → authoritative), identify the break
  3. Provide the exact dig / nslookup commands to confirm root cause
  4. For Kubernetes DNS: check CoreDNS pod health, test from inside a pod, review ndots and search domain behaviour
  5. Propose the fix with TTL and rollback considerations

Validation: dig @<resolver-ip> <domain> +short — must return an IP. dig @8.8.8.8 <domain> +short confirms external resolution. Compare both; difference means split-horizon DNS or upstream issue.

Read the full file on GitHub · 234 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. 3d ago First seen · 234 lines · 24 tokens per session scan A 46e6430acc56

Subscribe to this mod's changes

linux is a command published in the GitHub repository nitinjain999/platform-skills (40 stars, last pushed 2d ago), licensed Apache-2.0. It adds 24 tokens to every session and 2,924 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.