Index of every page on this site: llms.txt
All skills
gesh75 avatar

/config-diff-preflight

@6fc5ef5
Run it yourself

Preflight a candidate network config for secrets, blast radius, and silent defaults. Use when a human or an LLM produced a snippet and it must be reviewed before a dry-run.

  • 1 file
  • 1.2 KB
  • MIT
  • Updated 3 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/gesh75/claude-skill-lint/config-diff-preflight

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈49 tokens for metadata: the name and description. ≈240 when used: this file.

Description uses 2.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈196 characters, or 2.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Config diff preflight

Do not use as a substitute for a digital twin (AEGIS) on high-risk changes. Not for generating the config itself.

Procedure

  1. Diff against running. Reject if the diff includes no router bgp, interface shutdowns on uplinks, or AAA removal.
  2. Strip and flag secrets: keys, communities used as passwords, TACACS, SNMP.
  3. Blast radius: count of peers, prefixes, and interfaces touched. Over a threshold, require a senior.
  4. Silent defaults: MTU, BFD, logging, timestamps. Missing logging is a fail.
  5. Verify the ticket has pre-state, diff, verification, and rollback pasted.
- neighbor 192.0.2.1 shutdown
+ neighbor 192.0.2.1 description PE-A
  # fail: this un-shuts a peer without a change window

Anti-patterns

  • Never approve a diff you cannot reverse in one command.
  • Do not ignore "no" statements that wipe stanzas.

Safety

A failed preflight stops the pipeline. No override without a named senior.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 6fc5ef5. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 3 months ago
argument-hint
[vendor] [file]
All 1 allowed tools
Read Grep

README badge

README badge for gesh75/claude-skill-lint/config-diff-preflight