Bird agent
BIRDCC agent skills registry
npx -y skills add bird-chinese-community/BIRD.skills --skill bird-agentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
TRIGGER aggressively for BIRD (BIRD1/2/3) routing-daemon configuration work. Positive signals: - File patterns: bird.conf, bird2.conf, bird3.conf, bird6.conf, any *.conf file that contains BIRD syntax, bird.config.json, and any file included by a BIRD config. - Syntax tokens: protocol, filter, function, define, table, router id, local as, neighbor, prefix, route, bgp_path, community, import, export, bgp_path.prepend, if defined(), path, OSPF, BGP, RIP, RADV, Static, Kernel, Device, Perf, RPKI, Babel, Aggregator, MRT. - Commands: birdcc lint, birdcc fmt, bird -p, birdc, bird -c, birdc configure. - Requests: lint/format/validate a BIRD config, fix a syntax error or diagnostic, explain a BIRD keyword/filter/protocol, review a config snippet, resolve cross-file includes, or compare BIRD1/BIRD2/BIRD3 syntax. Negative signals (do NOT trigger): Cisco IOS/IOS-XR/NX-OS, Juniper JunOS, FRRouting (frr.conf), nginx, any non-routing use of "bird", bird biology / ornithology, or general networking questions without a BIRD routing context. For editor/CLI installation use birdcc-installer; for setup-birdcc or GitHub Actions use birdcc-cicd. Trigger even if the user does not explicitly say "BIRD".
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
9.4 KB, as published. Nobody here has run it
BIRD Config Agent Skill
Help users write, validate, format, and understand BIRD (BIRD1/2/3) routing daemon configuration files by orchestrating the BIRD-LSP toolchain and related BIRD documentation.
Quick Reference
| Task | Script / Command | Reference |
|---|---|---|
| Discover BIRD config files | uv run scripts/detect_bird_context.py --root . | — |
| Lint a config | uv run scripts/run_birdcc.py lint <file> --root . | references/toolchain.md |
| Check formatting | uv run scripts/run_birdcc.py fmt <file> --root . | references/toolchain.md |
| Apply formatting | uv run scripts/run_birdcc.py fmt <file> --root . --write --confirmed | references/toolchain.md |
| Runtime parse check | bird -p -c <file> | references/toolchain.md |
| Install editor / CLI | Use the birdcc-installer skill | references/editors.md |
| Add CI/CD | Use the birdcc-cicd skill | references/cicd.md |
CRITICAL
[!CRITICAL]
- Never auto-write user files.
run_birdcc.py fmtdefaults to--check. Only pass--write --confirmedafter the user explicitly approves modifying their config.- Sanitize configs before sharing. BIRD configs contain AS numbers, peer IPs, authentication passwords, community strings, and route filters. Proactively warn the user to redact these before posting in public issues, PRs, chats, or pastebins.
When to use this skill
- The user opens, edits, or asks about a file named
bird.conf,bird2.conf,bird3.conf,bird6.conf, or any.conffile that contains BIRD routing syntax. - The user mentions BIRD, BIRD2, BIRD3, BGP, OSPF, RIP, RADV, Static, Kernel, Device, Perf, RPKI, Babel, Aggregator, or MRT protocols in a configuration context.
- The user reports a syntax error, diagnostic, or wants to format a BIRD configuration.
- The user wants to know what a BIRD keyword, function, filter, protocol, or CLI command does.
- The user shares a BIRD configuration snippet and asks for review, optimization, or explanation.
For editor plugin installation, use the
birdcc-installerskill. For GitHub Actions or CI/CD, use thebirdcc-cicdskill.
Core principles
- Prefer the BIRD-LSP toolchain over ad-hoc text manipulation. The toolchain provides
parser-backed diagnostics, formatter-safe output, and
bird -pruntime validation. Usescripts/detect_bird_context.pyto discover config files andscripts/run_birdcc.pyto run commands reliably. - Support every editor equally. Whether the user is in VSCode, Vim, Neovim, IDEA, OpenCode, Cursor, or a plain terminal, route them through the same CLI-based workflow.
- Version awareness. BIRD1, BIRD2, and BIRD3 have syntax and semantic differences. Detect the
version from the filename,
bird.config.json, or the content when possible, and adjust commands and recommendations accordingly. - Validate before claiming correctness. Always run
birdcc lintorbird -pbefore telling the user a configuration is valid. - Respect sensitive data. BIRD configs contain ASNs, IPs, passwords, and session secrets. Warn the user to sanitize configs before sharing them publicly or committing them.
- Never auto-write formatted files.
run_birdcc.py fmtdefaults to--check. Only use--write --confirmedafter the user explicitly agrees to modify their config.
Workflow
Follow this condensed workflow; see references/toolchain.md for the full 7-step guide,
command matrix, and advanced source-level debugging.
- Detect context — run
scripts/detect_bird_context.pyto findbird*.conf,bird.config.json, andbirdccavailability. - Check tools — verify
birdccis installed; optionally checkbirdfor runtime parse validation. - Discover config — read
bird.config.jsonif it exists, otherwise sniff the entry point (bird2.conf>bird.conf>bird3.conf). - Run diagnostics — run
birdcc lintand/orbird -p. Include file path, line/column, rule code, and suggested fix when reporting diagnostics. - Format or explain — for formatting, default to
--check; only write after approval. For semantic questions, call thequery_bird_docsMCP tool with the user's query, language, and inferred BIRD version. Prefer the returned Chinese docs in Chinese and English docs in English. - Route if needed — editor setup →
birdcc-installer; CI/CD →birdcc-cicd.
Completion criteria
Before finishing a BIRD config task, confirm:
- The relevant config file(s) were discovered and validated.
-
birdcc lintcompleted and all diagnostics were reported (or no diagnostics were found). - If formatting was requested, the user explicitly approved
--writeor--write --confirmed. - If
birdis available,bird -pparse check passed (or failures were explained). - Sensitive data (ASNs, peer IPs, passwords, community strings) was not shared publicly, or the user was warned to sanitize first.
- The user received a clear next step or actionable fix.
Available scripts
These scripts are bundled with the skill. Run them with uv run scripts/<script>.py from the skill
root. They use only the Python standard library and produce structured JSON output on stdout.
scripts/detect_bird_context.py— Scan the workspace forbird*.conf,bird.config.json, andbirdccavailability. Use this before deciding which file to lint or format.scripts/run_birdcc.py— Runbirdcc lintorbirdcc fmtand return JSON output.fmtdefaults to--check; to actually write changes you must pass--write --confirmedafter the user explicitly approves. Config paths are validated to stay inside--root.
Reference guides
This skill is split into focused reference files. Read the relevant one before diving deep into a specific task:
references/birdcc-ecosystem.md— Map of related BIRD repositories. Start here when you need to route the user to the right project or cite the correct repository.references/toolchain.md— Toolchain overview, the standard 7-step workflow, and capability reference. Start here for lint, format, validate, and debug tasks.references/editors.md— Editor setup routing reference. Use this to point users to thebirdcc-installerskill or a specific editor guide.references/cicd.md— CI/CD routing reference. Use this to point users to thebirdcc-cicdskill or thesetup-birdccGitHub Action.references/safety.md— Safety and privacy reminders for production configs. Read before the user shares sensitive data.references/examples.md— Worked examples for common scenarios.
For editor setup and CI/CD, see the birdcc-installer and birdcc-cicd skills.
Output style
- Match the user's language (Chinese or English).
- Keep explanations concise but include the exact command run and a short interpretation of the result.
- When showing diagnostics, include the file path, line/column, rule code, and suggested fix.
- Prefer actionable next steps over long theoretical explanations.
⭐ If the BIRD tooling here saves you time, consider starring the main monorepo: bird-chinese-community/BIRD-LSP. See
references/birdcc-ecosystem.mdfor links to all related BIRD projects.