tik4net: Skill for Claude Code

.claude/skills/entity-generator/SKILL.md

entity-generator is a skill for Claude Code from danikf/tik4net. It costs 144 tokens per session (7,439 once invoked), scanned A, original, Apache-2.0.

A code generator for creating a C# class that represents a MikroTik router object or configuration path in the tik4net library. The generated class includes field types, access rules, documentation, and the methods needed to use it.

In plain words
What is it for?
Use it when adding support for a MikroTik API path, such as DHCP-server leases, to tik4net, especially when you need a finished entity class rather than a rough draft.
Why use it?
It removes the repetitive work of turning MikroTik’s router data and documentation into correctly structured library code. It also helps distinguish fields that can be changed from those that can only be read.

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/entity-generator/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 entity-generator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danikf/tik4net/entity-generator"><img src="https://agentmods.dev/badge/skills/danikf/tik4net/entity-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,439 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 warn 7 Sept 2026
SkillSpector: 2 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 301
    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 302
    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.00144 $0.07439
Opus 5.5 $0.00058 $0.02976
Sonnet 5.5 $0.00029 $0.01488
Haiku 4.5 $0.00014 $0.00744

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

Security

Grade A, and why

entity-generator 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/entity-generator/SKILL.md · 442 lines

How it starts

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

tik4net entity code generator

Goal: produce a finished, idiomatic entity class under tik4net.objects/ for a given MikroTik API path (e.g. /ip/dhcp-server/lease). This replaces the two legacy WinForms helpers — you do the same work they did, but with better sources (live router via MCP and the wiki) and you finish the code (the old tools always produced a draft that a human had to clean up).

The division of labour those tools established still holds: the router is the source of truth for what fields exist and their live values; the documentation is the source of truth for types, defaults, the read-only split and descriptions. Use both and reconcile.

The tools themselves are gone (deleted in 4.0, after this skill replaced them). Everything they knew that is still worth knowing is in this file; if you need to see how they did something, git log them under Tools/tik4net.entitygenerator/ and Tools/tik4net.entityWikiImporter/.

When to use / inputs

Trigger when the user names a MikroTik path or menu and wants a tik4net entity for it. The only required input is the API path (/ip/.../...). If the user gives a WinBox menu name instead, translate it to the API path first (lowercase, slash-separated).

Step 1 — Namespace and class name (convention)

From High-level-API-custom-entities wiki page. Class name = last two parts of the API path, camelized:

/ip/firewall/filter   → namespace tik4net.Objects.Ip.Firewall   class FirewallFilter
/interface/vlan       → namespace tik4net.Objects.Interface      class InterfaceVlan
/ip/dns               → namespace tik4net.Objects.Ip             class IpDns
  • Sub-namespace when the sub-path will hold more than one class: /ip/dns → Ip.IpDns, /ip/dns/cache → Ip.Dns.DnsCache.
  • Three-part names when a hypothetical sub-namespace would hold only one class: /ip/hotspot/user → Ip.Hotspot.HotspotUser, /ip/hotspot/user/profile → Ip.Hotspot.HotspotUserProfile.
  • Property names: MikroTik field → PascalCase (add-mac-cookie → AddMacCookie). Camelization drops - and . and title-cases (see GeneratorHelper.Camelize).
  • Enum member names: MikroTik value → PascalCase (reply-only → ReplyOnly), value carried by [TikEnum("reply-only")].

Read the full file on GitHub · 442 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 21df86a1448c
  2. 12d ago Changed c402bb38cee4
  3. 22d ago Changed · +23 lines a476761483a7
  4. 24d ago Changed · +1 lines 4b28463860cc
  5. 1mo ago Changed · -47 lines ad74a8041246
  6. 1mo ago Changed b00ffd5e4bc4
  7. 1mo ago Changed · +13 lines da3f19a9f6be
  8. 1mo ago Changed · +2 lines 45a3459a1d89
  9. 2mo ago First seen · 450 lines · 144 tokens per session scan A ec87a2a33d1d

Subscribe to this mod's changes

entity-generator is a skill published in the GitHub repository danikf/tik4net (198 stars, last pushed yesterday), licensed Apache-2.0. It adds 144 tokens to every session and 7,439 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

generate-code-cs

Generate the code from typespec for C#. Parameter: C# SDK repository root location .

Azure/azure-sdk-for-net · 26 tokens

translate-a-sample

Translate the Azure SDK sample from python to C# and generate markdownn file for the sample. Parameters: C# SDK repository root; python SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; The name of sample file in Python SDK repository.

Azure/azure-sdk-for-net · 90 tokens

author-test

Generate a test given sample. Parameters: C# SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; the sample to use as a starting point for the test.

Azure/azure-sdk-for-net · 68 tokens

fluence-consumer-starter

Create a new Fluence.Wpf consumer WPF app, a NavigationView MVVM shell, or a Windows Settings-inspired shell from the installed Fluence consumer templates.

sintaxasn/Fluence.Wpf · 39 tokens

opentelemetry-net-instrumentation

Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.

Aaronontheweb/dotnet-skills · 56 tokens

wpf

Build and modernize WPF applications on .NET with correct XAML, data binding, commands, threading, styling, and Windows desktop migration decisions. USE FOR: working on WPF UI, MVVM, binding, commands, or desktop modernization; migrating WPF from .NET Framework to .NET; integrating newer Windows capabilities into a…

managedcode/dotnet-skills · 122 tokens