script-pitfalls

A maintained list of shell-script bugs and unsafe patterns found in a repository. It covers issues involving Kubernetes, cleanup finalizers, access rules, admission webhooks, firewall restoration, installation commands, and system services.

In plain words
What is it for?
It is for checking or writing install scripts, uninstall scripts, Dockerfiles, and shell commands involving Kubernetes, networking, webhooks, and system services.
Why use it?
It helps prevent recurring operational mistakes that can cause scripts to hang, leave resources behind, or change system settings incorrectly.

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

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,300 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin unknown 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.04300
Opus 5 $0.00000 $0.02150
Sonnet 5 $0.00000 $0.00860
Haiku 4.5 $0.00000 $0.00430

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

Security

Grade C, and why

script-pitfalls scanned grade C with 2 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 2d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

description: Living catalog of script bugs and antipatterns hit in this repo — kubectl delete hangs, finalizer order, operator-managed RBAC, admission webhook residuals, iptables-restore footguns, curl | bash deadlocks,

Makes network callslowCapability

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

description: Living catalog of script bugs and antipatterns hit in this repo — kubectl delete hangs, finalizer order, operator-managed RBAC, admission webhook residuals, iptables-restore footguns, curl | bash deadlocks,
.agents/skills/script-pitfalls/SKILL.md · 334 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 334 lines · 0 tokens per session scan C 1dc30e5aed6c

Subscribe to this mod's changes

script-pitfalls is a skill published in the GitHub repository sxxpqp/linux (5 stars, last pushed 8d ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 4,300 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

docker-wizard

Generate optimized Dockerfiles and docker-compose.yml with best practices and multi-stage builds.

glincker/claude-code-marketplace · 19 tokens

container-manager-kubernetes-operations

Full operational Kubernetes surface via the container-manager-mcp MCP server — workloads (pods/rollouts/StatefulSets/DaemonSets/ReplicaSets/Jobs/CronJobs), config (ConfigMaps/Secrets/Namespaces/CRDs/patch), networking (Ingress/native Services/NetworkPolicy/DNS), storage (PV/PVC/StorageClass/snapshots/CSI), RBAC…

Knuckles-Team/container-manager-mcp · 189 tokens

docker-docs

Comprehensive Docker 28.x reference covering all features: installation, Dockerfile instructions, multi-stage builds, Docker Compose, networking, volumes, CLI commands, image management, registries, security best practices, CI/CD integration, debugging, and Kubernetes migration. Use whenever the user mentions Docker…

pledgeandgrow/pledge-skills · 93 tokens

docker

Operational skill for Claude to automate Docker via CLI, Dockerfiles, Compose, BuildKit, multi-stage builds, and container networking hygiene.

alivirgo/Major-AI-Skills · 29 tokens

docker-agent

Write optimized Dockerfiles, docker-compose configs, and debug container issues. Use when containerizing an app, fixing a broken container, or designing a multi-service local environment.

chandrudp29/skillhub · 37 tokens

dockerfile-python-app

Write an efficient, secure Dockerfile for a Python app — layer caching, slim images, non-root user, and healthchecks.

vikasudasi/skill-vault · 31 tokens