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 hashiiiii/rules-for-ai --skill hashiiiii-ziggit clone --depth 1 https://github.com/hashiiiii/rules-for-aiWrote 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/hashiiiii/rules-for-ai/hashiiiii-zig)<a href="https://agentmods.dev/skills/hashiiiii/rules-for-ai/hashiiiii-zig"><img src="https://agentmods.dev/badge/skills/hashiiiii/rules-for-ai/hashiiiii-zig/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/hashiiiii/rules-for-ai/hashiiiii-zig"><img src="https://agentmods.dev/badge/skills/hashiiiii/rules-for-ai/hashiiiii-zig.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.00025 | $0.00663 |
| Opus 5.5 | $0.00010 | $0.00265 |
| Sonnet 5.5 | $0.00005 | $0.00133 |
| Haiku 4.5 | $0.00003 | $0.00066 |
Grade A, and why
hashiiiii-zig 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 14d 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 — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Zig
Write the smallest implementation that preserves required behavior. Use the project's Zig version and check matching standard-library examples before choosing syntax or APIs.
Structure
- Keep unit tests in the implementation file. Put end-to-end tests in root
e2e/and exercise public API flows. - Export libraries from
src/root.zigand executables fromsrc/main.zig. - Ensure the test root references test files; Zig does not discover every source file automatically.
Implementation
- Prefer concrete types,
const, inferred.{...}literals, structs, enums, tagged unions, exhaustiveswitchstatements, ordinary functions, and runtime loops. Usecomptime,inline,anytype, or reflection only when required. - Use file imports within a module and named imports across modules.
- Propagate errors with
try; usecatchfor recovery or translation. Reserveunreachablefor proven invariants. - Use
deferfor cleanup anderrdeferfor error returns. A union-valued failure does not runerrdefer. - Accept allocators explicitly. Make ownership clear, copy retained input when needed, and store resource owners by value unless a stable address is required.
- Use
undefinedonly for storage initialized before reading; cast only when inference or representation requires it.
Tests
- Add or keep a test only when at least 80% confident it is necessary, based on user impact, regression risk, and overlap with existing tests. This threshold concerns necessity, not coverage.
- Use native
testblocks andstd.testing; name and assert the public behavior under test, not private layout or dependency guarantees. - Keep each test self-contained with literal inputs and expected values. Avoid shared fixtures, computed expectations, and case tables that obscure the assertion.
- Comment on why behavior matters. Use real dependencies; never use mocks or stubs.
- For allocations, use
std.testing.allocatorand release owned resources withdefer.
test "parse rejects duplicate modifiers" {
// Duplicate modifiers can hide configuration mistakes.
try std.testing.expectError(error.InvalidKey, KeySpec.parse("Ctrl+Ctrl+x"));
}
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.
- 14d ago Changed · -10 lines b7b56f44f038
- 2mo ago First seen · 59 lines · 25 tokens per session scan A fc43a1a9f7bf
hashiiiii-zig is a skill published in the GitHub repository hashiiiii/rules-for-ai (10 stars, last pushed 10d ago), licensed MIT. It adds 25 tokens to every session and 663 once invoked, about $0.0001 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-09-27.
hashiiiii-zig compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hashiiiii-zighashiiiii/rules-for-ai | Skill | 10 | 10d ago | MIT | A | 25 | Claude Code |
| loom-ccosmix/loom | Skill | 66 | today | MIT | A | 25 | Claude Code, Codex |
| laravel-testingFoysal50x/skills | Skill | 12 | 1mo ago | MIT | A | 83 | Claude Code |
| testing-expertJosephSanjaya/skills | Skill | 5 | 1mo ago | MIT | A | 115 | Claude Code, Codex |
| cpp-testingAeonDave/malskill | Skill | 46 | 6d ago | none | A | 51 | Claude Code, Codex |
| cpp-testinggongyijie85/dsh-ecc | Skill | 13 | 12d ago | MIT | A | 34 | Claude Code, Codex |
| cpp-testingx-cmd/skill | Skill | 26 | 4mo ago | Apache-2.0 | A | 34 | Claude Code, Codex |