Give your AI coding agent the habits of a careful Nim engineer
Instructions tested against Nim compilers help Claude Code, Codex and Cursor write safer Nim and do the checks you’d otherwise send them back for.
proc `=wasMoved`(w: var Writer) =
w.data = nil # destroy is now a no-op...
# pos and capacity stay stale
var b = move(a)
a.writeByte 'z' # reusing a moved-from value is legal
SIGSEGV: Illegal storage access. (Attempt to read from nil?)What changes in your agent’s Nim work
A build that passes its tests can still leave work your reviewer must find and send the agent back for. The skills make that work routine.
Bug reports a maintainer can act on
The agent minimizes the reproducer, measures its failure rate, and quotes the Nim version and failing output.
Ports that put inherited bugs on record
When a C port deliberately keeps a defect, the agent records it in the code and porting notes for the next maintainer.
Validation once, at the trust boundary
Untrusted input is checked where it enters. Data the compiler already proved is left alone. See the pattern in code.
A sanitizer that reports memory faults
Debugging scripts stop Nim’s crash handler from swallowing segmentation faults, so AddressSanitizer prints its report.
In blind tests on DeepSeek V4.1 Flash and GPT-6.1 Sol, runs with the skills passed every check 56 of 57 times, against fewer than a third without them. See the benchmark.
A skill file repeats its mistakes in every run
A wrong rule repeats every time a skill loads. Compiler-run checks catch mistakes before your agent follows them.
Three bugs from the audit and trials compile, look idiomatic and pass a quick test.
A copy hook that reads freed memory
A =copy guard that compares addresses misses aliasing and reads freed memory; the demo and stress test pass. The agent’s container failed this memory-safety check without the skill and passed with it.
=dup hooks that run on garbage
Copy into raw storage and the compiler injects a =sink that treats uninitialized memory as live. Our skill had the right pragma for the wrong reason. A compiler-run test now pins the rule.
A green suite that never runs your new tests
Without the skill, the agent’s runner listed the tests by hand, so a new test file never runs and the suite stays green. With the skill, the runner finds every test file.
Why verified guidance beats a generated skill, a docs MCP or a bigger model. See the earlier trials and probes.
Tested before it ships, tested again when Nim changes
Anyone can write a skill file. The subscription pays for the work that keeps ours right.
Compiled and run
Each code claim has a program the current Nim compiler builds and runs before the claim ships.
Tried on hard tasks
Agents solve hard, unseen Nim tasks with and without the skill. Where they still fail, the skill is fixed and retested. Unhelpful rules are cut.
Re-tested when the compiler moves
New Nim and Nimony builds rerun the tests, and broken guidance is fixed. nyx update brings the fix to your agent.
We audited 1,160 claims. 1,026 were testable, backed by 789 compiler-run tests. Testing led to 149 corrections and precise caveats on 133 claims. See the ownership-hook corrections.
A downloaded skill goes stale without warning. When a Nimony fix began rejecting a .raises form the error-handling skill had just taught, the version number did not change. Re-running the tests flagged the sentences to rewrite. A one-off copy would still teach the old rule. Read how a release build swallowed an error.
What the subscription adds to the public skills
The public skills stay free. They are separate community work, not a free tier, and they do not get this testing.
| Verified Nim Skills | Public skills | |
|---|---|---|
| Claims tested against the current compilers | All testable claims | Not systematically |
| Audit corrections applied and retested | Yes | Some synced, no guarantee |
| Nimony | Yes | Plugins only |
| Re-verified on new compiler builds | While subscribed | Best effort |
| Use in commercial work | Internal use | Non-commercial only |
36 skills, verified on Nim 2.4.3 and Nimony 0.6.4. Areas: ownership hooks, error handling, API design, C bindings, testing, fuzzing, debugging, bug reporting, porting, performance, parsing, code style, docs, Atlas, formal verification, autovectorization, Wine debugging, and Nimony specifics (plugins, borrow checking, static contracts, assembler, release builds).
In Claude Code, Codex or Cursor in three steps
Works with Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, Windsurf and more.
Subscribe
Check out with Polar. Invoices carry your company name and VAT ID.
Connect GitHub
Accept the read-only invite to the private catalog.
Run NYX
The open-source installer puts the skills where your agent looks, and nyx update pulls each re-verification. Setup guide.
Questions
Don’t strong models already know Nim?
Knowing Nim still leaves room for memory-safety bugs, and a passing build won’t show them. The skills tell the agent which extra checks to run. See the trial results.
They’re markdown files. What am I paying for?
Nim instructions your agent loads, checked against the compiler and kept current as Nim changes. NYX installs and updates them. When a test shows the guidance is wrong, we fix it and the fix arrives in your next update.
Do the skills make the agent cost more?
Much of the cost is your time reviewing unfinished work and sending the agent back. The skills have the agent check more itself, like confirming a bug reproduces and reading sanitizer output. API cost per passing run was lower on DeepSeek V4.1 Flash.
I already use Context7 or another docs MCP. Do I need this?
Yes. Docs help the agent look things up, and some include examples. The skills are maintained, compiler-tested instructions for doing Nim work, like checking ownership edge cases and confirming a bug reproduces. Keep the docs MCP for API details.
Will my agent actually use the skills?
NYX installs the skills where your agent looks for them. Add the pointer to AGENTS.md or CLAUDE.md so it loads the matching skill before Nim work.
Billing, licensing and refunds?
See pricing for plans, invoices, cancellation and refunds.
Let your agent do the careful Nim work before review
Guidance the compiler has already checked, kept current as Nim changes.