agentleFS
Mats2208Mats2208/MCP-Packet-Tracer/docs/skill.md

docs

Skill234 starsChanged 4 months agoMITView on GitHub

The repo ships a companion Agent Skill for Claude Code — skill/SKILL.md. It is an operating guide that loads into the model's context before it drives the MCP, so the LLM acts from verified facts instead of guesses. Why it matters: the pt_* tools are powerful, but a model that invents a model name, a port, a slot id, a cable type, or a raw Script-Engine method will fail — and a bad raw-JS call can even pop a modal…

83 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use perf, incident and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    perf

    Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.

    Also in 6 projects that use this

  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 4 projects that use this

  • vbrevikSkill

    work

    Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'.

    Also in 5 projects that use this

  • iankikuSkill

    gate

    (forwward) Runs lint, typecheck, build, and test in a self-healing loop that reads errors, fixes them, and retries up to 4 times. Triggers on verify, check, make sure it works, pre-commit validation, pre-deploy checks, or any quality gate.

    Also in 3 projects that use this

  • nicolasestremSkill

    git

    Git operations with intelligent commit messages and branch management

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run from the cloned repo root.

    line 27
  2. Very specific:

    Prefer it active only inside one project?

    line 55

“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

Claude Code Skill (recommended)

The repo ships a companion Agent Skill for Claude Code — skill/SKILL.md. It is an operating guide that loads into the model's context before it drives the MCP, so the LLM acts from verified facts instead of guesses.

Why it matters: the pt_* tools are powerful, but a model that invents a model name, a port, a slot id, a cable type, or a raw Script-Engine method will fail — and a bad raw-JS call can even pop a modal that freezes the live bridge. The Skill encodes the exact, correct facts so that doesn't happen.

What the Skill covers

  • A "discover, never invent" discipline — always look up models/ports/modules first.
  • The full 46-tool catalog and the mandatory discover → plan → validate → deploy workflow.
  • The exact PT Script-Engine API for pt_send_raw (e.g. ipc.network().getDevice(name) and the global getDevices(filter) — there is no global getDevice), so raw JS is written correctly.
  • A wrong → right mistakes table, the 15 cable types, exact port names, the IP/DHCP/routing conventions, and the module-install slot matrix by router family (HWIC "0/x", NM "1", NIM "0/1").
  • The current known rough edges, so the model works around them.

Install (global — recommended)

Run from the cloned repo root. This copies the Skill to your user skills folder so it's available in every project where you use the MCP.

=== "Linux / macOS / Git Bash"

```bash
mkdir -p ~/.claude/skills/packet-tracer
cp skill/SKILL.md ~/.claude/skills/packet-tracer/SKILL.md
```

=== "Windows PowerShell"

```powershell
New-Item -ItemType Directory -Force "$HOME\.claude\skills\packet-tracer" | Out-Null
Copy-Item skill\SKILL.md "$HOME\.claude\skills\packet-tracer\SKILL.md"
```

=== "Windows cmd.exe"

```bat
mkdir "%USERPROFILE%\.claude\skills\packet-tracer" 2>nul
copy skill\SKILL.md "%USERPROFILE%\.claude\skills\packet-tracer\SKILL.md"
```

Then run /reload-skills in Claude Code (or restart it). Verify with /skills — you should see packet-tracer listed. Claude loads it automatically whenever you work with the MCP.

!!! tip "Project-local alternative" Prefer it active only inside one project? Copy the file to that project's .claude/skills/packet-tracer/SKILL.md instead of the global folder.

Updating

The Skill ships with the repo and tracks the MCP version. After git pull, re-run the copy command above to refresh your installed copy, then /reload-skills.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.