Gap
graph-robots/graph-as-policy
Program robots with GaP (graph-as-policy) — compile natural-language tasks into typed, verified robot skill graphs and run them on simulators or real robots.
A skill your agent uses when adding hierconfig support for a new network platform or operating system — creating a platform driver, registering a new Platform enum member, or scaffolding driver…
$ npx skills add netdevops/hier_config --skill hier-config-new-driver -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install netdevops/hier_config hier-config-new-driver --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/netdevops/hier_config.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/hier-config-new-driver .claude/skills/hier-config-new-driver && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "hier-config-new-driver" agent skill from https://github.com/netdevops/hier_config/tree/master/.claude/skills/hier-config-new-driver into .claude/skills/hier-config-new-driver/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hier-config-new-driver", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/netdevops/hier_config/tree/master/.claude/skills/hier-config-new-driverType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add netdevops/hier_config --skill hier-config-new-driver -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install netdevops/hier_config hier-config-new-driver --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/netdevops/hier_config.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/hier-config-new-driver .agents/skills/hier-config-new-driver && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "hier-config-new-driver" agent skill from https://github.com/netdevops/hier_config/tree/master/.claude/skills/hier-config-new-driver into .agents/skills/hier-config-new-driver/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hier-config-new-driver", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add netdevops/hier_config --skill hier-config-new-driver -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install netdevops/hier_config hier-config-new-driver --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/netdevops/hier_config.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/hier-config-new-driver .cursor/skills/hier-config-new-driver && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "hier-config-new-driver" agent skill from https://github.com/netdevops/hier_config/tree/master/.claude/skills/hier-config-new-driver into .cursor/skills/hier-config-new-driver/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hier-config-new-driver", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/netdevops/hier_config.git --path .claude/skills/hier-config-new-driver--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add netdevops/hier_config --skill hier-config-new-driver -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install netdevops/hier_config hier-config-new-driver --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/netdevops/hier_config.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/hier-config-new-driver .gemini/skills/hier-config-new-driver && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "hier-config-new-driver" agent skill from https://github.com/netdevops/hier_config/tree/master/.claude/skills/hier-config-new-driver into .gemini/skills/hier-config-new-driver/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hier-config-new-driver", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install netdevops/hier_config hier-config-new-driverInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add netdevops/hier_config --skill hier-config-new-driver -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/netdevops/hier_config.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/hier-config-new-driver .github/skills/hier-config-new-driver && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "hier-config-new-driver" agent skill from https://github.com/netdevops/hier_config/tree/master/.claude/skills/hier-config-new-driver into .github/skills/hier-config-new-driver/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hier-config-new-driver", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add netdevops/hier_config --skill hier-config-new-driver -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install netdevops/hier_config hier-config-new-driver --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/netdevops/hier_config.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/hier-config-new-driver .opencode/skills/hier-config-new-driver && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "hier-config-new-driver" agent skill from https://github.com/netdevops/hier_config/tree/master/.claude/skills/hier-config-new-driver into .opencode/skills/hier-config-new-driver/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hier-config-new-driver", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
hier-config-new-driverA skill your agent uses when adding hierconfig support for a new network platform or operating system — creating a platform driver, registering a new Platform enum member, or scaffolding driver…
Hier Config New Driver is an agent skill from netdevops/hier_config. Use when adding hierconfig support for a new network platform or operating system — creating a platform driver, registering a new Platform enum member, or scaffolding driver rules and tests for an unsupported vendor.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Project scaffolding. The repository describes itself as: Hierarchical Configuration. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 806c654. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
poetryFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Hier Config New Driver loads about 1.3k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 369 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from netdevops/hier_config at commit 806c654, republished under its MIT licence (© netdevops). 369 words, ~1,259 tokens.
.claude/skills/hier-config-new-driver/SKILL.md (or your agent's skills folder).Scaffold an in-tree platform driver the way this repo expects. The authoritative recipe is docs/dev/extending.md; this skill adds the concrete templates. For a driver that lives outside this repo (in user code), follow docs/user/custom-drivers.md#creating-a-custom-driver instead.
Answer these before writing code — they determine which overrides and rules the driver needs. Study real config samples from the platform:
| Question | Driver hook if non-default |
|---|---|
Negation prefix (no ? undo ? delete ?) | negation_prefix property (default "no ") |
| Some commands reset with a different form? | NegationDefaultWithRule / override swap_negation |
Sections closed with an exit token (exit, quit, end-*)? | SectionalExitingRule / override sectional_exit |
Last-write-wins commands (hostname, description, …)? | IdempotentCommandsRule |
| Comment/banner lines to strip on load? | PerLineSubRule / FullTextSubRule |
| Blocks with irregular indentation? | IndentAdjustRule |
Flat set/delete syntax (Junos-like)? | config_preprocessor + declaration_prefix (see platforms/vyos/driver.py) |
| Order-sensitive commands? | OrderingRule with weights |
Reference implementations: platforms/huawei_vrp/driver.py (small, rule-based), platforms/vyos/driver.py (preprocessor-based), platforms/cisco_ios/driver.py (comprehensive).
Create tests/test_driver_<platform>.py before the driver exists — conventions in docs/dev/testing.md. Flat functions, full annotations, round-trip idiom:
from hier_config import Platform, get_hconfig_fast_load
def test_negation_prefix() -> None:
running_config = get_hconfig_fast_load(
Platform.ACME_OS, ("interface eth0", " shutdown")
)
generated_config = get_hconfig_fast_load(
Platform.ACME_OS, ("interface eth0",)
)
remediation = running_config.config_to_get_to(generated_config)
assert remediation.dump_simple() == ("interface eth0", " no shutdown")
running_after = running_config.future(remediation)
rollback = running_after.config_to_get_to(running_config)
running_after_rollback = running_after.future(rollback)
assert not tuple(running_config.unified_diff(running_after_rollback))Run it and confirm it fails for the right reason (unknown platform), not an import error. Add realistic config fixtures to tests/fixtures/ if tests need more than inline tuples.
Create hier_config/platforms/<platform>/__init__.py (empty) and hier_config/platforms/<platform>/driver.py:
from hier_config.models import IdempotentCommandsRule, MatchRule, PerLineSubRule
from hier_config.platforms.driver_base import HConfigDriverBase, HConfigDriverRules
class HConfigDriverAcmeOS(HConfigDriverBase):
"""Driver for Acme OS.
Platform enum: ``Platform.ACME_OS``.
"""
@staticmethod
def _instantiate_rules() -> HConfigDriverRules:
return HConfigDriverRules(
idempotent_commands=[
IdempotentCommandsRule(match_rules=(MatchRule(startswith="hostname "),)),
],
per_line_sub=[
PerLineSubRule(search="^\\s*#.*", replace=""),
],
)Replace # in the per_line_sub regex with the platform's actual comment token, and keep the ^\s* anchor so indented comments are stripped too. Rules take match_rules: tuple[MatchRule, ...] (immutable — never lists). A minimal driver returning bare HConfigDriverRules() is valid; only add rules the platform needs. Public classes require docstrings.
Platform enum in hier_config/models.py (alphabetical position). Note the enum uses auto(), so inserting a member renumbers everything after it — fine for in-repo use, but never rely on Platform.value for serialization.platform_drivers dict in get_hconfig_driver (hier_config/constructors.py) and import the driver class there.docs/user/drivers.md. Mark the status Experimental for a new driver.CHANGELOG.md entry under ## [Unreleased] → ### Added.poetry run pytest tests/test_driver_<platform>.py -v
poetry run ./scripts/build.py lint-and-test
poetry run mkdocs build --strictAll three must pass (mypy/pyright are strict; coverage floor is 95%). Then run the hier-config-review skill before opening the PR.
© netdevops, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/hier-config-new-driver of netdevops/hier_config.
Open the folder on GitHubat commit 806c654
Hier Config New Driver next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Hier Config New Driver this skillnetdevops/hier_config | 150 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Gapgraph-robots/graph-as-policy | 155 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Nodejs CLI Best Practiceslirantal/nodejs-cli-apps-best-practices | 4.1k | — | ~2k | Automated safety check: Pass | CC-BY-SA-4.0 | |
| Scaffoldcodewithmukesh/dotnet-claude-kit | 751 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Codegen TransformComfy-Org/ComfyUI_frontend | 2.1k | — | ~2k | Automated safety check: Pass | GPL-3.0 | |
| Core PR Helpercalimero-network/core | 171 | — | ~614 | Automated safety check: Pass | Custom licence |
graph-robots/graph-as-policy
Program robots with GaP (graph-as-policy) — compile natural-language tasks into typed, verified robot skill graphs and run them on simulators or real robots.
lirantal/nodejs-cli-apps-best-practices
Guide and audit Node.js CLI application development against 41 established best practices covering UX, distribution, interoperability, accessibility, testing, error handling, development setup…
codewithmukesh/dotnet-claude-kit
Architecture-aware feature scaffolding for .NET 10 projects.
Comfy-Org/ComfyUI_frontend
Transforms raw Playwright codegen output into ComfyUI convention-compliant tests.
calimero-network/core
Suggests one appropriate branch name and a PR description in the project template (title, Description, Test plan, Documentation update) for Calimero core.
ruby-git/ruby-git
Scaffolds and reviews `Git::Commands::*` classes in the ruby-git library, with unit tests, integration tests and YARD docs, using the Base command architecture.
netdevops/hier_config
A skill your agent uses when asked to review changes, self-review work, or prepare a pull request in the hierconfig repository — especially before opening or updating a PR, or when checking…
netdevops/hier_config
A skill your agent uses when hierconfig produces wrong or unexpected output — incorrect remediation commands, missing or extra negations, repeated commands, lines nested under the wrong parent…
Categories
A skill your agent uses when adding hierconfig support for a new network platform or operating system — creating a platform driver, registering a new Platform enum member, or scaffolding driver…. Hier Config New Driver is an agent skill from netdevops/hier_config. Use when adding hierconfig support for a new network platform or operating system — creating a platform driver, registering a new Platform enum member, or scaffolding driver rules and tests for an unsupported vendor.
Hier Config New Driver fits situations like: adding hierconfig support for a new network platform; operating system — creating a platform driver; registering a new Platform enum member; scaffolding driver rules and tests for an unsupported vendor.
Run `npx skills add netdevops/hier_config --skill hier-config-new-driver -a claude-code`. Or copy the skill folder (.claude/skills/hier-config-new-driver in netdevops/hier_config) into .claude/skills/hier-config-new-driver in your project. Claude Code loads it when a task matches its description.
Run `npx skills add netdevops/hier_config --skill hier-config-new-driver -a codex`. Or copy the skill folder (.claude/skills/hier-config-new-driver in netdevops/hier_config) into .agents/skills/hier-config-new-driver in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add netdevops/hier_config --skill hier-config-new-driver -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hier-config-new-driver, .gemini/skills/hier-config-new-driver, .github/skills/hier-config-new-driver and .opencode/skills/hier-config-new-driver in your project.
Going by SKILL.md and its folder, Hier Config New Driver needs the command-line tools its instructions call (poetry). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Hier Config New Driver is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Hier Config New Driver: Gap (graph-robots/graph-as-policy, 155 stars), Nodejs CLI Best Practices (lirantal/nodejs-cli-apps-best-practices, 4.1k stars), Scaffold (codewithmukesh/dotnet-claude-kit, 751 stars) and Codegen Transform (Comfy-Org/ComfyUI_frontend, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
netdevops (a GitHub organization) maintains it in netdevops/hier_config, which has 150 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 21, 2026.
Source: netdevops/hier_config on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.