tik4net: Skill for Claude Code

.claude/skills/mikrotik-tests/SKILL.md

mikrotik-tests is a skill for Claude Code from danikf/tik4net. It costs 110 tokens per session (8,819 once invoked), scanned A, original, Apache-2.0.

A guide for running tik4net integration tests against a live MikroTik router. Integration tests exercise the real connection and transport, while unit tests run without router hardware.

In plain words
What is it for?
Use it to run one transport or the full transport matrix, create and debug live-router tests, inspect or clean router state, and investigate skipped tests or leftover resources.
Why use it?
It explains which test project to use, how each connection method is selected, and why tests may be skipped or fail because of router state. This helps keep hardware-dependent checks separate from tests that can run in continuous integration.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

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 →

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/mikrotik-tests/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 mikrotik-tests

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danikf/tik4net/mikrotik-tests"><img src="https://agentmods.dev/badge/skills/danikf/tik4net/mikrotik-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00110 $0.08819
Opus 5.5 $0.00044 $0.03528
Sonnet 5.5 $0.00022 $0.01764
Haiku 4.5 $0.00011 $0.00882

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

Security

Grade A, and why

mikrotik-tests 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 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.

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.

.claude/skills/mikrotik-tests/SKILL.md · 528 lines

How it starts

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

MikroTik integration tests

Covers the integration suite only — tik4net.integrationtests/ (MSTest, net48), which needs a live router and never runs in CI. Router-free tests live in tik4net.unittests/ (net8.0) and run in CI on every push; if a new test does not actually need hardware, write it there instead.

dotnet test tik4net.unittests/tik4net.unittests.csproj

Router coordinates come from tik4net.integrationtests/App.config (host, user, pass, routerMac, plus the topology keys consumed by TestConstants.cs). That file is the single source of truth — read it, never restate its values. The romonTarget* keys name the second lab router, CHR2: the RoMON target RomonRelayTest reaches through the first (and writes to), kept on RouterOS 6.49.21 as the older router — no REST, no proplist=, flags read as id lists (Docs/findings-routeros-6.md, which also holds the numbered list of what is still open on 6.x). Run CliFlagFieldsTest against it after any change to the CLI read path; not the full suite, which assumes the first router's topology. Empty romonTargetId = the RoMON tests are Inconclusive. The romonSshTarget* keys send the Telnet/SSH/MAC-Telnet relay rows to CHR3 instead: a RouterOS 7.25 agent cannot SSH to a 6.x router (packet not aligned, a RouterOS defect, not ours). The table is in tik4net.integrationtests/README.md, The lab routers.

Switch routers with -Router, never by editing App.config. A router profile is a set of <name>.<key> entries in App.config (chr2.host, chr2.routerMac, …) that override the plain keys; -Router chr2 sets TIK4NET_ROUTER for the run, writes to TestResults/chr2, and the chr2 profile switches the RoMON target off (CHR2 would relay to itself). Every test reads its settings through LabConfig.Get, and IntegrationTestConfigReadTests in the unit suite fails on a direct AppSettings read, which would reach the default router whatever the run selected. Without -Router the script clears an inherited TIK4NET_ROUTER, so a leftover variable cannot redirect a run.

powershell -NoProfile -ExecutionPolicy Bypass -Command "& 'Tools/probes/run-integration-tests.ps1' -Router chr2 -Transport @('api') -Filter 'FullyQualifiedName~CliFlagFieldsTest'"

TestBase.LabAddress picks which of them a run uses, and the choice is not cosmetic: the MAC-layer transports run with no host at all, addressed by routerMac alone. That is the case those transports exist for (a router with no IP address), so a mac* run that passed the host as well would leave it untested — and routerMac is therefore mandatory in App.config for those three runsettings, not an optimization that skips MNDP.

Read the full file on GitHub · 528 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 · +2 lines 96405f289954
  2. 14d ago Changed · +3 lines cef9d69c2654
  3. 19d ago Changed · +7 lines 6995fdc94068
  4. 23d ago Changed 5a99986cc0b3
  5. 25d ago Changed · +58 lines 3be4f092eba3
  6. 1mo ago Changed · +41 lines e6be60a30eed
  7. 1mo ago Changed · +6 lines f41ca0f73f84
  8. 1mo ago Changed · +21 lines e341bdae02ba
  9. 2mo ago First seen · 390 lines · 110 tokens per session scan A e7ee9acdc2f7

Subscribe to this mod's changes

mikrotik-tests is a skill published in the GitHub repository danikf/tik4net (198 stars, last pushed yesterday), licensed Apache-2.0. It adds 110 tokens to every session and 8,819 once invoked, about $0.0004 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-08-30.