Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
Wrote 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/instructions/tikoci/mikropkl/claude-md)<a href="https://agentmods.dev/instructions/tikoci/mikropkl/claude-md"><img src="https://agentmods.dev/badge/instructions/tikoci/mikropkl/claude-md.svg" alt="Measured on agentmods" 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.13297 | $0.13297 |
| Opus 5 | $0.06649 | $0.06649 |
| Sonnet 5 | $0.02659 | $0.02659 |
| Haiku 4.5 | $0.01330 | $0.01330 |
Grade B, and why
mikropkl CLAUDE.md scanned grade B with 2 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 6d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo DEBIAN_FRONTEND=noninteractive apt-get update -qq Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- `*.img.zip.url` → `wget` + `unzip` → raw `.img` disk (cached in `.url-cache/`) How it starts
The opening of the file, as written. The whole thing — 909 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — Project Context for AI Agents
This file documents the mikropkl project for AI coding agents. Read it before making changes.
Project Purpose
mikropkl produces declarative virtual machine packages for MikroTik RouterOS CHR using pkl. The primary output is UTM bundles (.utm directories) for macOS, with QEMU launch scripts (qemu.sh + qemu.cfg) for Linux and CI testing.
The goal is to streamline getting RouterOS CHR running — whether checking a config on an older version, trying a new feature, or bringing up multiple CHRs for network testing. Without mikropkl, getting CHR running involves downloading images from MikroTik, navigating several UI dialogs or constructing long qemu-system-* command lines. mikropkl replaces all that with declarative pkl manifests and make.
Two delivery paths:
- UTM (macOS-first):
utm://downloadVM?url=...one-click install, or download ZIP and open. UTM handles the VM lifecycle. - QEMU (macOS + Linux): Each
.utmbundle includesqemu.sh+qemu.cfg. Unpack the ZIP, run./qemu.sh, get a RouterOS prompt. Also used for CI validation.
The .utm bundle is a ZIP archive — structurally portable. A future mikropkl CLI tool could manage QEMU-based instances from ~/.local/ or ~/.mikropkl/, providing a Linux-native experience similar to UTM's on macOS.
Platform focus: macOS and Linux. Windows/WSL is not a target — we won't document setup steps, but QEMU on WSL should work since the scripts are POSIX shell. If someone reports a WSL issue, we'd consider it. The core challenge on Windows is that there's no default virtualization platform equivalent to KVM or Apple's Hypervisor.framework, so the kind of automation mikropkl does doesn't map cleanly to "brew install qemu" or "apt install qemu".
Directory Structure
Makefile ← two-phase build orchestration (source of truth for building)
Manifests/ ← one .pkl file per machine variant (amend Templates/)
Templates/ ← mid-level pkl templates (amend Pkl/utmzip.pkl)
Pkl/ ← core pkl modules
utmzip.pkl ← root module: defines all file outputs for a .utm bundle
QemuCfg.pkl ← generates qemu.cfg (ini) + qemu.sh (launcher) for direct QEMU use
Libvirt.pkl ← generates libvirt.xml (experimental, disabled by default)
CHR.pkl ← RouterOS CHR download URL logic and SVG icon helpers
UTM.pkl ← UTM-specific types (SystemArchitecture, BackendType, etc.)
Randomish.pkl ← deterministic pseudo-random helpers (MAC address generation)
URL.pkl, SVG.pkl ← helper modules
chr-version.pkl ← resolves RouterOS version from release channel (env: CHR_VERSION)
Files/
efi_vars.fd ← UEFI variable store (copied into Apple-backend bundles)
QEMU.md ← user-facing QEMU deployment guide
Machines/ ← build output (git-ignored except .url/.size placeholders)
Tests/ ← anchor tests (see Tests/README.md); `make test`, no QEMU needed
Lab/ ← local experiments, debug scripts, investigation notes (NOT build artifacts)
libvirt/ ← libvirt experiment docs and notes (see LIBVIRT.md inside)
qemu-arm64/ ← QEMU aarch64 boot investigation (see NOTES.md inside)
x86-direct-kernel/ ← x86 direct kernel boot experiments (see NOTES.md inside)
.github/workflows/
chr.yaml ← builds and releases UTM packages to GitHub Releases
test.yaml ← anchor tests on push/PR (no QEMU): accel decision table
qemu-test.yaml ← boots each QEMU machine via qemu.sh and runs REST API checks
libvirt-test.yaml ← historical: precursor to qemu-test.yaml (parses XML → raw QEMU)
auto.yaml ← automated trigger for chr.yaml on new RouterOS versions
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.
- 6d ago First seen · 909 lines · 13,297 tokens per session scan B 51e10df2a86a
mikropkl CLAUDE.md is an instructions file published in the GitHub repository tikoci/mikropkl (52 stars, last pushed 2d ago), licensed Unlicense. It adds 13,297 tokens to every session, about $0.0665 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
mikrotik-routeros-mcp AGENTS.md
AGENTS.md instructions for drohi-r/mikrotik-routeros-mcp, covering agents.md, project, core rules, key commands and key paths.
routeros-inspector-mcp CLAUDE.md
Claude Code instructions for kevinb361/routeros-inspector-mcp, covering routeros inspector mcp, purpose, hard safety boundary, public-repository hygiene and references.
routeros-inspector-mcp AGENTS.md
AGENTS.md instructions for kevinb361/routeros-inspector-mcp, a project described as: Unofficial read-only MCP server for MikroTik RouterOS inspection and policy-backed audits.
tik4net AGENTS.md
AGENTS.md instructions for danikf/tik4net, covering agents.md, what this is, reference map — read the right file, don't guess, build and tests.
mikrotik-mcp CLAUDE.md
Instructions for mikrotik-mcp/mikrotik-mcp, covering claude.md, what this is, commands, architecture and adding or changing a tool module.
tik4net CLAUDE.md
Claude Code instructions for danikf/tik4net, a project described as: Manage mikrotik routers with .NET C# code via ADO.NET like API or enjoy O/R mapper like highlevel api.