MikroCLAW: Skill for Claude Code

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

mikrotik-chronicle is a skill for Claude Code from Syamsuddin/MikroCLAW. It costs 136 tokens per session (926 once invoked), scanned A, original, Apache-2.0.

A read-only change tracker for MikroTik security-related configuration. It saves labelled snapshots and compares them with the current router settings, rating changes such as new users, exposed management ports, or disabled blocking rules by risk.

In plain words
What is it for?
Use it to save a baseline before maintenance, compare later settings with that baseline, review risky changes, and optionally connect them with logs, sessions, or router users.
Why use it?
It creates a reference point for finding unexpected or unplanned changes. The comparison can help identify configuration mistakes or possible signs of compromise.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Syamsuddin/MikroCLAW's own configuration. It tells Claude Code how to work on MikroCLAW 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 MikroCLAW configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Syamsuddin/MikroCLAW. 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/Syamsuddin/MikroCLAW/main/.claude/skills/mikrotik-chronicle/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Syamsuddin/MikroCLAW

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-chronicle

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/syamsuddin/mikroclaw/mikrotik-chronicle"><img src="https://agentmods.dev/badge/skills/syamsuddin/mikroclaw/mikrotik-chronicle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 926 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.
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.00136 $0.00926
Opus 5 $0.00068 $0.00463
Sonnet 5 $0.00027 $0.00185
Haiku 4.5 $0.00014 $0.00093

Measured 11d ago against content hash 84eb232cdc20, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

mikrotik-chronicle 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 11d 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.

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-chronicle/SKILL.md · 57 lines

How it starts

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

MikroTik Chronicle — Mesin Waktu Konfigurasi

Mengubah backup pasif menjadi tata-kelola perubahan aktif: snapshot konfigurasi relevan-keamanan, lalu diff + penilaian risiko untuk mendeteksi perubahan tak terjadwal / jejak kompromi. Read-only terhadap router (snapshot disimpan di disk lokal operator).

Tool yang dipakai

  • mcp__mikroclaw__config_snapshot — ambil & simpan snapshot kanonik ber-hash (firewall/NAT, service, user/grup, scheduler/script, DNS, address-list) ke MIKROCLAW_STATE_DIR/snapshots. Beri label (mis. "sebelum-maintenance").
  • mcp__mikroclaw__config_diff — bandingkan konfigurasi LIVE vs snapshot terakhir, beri perubahan[] dengan risiko (severity + alasan) per item, keparahan_tertinggi.
  • (konteks opsional) system_history (undo RouterOS), recent_logs, active_sessions, router_users untuk korelasi "siapa & kapan".

Prosedur

  1. Tetapkan baseline. Jika belum ada snapshot, panggil config_snapshot (mis. label "baseline"). Jelaskan ini titik referensi.
  2. Bandingkan. Panggil config_diff. Bila baru pertama kali, ia membuat baseline & memberi tahu untuk dijalankan lagi nanti.
  3. Nilai risiko. Untuk tiap perubahan, baca risiko.severity + alasan. Fokuskan ke critical (user baru, port manajemen 22/8291/dst dibuka ke 0.0.0.0/0, pembatasan service dihapus) — ini ciri backdoor pasca-kompromi.
  4. Korelasi. Untuk perubahan mencurigakan, cek recent_logs & active_sessions sekitar waktu itu, dan system_history, untuk menebak siapa/kapan/apakah sah.
  5. Rekomendasi. Untuk perubahan tak sah: sarankan undo (system/history), nonaktifkan user/aturan asing, dan rotasi kredensial. Untuk yang sah: catat & buat snapshot baru sebagai baseline.

Format laporan

## Chronicle — Diff Konfigurasi
**Pembanding:** snapshot 2026-06-27 14:02 (hash a1b2…) → sekarang
**Status:** 🔴 3 perubahan (tertinggi: critical)

| Bagian | Jenis | Identitas | Risiko | Alasan |
|--------|-------|-----------|--------|--------|
| user | ditambah | svc-backup | 🔴 critical | User baru tak terjadwal — bisa backdoor |
| firewall_filter | ditambah | input/accept :8291 | 🔴 critical | Winbox dibuka tanpa batasan sumber |
| ip_service | diubah | www | 🟠 warning | Diaktifkan kembali |

**Korelasi:** perubahan jam 02:14, sesi login dari IP asing → DUGAAN INTRUSI.
**Saran:** isolasi, undo via system/history, rotasi semua kredensial admin.

Read the full file on GitHub · 57 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. 11d ago First seen · 57 lines · 136 tokens per session scan A 84eb232cdc20

Subscribe to this mod's changes

mikrotik-chronicle is a skill published in the GitHub repository Syamsuddin/MikroCLAW (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 136 tokens to every session and 926 once invoked, about $0.0007 per session on Opus 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens