tik4net: Skill for Claude Code

.claude/skills/chr-test-router-init/SKILL.md

chr-test-router-init is a skill for Claude Code from danikf/tik4net. It costs 258 tokens per session (6,829 once invoked), scanned A, original, Apache-2.0.

A setup procedure for restoring a virtual MikroTik CHR router to the configuration required by tik4net’s integration tests. CHR is MikroTik’s virtual-router edition, and integration tests check a system against a live router.

In plain words
What is it for?
Use it after a router reset, restore, reinstallation, or recreation to prepare the test device and confirm that its connections and topology are ready for integration testing.
Why use it?
It brings a reset or newly recreated test router back to a known state and verifies each setup step. This avoids failures caused by missing configuration or stale router details.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

This is danikf/tik4net's own configuration. It tells Claude Code how to work on tik4net itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tik4net configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is configuration reset and the investigation stalled. See [`Docs/HISTORY.md`](../../../Docs/HISTORY.md)..

Reuse

Borrowing it

Nothing to install: this file belongs to danikf/tik4net. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/danikf/tik4net/master/.claude/skills/chr-test-router-init/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/danikf/tik4net

Made for: Claude Code.

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.

agentmods badge for chr-test-router-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/danikf/tik4net/chr-test-router-init/github.svg)](https://agentmods.dev/skills/danikf/tik4net/chr-test-router-init)
Your own site
<a href="https://agentmods.dev/skills/danikf/tik4net/chr-test-router-init"><img src="https://agentmods.dev/badge/skills/danikf/tik4net/chr-test-router-init/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.

agentmods 80×15 button for chr-test-router-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/danikf/tik4net/chr-test-router-init"><img src="https://agentmods.dev/badge/skills/danikf/tik4net/chr-test-router-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 258 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,829 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 95
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 129
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 138
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 169
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 216
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 238
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00258 $0.06829
Opus 5.5 $0.00103 $0.02732
Sonnet 5.5 $0.00052 $0.01366
Haiku 4.5 $0.00026 $0.00683

Measured yesterday against content hash 2027f8b91312, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chr-test-router-init scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sI "https://download.mikrotik.com/routeros/$V/all_packages-x86-$V.zip" | grep -iE "^HTTP|content-length"
.claude/skills/chr-test-router-init/SKILL.md · 441 lines

How it starts

The opening of the file, as written. The whole thing — 441 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CHR test-router initialization (tik4net)

Brings a freshly restored CHR back to the state the integration suite assumes. Runs top to bottom; every step ends in a live verification, not just a "command accepted".

Router coordinates are read from tik4net.integrationtests/App.config — that file is the single source of truth (host, user, pass, routerMac). Never hardcode an IP, MAC or credential in this skill or in a command; read the current values from App.config at the start of the run and keep them in shell variables for the session:

# from tik4net.integrationtests/App.config
ROUTER_HOST=…   ROUTER_USER=…   ROUTER_PASS=…   ROUTER_MAC=…

All router calls go through the tik4net MCP (mikrotik_call) — see the mikrotik skill. Using our own library to provision the router is deliberate: it smoke-tests the transports as a side effect.


Step 0a — Check the VM's vCPU count before anything else

Ask the maintainer what the CHR VM is given, and if it is wide, say so: 2 vCPUs, not 16.

A 16-vCPU CHR on a laptop host wedged large API reads about once every six to eight, for weeks, in a way that looked exactly like a router that stops answering — sentences arriving and then nothing for 30 s, on a session the router was still executing writes for. Two vCPUs cleared it: 40 reads, no stalls. A wide VM is harder for the hypervisor to place, and while it waits nothing inside runs, including the timers that would retransmit. Also turn Dynamic Memory off; RouterOS expects its memory to be there.

The measurement is tik4net.integrationtests/ApiLargeReadStallProbe.cs (TIK_PROBE=1), and the full story is in Docs/findings-router-throughput-ceiling.md.

Step 0 — MNDP scan: find the router and let the user confirm which one it is

Start here, before touching App.config or assuming any IP. After a VM rebuild the IP, the MAC and the identity can all have changed, and there is usually more than one MikroTik reachable (the developer's own home router shares the segment). Never guess which one is the test box.

Read the full file on GitHub · 441 lines

Changes

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.

  1. yesterday Changed · +3 lines 2027f8b91312
  2. 19d ago Changed · +3 lines d7620454260c
  3. 24d ago Changed · +28 lines 80830fbfbc83
  4. 25d ago Changed b2bdd60f8a56
  5. 1mo ago Changed · +1 lines 347a46ca3daf
  6. 1mo ago Changed · +46 lines b2dfd678b6bc
  7. 1mo ago Changed 2e9a770cd04d
  8. 1mo ago Changed · +14 lines 02811711ea80
  9. 2mo ago First seen · 346 lines · 258 tokens per session scan A 5aba8fce63bc

Subscribe to this mod's changes

chr-test-router-init is a skill published in the GitHub repository danikf/tik4net (198 stars, last pushed yesterday), licensed Apache-2.0. It adds 258 tokens to every session and 6,829 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.