writing-shell SKILL.md skillB
writing-shell from alexei-led/cc-thingz is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add alexei-led/cc-thingz/writing-shell@git:20260928.3135f26Pins git:20260928.3135f26 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- alexei-led/cc-thingz
- Path
src/skills/writing-shell/SKILL.md- Versions recorded
- 6
- Latest version
- git:20260928.3135f26, committed Sep 28, 2026
- First version recorded
- Jun 2, 2026
- Size
- 2,850 bytes
- Repository stars
- 38
- License
- MIT
Idiomatic shell development for POSIX sh, Bash, Zsh, Fish, hooks, CI.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Shell Development In GitHub Actions, this skill owns the shell inside `run:` blocks; operating-infra owns the workflow YAML around it (jobs, permissions, actions, secrets, caching). Mixed changes use both. ## Shell Choice - Follow the existing shebang and tooling. New portable scripts: POSIX `sh` for simple logic; Bash when you need arrays, `pipefail`, `[[ ]]`, or regex. - Zsh and Fish only for existing files, interactive config, or explicit requests. - Never rely on the agent's own shell. Name the shell in the shebang, and invoke it explicitly in tests. - Shell is glue. Move data modeling, business logic, or CPU-heavy work to the project's real language. ## Safety and Portability - Bash: `set -euo pipefail`, knowing it does not fire inside conditionals or `&&`/`||` lists. POSIX sh: `set -eu` and explicit pipeline checks. - Build commands with arrays, never strings plus `eval`. Put `--` before user-controlled operands. - NUL- or newline-safe loops for filenames; never parse `ls` or use `for x in $(cmd)`. - `mktemp` plus a cleanup `trap` for temp files, locks, and partial outputs. - No `curl | sh`: download, verify, then run. …
Read the whole file at its exact version.
How to install
mdr add alexei-led/cc-thingz/writing-shell@sha256:302e8c05023be1bcThe line at the top of this page pins the label git:20260928.3135f26, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_nv5bccph4zhoc5g5)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jun 2, 2026 and Sep 28, 2026, about one every 24 days. Its first recorded version is graded C and its latest B.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260928.3135f26 latest | 2026-09-28 | 3135f26 | 2,850 B | B | view · diff |
| git:20260716.29b4d22 | 2026-07-16 | 29b4d22 | 4,030 B | B | view · diff |
| git:20260630.5f501ce | 2026-06-30 | 5f501ce | 4,033 B | C | view · diff |
| git:20260629.26ad5b3 | 2026-06-29 | 26ad5b3 | 3,728 B | C | view · diff |
| git:20260627.a4cca8d | 2026-06-27 | a4cca8d | 3,155 B | C | view · diff |
| git:20260602.5ac56fc | 2026-06-02 | 5ac56fc | 3,143 B | C | view |
Audit of the latest version
- fail: No curl or wget piped into a shell (matched: curl | sh)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2850 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
alexei-led/cc-thingz · 38 stars · license MIT · pushed 2026-10-25 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_nv5bccph4zhoc5g5 GET https://markdownregistry.com/api/v1/resolve?ref=alexei-led/cc-thingz/writing-shell GET https://markdownregistry.com/api/v1/blob/302e8c05023be1bc714e018b5627f92a5f7fd5476ed11127c3cca1ec03c02668
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.