linux

linux is a skill for Claude Code, Codex from ashish7802/awesome-api-skills. It costs 0 tokens per session (637 once invoked), scanned A, original, MIT.

A guide to Linux, an open-source operating system widely used on servers and in cloud computing. It covers common tools and production patterns such as systemd, Docker, and Nginx.

In plain words
What is it for?
Learning Linux fundamentals, running background services with systemd, and understanding how Linux fits with tools used for web servers and cloud systems.
Why use it?
It provides starting guidance for understanding and operating Linux-based systems, especially when investigating service problems.

Skill for Claude CodeCodex

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 skills/ashish7802/awesome-api-skills/linux
Any agent
npx skills add ashish7802/awesome-api-skills --skill linux
Clone the repo
git clone --depth 1 https://github.com/ashish7802/awesome-api-skills

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 linux

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/linux.svg)](https://agentmods.dev/skills/ashish7802/awesome-api-skills/linux)
Your own site
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/linux"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/linux.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00637
Opus 5 $0.00000 $0.00318
Sonnet 5 $0.00000 $0.00127
Haiku 4.5 $0.00000 $0.00064

Measured 4d ago against content hash 0e3c0c4c8014, 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 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/commands.bash), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/linux/SKILL.md · 63 lines

How it starts

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

Linux Skill

The free, open-source operating system that powers the internet.

Ecosystem Graph Preview

graph LR
  linux["linux"]:::core
  classDef core fill:#f9f,stroke:#333,stroke-width:4px;
  linux -- "integrates with" --> docker
  linux -- "works well with" --> nginx
  • nginx (Score: 0.82) Why: Direct relationship, Both are Infrastructure, Shared ecosystem (devops), Similar network profile
  • docker (Score: 0.81) Why: Direct relationship, Both are Infrastructure, Shared ecosystem (devops), Similar network profile
  • kubernetes (Score: 0.43) Why: Both are Infrastructure, Shared ecosystem (devops), Can deploy to aws, Similar network profile

Quick Start

Linux is the foundation of modern cloud computing. Understanding the kernel, filesystem hierarchy, and shell commands is required for debugging production outages.

Production Patterns

systemd

For background services running directly on a VM (like an NGINX proxy or a Go binary), do not run them in a tmux session. Write a systemd service file to ensure the process starts on boot and automatically restarts on failure.

Architecture & Scaling

Everything is a file

In Linux, configuration, hardware devices (/dev/sda), and kernel parameters (/proc/sys) are represented as files. You can often read from or write to these files directly to monitor or alter system state.

Error Recovery

When a server runs out of disk space (No space left on device), but df -h shows space available, you have likely run out of inodes. Check df -i. This happens when you have millions of tiny files (like session files or log chunks).

Security Notes

Disable SSH password authentication (PasswordAuthentication no) in /etc/ssh/sshd_config. Exclusively use Ed25519 SSH keys. Use fail2ban to automatically block IPs that repeatedly fail authentication.

References

Read the full file on GitHub · 63 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 63 lines · 0 tokens per session scan A 0e3c0c4c8014

Subscribe to this mod's changes

linux is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 637 tokens. 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-08-30.

Related

Other skills, from other repositories

claude-api-cost-optimization

Save 50-90% on Claude API costs with Batch API, Prompt Caching & Extended Thinking. Official techniques, verified.

Louishin/claude-api-cost-optimization · 33 tokens

integrations

NextDNS integration guides for third-party platforms and services. This skill should be used when integrating NextDNS with routers, home automation systems, network management platforms, or other third-party services. It also guides transport selection across DoH, DoT, DoQ, DoH3, IPv6, and legacy DNS. Triggers on…

tuanductran/nextdns-skills · 103 tokens

nextdns-cli

NextDNS CLI client best practices for installation, configuration, and management of DNS-over-HTTPS proxy. This skill should be used when installing NextDNS on routers, servers, or client devices, configuring DNS settings, managing the daemon, or troubleshooting DNS issues. Triggers on tasks involving NextDNS CLI…

tuanductran/nextdns-skills · 76 tokens

nextdns-ui

NextDNS Web UI configuration and management best practices. This skill should be used when configuring NextDNS profiles via the web interface (my.nextdns.io), including security features, privacy lists, parental controls, and monitoring logs.

tuanductran/nextdns-skills · 48 tokens

nextdns-frontend

Frontend integration for the NextDNS API using Nuxt 4, Next.js 16, Astro, SvelteKit, or React Router v8. This skill covers secure API key proxying via the BFF pattern, profile management UI, real-time SSE log streaming, analytics chart data preparation, and error handling. Use this skill when building a custom NextDNS…

tuanductran/nextdns-skills · 129 tokens

nextdns-api

NextDNS API integration best practices for authentication, profile management, analytics, logs, and real-time streaming. This skill should be used when working with NextDNS API endpoints, handling DNS analytics, managing security profiles, or implementing DNS filtering solutions. Triggers on tasks involving NextDNS…

tuanductran/nextdns-skills · 71 tokens