zsh

zsh is a skill for Codex from klh/speedy-claude. It costs 0 tokens per session (1,673 once invoked), scanned A, original, MIT.

A reference for configuring and scripting Zsh, a Unix shell commonly used in terminals. It covers startup files, command completion, options, globbing, and keyboard controls.

In plain words
What is it for?
Use it when reading, debugging, or editing Zsh configuration files and scripts.
Why use it?
It helps explain and troubleshoot shell behavior that can otherwise seem inconsistent, especially when several startup files or completion settings interact.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when reading, debugging, or editing Zsh configuration files and scripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/klh/speedy-claude/zsh
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 klh/speedy-claude --skill zsh
Clone the repo
git clone --depth 1 https://github.com/klh/speedy-claude

Made for: 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 zsh

README.md
[![agentmods](https://agentmods.dev/badge/skills/klh/speedy-claude/zsh/github.svg)](https://agentmods.dev/skills/klh/speedy-claude/zsh)
Your own site
<a href="https://agentmods.dev/skills/klh/speedy-claude/zsh"><img src="https://agentmods.dev/badge/skills/klh/speedy-claude/zsh/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 zsh

Your own site · 80×15
<a href="https://agentmods.dev/skills/klh/speedy-claude/zsh"><img src="https://agentmods.dev/badge/skills/klh/speedy-claude/zsh.svg" alt="Reviewed on agentmods" width="80" 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 1,673 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 114
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00000 $0.01673
Opus 5 $0.00000 $0.00837
Sonnet 5 $0.00000 $0.00335
Haiku 4.5 $0.00000 $0.00167

Measured 8d ago against content hash 7ef9a6caa546, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

zsh 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 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/install.ps1, scripts/install.sh), 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/zsh/SKILL.md · 139 lines

How it starts

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

Zsh

Use this skill to keep Zsh work grounded in the installed shell first, then fall back to zsh.sourceforge.io and the local manual when runtime behavior needs confirmation.

Prerequisite Check

Run this before proposing Zsh-specific commands:

command -v zsh >/dev/null 2>&1 || zsh --version

If zsh is missing, surface that first and point to scripts/install.sh or scripts/install.ps1. For POSIX-compatible tasks, say when bash is an acceptable fallback and when it is not because the request depends on Zsh-specific semantics.

Quick Start

  1. Check the local Zsh version: zsh --version
  2. Establish the local help surface before guessing:
    • man zshroadmap
    • man zsh
    • man zshbuiltins
    • man zshoptions
    • man zshexpn
    • man zshcompsys
    • setopt
    • print -l ${(ok)builtins}
  3. Use zsh -c 'command' to test behavior in a clean session.
  4. Separate Zsh semantics from external-command behavior and from startup-file loading order.
  5. Isolate .zshenv, .zshrc, and .zprofile when startup behavior is suspect.

Intent Router

Load only the reference file needed for the active request.

  • references/install-and-setup.md
    • Installing or configuring Zsh on macOS, Linux, or Windows (WSL2), and post-install configuration.
  • references/cli-and-help.md
    • zsh invocation, startup file load order, built-in help, man, and local discovery.
  • references/language-and-expansion.md
    • Parameter expansion flags, globbing, glob qualifiers, arrays, arithmetic, typed variables, and common Zsh semantics.
  • references/completion-system.md
    • compinit initialization, zstyle configuration, completion functions, compadd, and debugging.
  • references/scripting-and-functions.md
    • Script structure, shebangs, autoload, zparseopts, zcompile, functions, and reusable script patterns.
  • references/zle-and-keybindings.md
    • ZLE (Zsh Line Editor) widgets, bindkey, custom keybindings, and ZLE hooks.
  • references/options-and-modules.md
    • setopt/unsetopt, zmodload, emulate, commonly-used options, and useful modules.
  • references/troubleshooting.md
    • Startup failures, completion breakage, globbing errors, history issues, slow startup, and common error diagnostics.

Read the full file on GitHub · 139 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. 8d ago First seen · 139 lines · 0 tokens per session scan A 7ef9a6caa546

Subscribe to this mod's changes

zsh is a skill published in the GitHub repository klh/speedy-claude (11 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,673 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-09-04.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens