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.
git clone --depth 1 https://github.com/CiscoDevNet/essentialsWrote 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.
[](https://agentmods.dev/rules/ciscodevnet/essentials/ess-shell-file-naming)<a href="https://agentmods.dev/rules/ciscodevnet/essentials/ess-shell-file-naming"><img src="https://agentmods.dev/badge/rules/ciscodevnet/essentials/ess-shell-file-naming/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.
<a href="https://agentmods.dev/rules/ciscodevnet/essentials/ess-shell-file-naming"><img src="https://agentmods.dev/badge/rules/ciscodevnet/essentials/ess-shell-file-naming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00546 | $0.00546 |
| Opus 5.5 | $0.00218 | $0.00218 |
| Sonnet 5.5 | $0.00109 | $0.00109 |
| Haiku 4.5 | $0.00055 | $0.00055 |
Grade A, and why
ess-shell-file-naming 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 12d 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.
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.
What it actually says
Shell File Naming
Shell has no standard file layout, so follow one convention everywhere.
| File | Case | Example |
|---|---|---|
| Script a person or tool runs | kebab-case, verb first | find-review-requests.sh, safe-push.sh |
| Its self-test | test_ + the script name in snake_case |
test_find_review_requests.sh |
- Kebab-case for scripts. A script is a command, and commands read as kebab-case
(
git-subtree,apt-get). Do not add snake_case scripts beside kebab-case ones. - Descriptive names, not
run.shormain.sh.$0, error messages,ps, and editor tabs show only the file name, so it must say what the script does. test_snake_case for tests. Tests are never typed as commands, and the prefix matches pytest'stest_*.py, so one search finds every test in the repo.
Co-locate the test with its script
When a script has a test, give the pair its own directory, named after the script:
scripts/
├── npx-skills-add/
│ ├── npx-skills-add.sh
│ └── test_npx_skills_add.sh
└── apm-lock-check-ignored/
├── apm-lock-check-ignored.sh
└── test_apm_lock_check_ignored.sh
Several scripts that work together and share one directory, such as a skill's
scripts/, keep each test next to its script in that directory instead.
The test finds its script relative to itself, never through the working directory:
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${SCRIPT_DIR}/find-review-requests.sh" --repo acme/widgets
Renaming
Rename with git mv and rename the test to match. Then search for the old name
(rg -n 'old-name\.sh') and update every caller, doc, usage comment, and Makefile
or hook entry. When rewriting references in bulk, match whole file names, for example
(?<![\w-])old_name\.sh, so the script's new name is not spliced into
test_old_name.sh.
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.
- 12d ago First seen · 53 lines · 546 tokens per session scan A f13ee1e0e3ed
ess-shell-file-naming is a cursor rule published in the GitHub repository CiscoDevNet/essentials (7 stars, last pushed 8d ago), licensed Apache-2.0. It adds 546 tokens to every session, about $0.0022 per session on Opus 5.5. 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-11-19.
ess-shell-file-naming compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ess-shell-file-namingCiscoDevNet/essentials | Cursor rule | 7 | 8d ago | Apache-2.0 | A | 546 | Cursor |
| dashboard-testingAutomattic/wp-calypso | Cursor rule | 13k | yesterday | GPL-2.0 | A | 0 | Cursor |
| solarStahlwalker/framework-solar | Cursor rule | 2 | 12d ago | MIT | A | 0 | Cursor |
| no-barrel-filesprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |
| explicit-opt-in-over-diagnosticsprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 730 | Cursor |
| no-backward-compatibilityprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |
| test-packagesprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 5 | Cursor |