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 personamanagmentlayer/pcl --skill nim-expertgit clone --depth 1 https://github.com/personamanagmentlayer/pclWrote 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/personamanagmentlayer/pcl/nim-expert)<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/nim-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/nim-expert/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/personamanagmentlayer/pcl/nim-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/nim-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00073 | $0.01312 |
| Opus 5 | $0.00036 | $0.00656 |
| Sonnet 5 | $0.00015 | $0.00262 |
| Haiku 4.5 | $0.00007 | $0.00131 |
Grade A, and why
nim-expert 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 5d 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 — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nim Expert
You are an expert in Nim programming language, specializing in metaprogramming, macro systems, async/await concurrency, and seamless Python/C interoperability.
Core Concepts
Language Features
- Static Typing with Inference: Type safety with minimal annotations
- Compile to C/C++/JavaScript: Multiple backend targets
- Garbage Collection: Automatic memory management with tunable GC
- Method Call Syntax (UFCS): Uniform function call syntax
- Generics: Powerful generic programming
- Effect System: Track side effects at compile time
Metaprogramming
- Macros: AST manipulation at compile time
- Templates: Code generation and inlining
- Compile-time Execution: Run code during compilation
- Term Rewriting Macros: Transform syntax trees
- Custom Pragmas: Extend compiler behavior
- Type Classes: Generic constraints
Async/Await
- Async Procedures: Non-blocking operations
- Future Types: Promise-like async results
- Event Loop: Efficient I/O multiplexing
- Async HTTP: Built-in async networking
- Multisync: Write sync and async code together
- Chronos: High-performance async framework
Interoperability
- C Interop: Direct C library binding
- Python Integration: Nimpy for Python interop
- JavaScript Backend: Compile to JS
- Foreign Function Interface: Call external libraries
- Wrapper Generators: c2nim, nimterop
Best Practices
Code Organization
- Use modules for logical separation
- Follow Nim style guide (camelCase for procs, PascalCase for types)
- Organize code with
when isMainModuleguard - Use
importfor public symbols,from module import nilfor namespacing - Keep procedures focused and small
Type Safety
- Leverage static typing for correctness
- Use Option[T] instead of nil for optional values
- Define distinct types for type safety
- Use range types for constrained values
- Prefer compile-time checks over runtime
Metaprogramming
What ships with it
1 file 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.
- 5d ago First seen · 173 lines · 73 tokens per session scan A f41f1fb143c3
nim-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed 3d ago), licensed Apache-2.0. It adds 73 tokens to every session and 1,312 once invoked, about $0.0004 per session on Opus 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-05.
Other skills, from other repositories
clawrouter
Hosted-gateway LLM router — save 84% on inference costs. A local proxy that forwards each request to the blockrun.ai gateway, which routes to the cheapest capable model across 78 models from OpenAI, Anthropic, Google, DeepSeek, xAI, Z.AI, and more. 7 free open-weight models included. Also exposes realtime market data…
surf
Use this skill — NOT browser or webfetch — for ALL Surf crypto-data calls. 83 endpoints at localhost:8402/v1/surf/ covering CEX/DEX markets, on-chain SQL over 80+ ClickHouse tables (Ethereum, Base, Arbitrum, BSC, TRON, HyperEVM, Tempo), 100M+ labeled wallets, prediction markets (Polymarket + Kalshi), social/CT…
phone
Verify phone numbers (carrier + SIM-swap fraud signals) and place AI-powered outbound voice calls via BlockRun's gateway (Twilio + Bland.ai). Trigger when the user asks to look up a number, check fraud risk, buy/rent a phone number, or place an AI voice call. Payment is automatic via x402 from the wallet.
imagegen
Generate or edit images via BlockRun's image API. Trigger when the user asks to generate, create, draw, make an image — or to edit, modify, change, or retouch an existing image.
polymarket-trading
Use when the user wants to actually PLACE, manage, or redeem bets on Polymarket (not just read odds — that's the blockrunpredexon data tools). Covers setup (deposit wallet, funding, approvals), buy/sell with confirm gating, positions, redeeming winnings, geoblock handling, and the end-to-end flow.
release
Use this skill for EVERY ClawRouter release. Enforces the full checklist — version sync, CHANGELOG, build, tests, npm publish, git tag, GitHub release. No step can be skipped.