tik4net: Instructions file for Codex

AGENTS.md

tik4net AGENTS.md is an instructions file for Codex, OpenCode from danikf/tik4net. It costs 3,308 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for tik4net, a .NET library that lets programs communicate with MikroTik RouterOS network devices through several connection methods.

In plain words
What is it for?
Use them when changing tik4net, its RouterOS connections, its object-to-database-style mapping, or its tests and builds.
Why use it?
They point agents to the right design documents, build targets, tests, and project details instead of relying on guesses.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md.

This is danikf/tik4net's own configuration. It tells Codex and OpenCode 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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/danikf/tik4net

Made for: Codex, OpenCode.

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 tik4net AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/danikf/tik4net/agents-md"><img src="https://agentmods.dev/badge/instructions/danikf/tik4net/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,308 This file is loaded in full into every session.
When invoked 3,308 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.03308 $0.03308
Opus 5.5 $0.01323 $0.01323
Sonnet 5.5 $0.00662 $0.00662
Haiku 4.5 $0.00331 $0.00331

Measured 19d ago against content hash 4701b33c7b04, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tik4net AGENTS.md 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 19d 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.

Makes network callslowCapability

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

directly (curl for REST, the `mikrotik-cli-probe` skill for CLI/PTY) and confirm what it actually
AGENTS.md · 226 lines

How it starts

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

AGENTS.md

Entry point for AI coding agents working in this repository. Everything here is either non-obvious (you would get it wrong by default) or a pointer to the document that holds the detail. Nothing is duplicated from the documents it links to — follow the link rather than assuming.

Language: this is a public open-source project, so all documentation in this repository is English, including agent-facing files.

What this is

tik4net is a .NET library for talking to MikroTik RouterOS devices. It is not an API-only library: as of 4.0 it ships 11 transports (binary API, REST, and a family of CLI/WinBox/MAC-layer channels) behind one connection contract, plus an attribute-driven O/R mapper on top. The five shipping projects multi-target netstandard2.0;net8.0 — netstandard2.0 is kept deliberately (Unity/Xamarin/.NET Framework reach), and the net8.0 leg is where the modern surface lives, e.g. the IAsyncEnumerable streaming reads. The test and tool projects are net8.0 / net48.

Reference map — read the right file, don't guess

Question Read
How the code is laid out; layers, transports, capability model, O/R mapper internals, where the risk is ARCHITECTURE.md
What the router actually does on the wire (per-transport protocol ground truth) Docs/README.md — index of the Docs/ findings
What the project is, for humans; packages, features, install README.md
Why something is the way it is today; superseded diagnoses; dated incidents Docs/HISTORY.md
What a shipping or non-shipping project does that project's own README.md
End-user usage documentation the wiki (cloned next to this repo — ask the maintainer for its local path)

Read ARCHITECTURE.md before any non-trivial change. It maps the transport family and tells you which code is reverse-engineered and must not be refactored opportunistically.

Read the full file on GitHub · 226 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. 19d ago Changed · +5 lines · +91 tokens per session 4701b33c7b04
  2. 24d ago Changed df2b5b8e65ee
  3. 25d ago Changed · +32 tokens per session b3f0089b4bc8
  4. 1mo ago Changed · +25 tokens per session 31eced7e36d5
  5. 1mo ago Changed · +6 lines · +134 tokens per session dca54c669b1b
  6. 2mo ago First seen · 215 lines · 3,026 tokens per session scan A 7f8581fc60ed

Subscribe to this mod's changes

tik4net AGENTS.md is an instructions file published in the GitHub repository danikf/tik4net (198 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,308 tokens to every session, about $0.0132 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.