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.
npx skills add n-n-code/n-n-code-skills --skill coding-guidance-bashgit clone --depth 1 https://github.com/n-n-code/n-n-code-skillsWrote 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/skills/n-n-code/n-n-code-skills/coding-guidance-bash)<a href="https://agentmods.dev/skills/n-n-code/n-n-code-skills/coding-guidance-bash"><img src="https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/coding-guidance-bash/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/skills/n-n-code/n-n-code-skills/coding-guidance-bash"><img src="https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/coding-guidance-bash.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.00062 | $0.02064 |
| Opus 5.5 | $0.00025 | $0.00826 |
| Sonnet 5.5 | $0.00012 | $0.00413 |
| Haiku 4.5 | $0.00006 | $0.00206 |
Grade A, and why
coding-guidance-bash 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bash Coding Guidance
This skill adds portable Bash implementation, refactoring, and review guidance.
Adjacent Skills
This skill provides portable Bash engineering principles. Compose with:
- Workflow: thinking (ambiguous decision framing), recursive-thinking (stress-testing), security (threat modeling)
- Domain overlays: project-core-dev (repo-specific completion discovery and reporting when needed), project-platform-diagnose (environment-sensitive diagnosis), project-release-maintainer (release or packaging workflows that happen to use Bash)
Reference Map
Load references only when the task needs that depth:
- references/failure-and-cleanup.md for
strict options,
errexitedge cases, traps, temporary resources, and explicit failure propagation - references/process-and-filesystem-safety.md for command construction, background process ownership, concurrent invocation, filename-safe iteration, and cross-platform tool boundaries
When Not to Lean on This Skill
- non-shell work
- POSIX
shportability work where Bash-only features are not allowed (adapt the guidance to the repo's POSIX-shell contract instead of importing Bash-only defaults) - large data processing jobs that should realistically move to Python, awk, or another language with stronger structure
- broader release, packaging, or publishing workflow design that only happens
to call Bash; use
project-release-maintainerfirst
Implementation Workflow
- Read the touched scripts, entrypoints, call sites, and nearby docs before editing.
- Infer the intended contract from current usage text, flags, tests, and environment assumptions. Ask only when multiple plausible script behaviors would change semantics.
- Keep the contract narrow: inputs, outputs, exit codes, environment dependencies, filesystem effects, and external tool requirements should be explicit.
- Implement with deliberate failure handling, safe quoting, arrays for argv construction, functions for meaningful substeps, and cleanup traps for temporary state.
- Add or update shell tests when the repo has them; otherwise add the smallest reproducible validation path you can run directly.
- Run the narrowest relevant formatter, linter, and script tests the repo supports.
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.
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.
- 2mo ago Changed 3c719ecfde45
- 3mo ago First seen · 210 lines · 62 tokens per session scan A fca782c53c1c
coding-guidance-bash is a skill published in the GitHub repository n-n-code/n-n-code-skills (4 stars, last pushed 29d ago), licensed MIT. It adds 62 tokens to every session and 2,064 once invoked, about $0.0002 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-08-31.
coding-guidance-bash compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coding-guidance-bashn-n-code/n-n-code-skills | Skill | 4 | 29d ago | MIT | A | 62 | Claude Code, Codex |
| init-workspacegtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 54 | Claude Code |
| execute-phasegtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 106 | Claude Code |
| fold-findingsgtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 65 | Claude Code |
| unit-lanegtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 53 | Claude Code |
| audit-docsgtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 147 | Claude Code |
| audit-prgtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 71 | Claude Code |