neko-master: Skill for Claude Code

.claude/skills/agent-probe-dev/SKILL.md

agent-probe-dev is a skill for Claude Code from foru17/neko-master. It costs 55 tokens per session (739 once invoked), scanned A, original, MIT.

Development guidance for a Go program that runs on routers and servers, checks local gateway services, and sends reports to a collector over HTTP. It covers the program's layout, service scripts, protocol versions, and supported router constraints.

In plain words
What is it for?
Use it when changing anything in apps/agent, including the main loop, gateway clients, configuration, service wrapper, installer, or report and heartbeat requests.
Why use it?
It keeps changes consistent with the agent's communication protocol and limited router environments. It also provides checks to catch Go and shell-script problems before release.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

About the project

Neko Master is a dashboard that collects and visualizes network traffic from local gateway environments. It is for monitoring, auditing, and analyzing traffic across multiple gateways, with the catalogue entries providing instructions and skills for working with the dashboard.

foru17/neko-master · 4,243 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to foru17/neko-master. 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/foru17/neko-master/main/.claude/skills/agent-probe-dev/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/foru17/neko-master

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 agent-probe-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/foru17/neko-master/agent-probe-dev/github.svg)](https://agentmods.dev/skills/foru17/neko-master/agent-probe-dev)
Your own site
<a href="https://agentmods.dev/skills/foru17/neko-master/agent-probe-dev"><img src="https://agentmods.dev/badge/skills/foru17/neko-master/agent-probe-dev/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 agent-probe-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/foru17/neko-master/agent-probe-dev"><img src="https://agentmods.dev/badge/skills/foru17/neko-master/agent-probe-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 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 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.00055 $0.00739
Opus 5.5 $0.00022 $0.00296
Sonnet 5.5 $0.00011 $0.00148
Haiku 4.5 $0.00006 $0.00074

Measured 2mo ago against content hash b89db036c1fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-probe-dev 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 2mo 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.

- `install.sh` — curl-pipe installer
.claude/skills/agent-probe-dev/SKILL.md · 40 lines

How it starts

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

Agent Probe Development (apps/agent)

The agent is a Go binary deployed on routers/servers. It polls the local gateway (mihomo/Surge) and reports to the collector over HTTP (gzip JSON POST to /api/agent/report|heartbeat|config|policy-state) — not WebSocket.

Layout

  • main.go — entrypoint, flag parsing
  • internal/agent/runner.go — main loop: report/heartbeat/config-sync tickers, pending queue, retry batch
  • internal/gateway/ — mihomo & Surge API clients
  • internal/config/config.go — flags, AgentProtocolVersion
  • nekoagent — POSIX-sh service manager wrapper (install/upgrade/systemd/procd/launchd)
  • install.sh — curl-pipe installer

Verify

cd apps/agent
go vet ./... && go build ./... && go test ./...
sh -n nekoagent && sh -n install.sh   # shell syntax gate — both scripts must parse with POSIX sh

Hard rules

  1. Protocol versioning. Payload shape changes require bumping AgentProtocolVersion (Go) AND the collector's minimum accepted version (agent auth in apps/collector/src/modules/app/app.ts); the collector rejects too-old agents with HTTP 426 + structured error. The Go structs and the collector's TS payload types are mirrored by hand — change both sides in one commit.
  2. Data-loss protections are contracts: single in-flight retry batch, requestId idempotency dedup, counter-regression handling (gateway restart counts current value as new traffic), bounded pending queue with dropped accounting. Don't weaken these when refactoring the loop.
  3. Router constraints. Target environments include OpenWrt/BusyBox: nekoagent must stay POSIX sh (no bashisms), /tmp is tmpfs (RAM) — clean up temp dirs (accumulate EXIT traps, don't overwrite them), and network calls in shell must carry timeouts + retries (curl --connect-timeout 10 --max-time 120 --retry 3).
  4. Self-replacement. Never overwrite a running script/binary in place — download to a sibling .tmp/.new path and mv (same-filesystem rename) so the running inode survives.
  5. Service management. systemd unit: StartLimitIntervalSec/Burst belong in [Unit], not [Service]. procd (OpenWrt) respawn has a finite retry budget — treat "cannot start" as exit non-zero so supervisors behave correctly.

Read the full file on GitHub · 40 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. 2mo ago First seen · 40 lines · 55 tokens per session scan A b89db036c1fb

Subscribe to this mod's changes

agent-probe-dev is a skill published in the GitHub repository foru17/neko-master (4,243 stars, last pushed 27d ago), licensed MIT. It adds 55 tokens to every session and 739 once invoked, about $0.0002 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.

Related

agent-probe-dev compared with skills from other repositories

agent-probe-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-probe-devforu17/neko-masterSkill4.2k27d agoMITA55Claude Code
wasmTheBeardedBearSAS/claude-craftSkill1073d agoMITA43Claude Code
analyzing-golang-malware-internalsmeltedinhex/analyst-ai-packSkill244mo agoApache-2.0A65Claude Code, Codex
tinygogandarez/agent-skillsSkill27mo agoMITA56Claude Code, Codex
ikuai-cliikuaios/ikuai-cliSkill154mo agoMITC112Claude Code, Codex
viam-go-platformviam-devrel/agent-skillsSkill23mo agononeA216Claude Code
viam-go-motion-visionviam-devrel/agent-skillsSkill23mo agononeA204Claude Code