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

docs

Skill385 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…

184 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use genie-hacks, workfly 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.
  • automagik-devSkill

    genie-hacks

    Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.

    Also in 3 projects that use this

  • automagik-devSkill

    workfly

    Discover a procedure and build its saved workflow — dynamic discovery, drafted script, adversarial verification, landed in the catalog.

    Also in 3 projects that use this

  • amirbironSkill

    import-memory

    Import a memory export from another AI assistant into Claude's memory — conversationally, additively, and with the content treated as data.

    Also in 4 projects that use this

  • thechandanbhagatSkill

    sql

    Write SQL queries, optimize database performance, design schemas, and debug SQL issues. Use for database operations, query optimization, and schema design.

    Also in 5 projects that use this

  • and-lzSkill

    web-frontend

    ALWAYS use for ANY web frontend, React, Next.js, Tailwind CSS, or modern CSS request — non-negotiable. Triggers on React, Next.js, App Router, RSC, Server Components, Server Actions, use(), useOptimistic, useFormStatus, useActionState, Suspense, Tailwind CSS, @theme, @variant, container queries, :has(), subgrid, view transitions, scroll-driven animations, color-mix(), oklch, CSS layers, CSS nesting, anchor positioning, TypeScript, Core Web Vitals, LCP, CLS, INP, Lighthouse, bundle optimization, image optimization, next/image, next/font, Vitest, Playwright, Testing Library, WCAG, ARIA, semantic HTML, keyboard navigation, screen reader, React 19, Next.js 15, Tailwind v4, middleware, ISR, streaming, RSC payload, Zustand, React Query, TanStack, Zod, React Hook Form, Radix, shadcn/ui, Framer Motion, CSS modules, PostCSS, responsive design, mobile-first, dark mode, color scheme, design tokens, i18n, next-intl, route groups, parallel routes, intercepting routes, generateMetadata, opengraph-image, sitemap, robots, edge runtime, turbopack, Vercel, Netlify, Cloudflare Pages, SSR, SSG, ISR, PPR, partial prerendering. Also triggers on "my app/page/component", "build/design a page", navigation, sidebar, modal, toast, data table, form, dashboard, landing page, auth flow, checkout, blog, portfolio, e-commerce, SaaS, dark mode toggle, theme switcher, infinite scroll, virtualized list, drag and drop, command palette, breadcrumbs, tabs, accordion, carousel, skeleton loading, error boundary, loading.tsx, error.tsx, not-found.tsx, layout.tsx, page.tsx, .tsx files, .css files, tailwind.config, next.config, postcss.config, tsconfig. If it touches web frontend USE THIS SKILL. Covers components, layout, typography, color, animation, accessibility, i18n, engineering, architecture, state management, data fetching, caching, Next.js routing, RSC, Server Actions, middleware, performance, Core Web Vitals, forms, validation, testing, auth, security, and modern CSS. Enforces requirements-gathering via structured questions before any code generation.

    Also in 4 projects that use this

  • MicrosoftSkill

    perf

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

    Also in 5 projects that use this

  • +4 more from automagik-dev

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 145 edited versions we read keep these.

  • 0

    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. Very specific:

    Prefer it active only inside one project?

    line 42

“Common” is measured: kept by at least 6 in 10 of the 145 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)

The Skill ships inside the package. One command copies it to your user skills folder so it's available in every project where you use the MCP — no clone needed:

uvx packet-tracer-mcp install-skill                          # Claude Code, OpenCode → ~/.claude/skills
uvx packet-tracer-mcp install-skill --dest ~/.agents/skills  # Codex

Installed with pip instead? pt-mcp install-skill does the same. From a clone, cp -r skill/. ~/.claude/skills/packet-tracer/ still works.

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 tracks the MCP version. After upgrading (uvx picks up new releases with uvx packet-tracer-mcp@latest install-skill), re-run the install command to refresh your 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.