agentleFS
bird-chinese-communitybird-chinese-community/BIRD.skills/AGENTS.md

BIRD.skills

AGENTS.md7 starsChanged 4 months agoMITView on GitHub

This repository publishes five Agent Skills for BIRD routing-daemon projects. It contains static skill assets, Python helper scripts, plugin manifests, and an optional documentation-query MCP server. There is no application server. Keep these boundaries explicit. Route a request to the narrowest matching skill instead of duplicating full workflows across manifests. Adjacent checkouts may be used for live verification: - ../BIRD-LSP — @birdcc/*, CLI, schema, LSP, VS Code extension and extension pack - ../setup-birdcc — composite action inputs, outputs, scripts, and…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository6 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    Keep these boundaries explicit.

    line 17
  2. Distinctive:

    Prefer source, manifests, schema, and tests over README prose.

    line 32
  3. Very specific:

    Keep SKILL.md concise and imperative.

    line 84
  4. Distinctive:

    Run from the repository root:

    line 113

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “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
AGENTS.md

Agent Guide for BIRD Skills

This repository publishes five Agent Skills for BIRD routing-daemon projects. It contains static skill assets, Python helper scripts, plugin manifests, and an optional documentation-query MCP server. There is no application server.

Skills

SkillResponsibility
bird-agentDiscover, lint, format, and validate BIRD 2/3 projects
birdcc-installerInstall and migrate editor support and @birdcc/cli
birdcc-cicdBuild GitHub Actions with setup-birdcc
bird-source-explorerTrace BIRD implementation at exact source revisions
bird-troubleshootingDiagnose incidents across discovery, parsing, runtime, and source

Keep these boundaries explicit. Route a request to the narrowest matching skill instead of duplicating full workflows across manifests.

Upstream sources of truth

Adjacent checkouts may be used for live verification:

  • ../BIRD-LSP — @birdcc/*, CLI, schema, LSP, VS Code extension and extension pack
  • ../setup-birdcc — composite action inputs, outputs, scripts, and workflow examples
  • ../BIRD2.nvim / ../BIRD2.vim — local checkout names; inspect origin/main for the renamed BIRD.nvim / BIRD.vim release contract when branches diverge
  • ../BIRD-tm-language-grammar — shared TextMate grammar and JetBrains import path
  • ../vscode-bird2 — standalone syntax extension
  • ../BIRD2 / ../BIRD3 — daemon source trees for version-specific evidence

Prefer source, manifests, schema, and tests over README prose. Record branch, commit, and dirty state before citing a neighboring checkout.

Current contracts

  • bird.config.json is canonical; birdcc.config.json is a compatibility alias.
  • birdcc init . --dry-run --json is the read-only project detector.
  • birdcc lint --json returns an object containing a diagnostics array.
  • Cross-file analysis is enabled by default.
  • birdcc fmt --check is read-only; writes require explicit user approval.
  • The modern toolchain targets BIRD 2/3. BIRD 1 is best-effort and must be checked with the actual legacy binary.
  • VS Code language tooling is birdcc.bird2-lsp; TextMate syntax is birdcc.vscode-bird2-conf; the convenience pack is birdcc.bird2-extension-pack.
  • BIRD.nvim and BIRD.vim are current repository names. The bird2 runtime identifiers remain compatible.
  • JetBrains uses an imported TextMate bundle. Do not advertise dev.birdcc.idea.
  • setup-birdcc checks out by default and does not guarantee a global birdcc.
  • The published action ref is setup-birdcc@v1.0.0; do not emit the currently absent @v1 major tag without re-verifying it.
  • There is no cache-pnpm input; pnpm-store caching is automatic when dependency installation is enabled, while cache-turbo controls only Turbo cache.

Agent Plugins 1.0 conformance

The repository root is an Agent Plugins 1.0 plugin, migrated additively (vendor manifests stay in place):

  • Root plugin.json declares the canonical $schema (https://agent-plugins.org/schemas/1.0.0/plugin.schema.json). Keep the Claude-style skills and agents pointer fields — conformant clients report and ignore them, and Claude Code needs them.
  • skills/ is a symlink farm (skills/<name> -> ../<name>) exposing every skill at the spec's fixed discovery location. Do not move skill directories; add a symlink here when adding a skill. The Python tooling intentionally ignores symlinks during skill discovery.
  • Root mcp.json is the spec-format MCP manifest for bird-docs-query (type: "stdio", ${PLUGIN_ROOT} placeholders). bird-agent/.mcp.json remains the Claude Code copy; keep both in sync when the server launch changes.

Marketplace formats remain vendor-private (Agent Plugins 1.0 defines none). Gemini CLI was discontinued for personal users on 2026-06-18; Antigravity CLI (agy plugin install) replaces it.

Skill structure

Every skill contains:

  • SKILL.md — trigger description, essential workflow, safety invariants, and resource routing
  • agents/openai.yaml — quoted interface strings and a $skill-name default prompt
  • metadata.json and plugin.json — distribution metadata with synchronized versions
  • references/ — detailed, selectively loaded guidance
  • evals/evals.json — realistic behavior assertions
  • optional scripts/ and assets/

Keep SKILL.md concise and imperative. Put detailed command matrices and variants in one-level reference files. Do not duplicate the same fact across multiple references without a routing reason.

Python conventions

Repository maintenance uses the Python 3.14 uv project in pyproject.toml, the bird-skills Typer CLI, Pydantic models, pytest, and Ruff. The Python version is pinned in .python-version; dependencies come from the official PyPI index configured in pyproject.toml.

Skill-bundled helper scripts remain portable Python 3.10+ programs. They use only the standard library and declare PEP 723 metadata:

# /// script
# requires-python = ">=3.10"
# dependencies = []
# ///

Emit structured JSON with UTF-8, ensure_ascii=False, and two-space indentation. Bound filesystem scans and subprocess output. Resolve roots, reject symlink escapes and option-like paths, and do not execute shell strings.

Any script that writes user files must default to read-only and require a second explicit confirmation flag.

Validation

Run from the repository root:

python3 -m py_compile \
  bird-agent/scripts/detect_bird_context.py \
  bird-agent/scripts/run_birdcc.py \
  birdcc-installer/scripts/detect_editor.py \
  birdcc-installer/scripts/detect_ide.py \
  birdcc-installer/scripts/check_cli.py \
  bird-troubleshooting/scripts/collect_diagnostics.py

uv sync --locked --group dev
uv run ruff check .
uv run ruff format --check .
uv run pytest
uv run bird-skills check
pnpm run check

Also run the system skill validator against every skill and exercise changed scripts with safe, read-only inputs. If birdcc is installed, verify project discovery and lint/format dry runs.

Version and distribution sync

For a release-wide version or date change, first preview and then apply:

uv run bird-skills metadata sync --version <semver> --date YYYY-MM-DD --dry-run
uv run bird-skills metadata sync --version <semver> --date YYYY-MM-DD

The command synchronizes every skill manifest, root package/plugin version, generated skill and agent lists, and all supported marketplaces. uv run bird-skills marketplace check verifies that marketplaces have no missing, stale, or obsolete entries. Update changelog text separately.

Evaluation workflow

Evaluation definitions remain harness-neutral. Validate and inspect them with:

uv run bird-skills eval list
uv run bird-skills eval plan --output .bird-skills/eval-plan.json
uv run bird-skills eval run --runner '<external-runner> {request} {output_dir}'

Runner requests never contain expected answers or assertions. The local evaluator checks generated transcript.md or workflow.md artifacts after execution. See docs/evaluation.md for the runner contract and the Vieval integration decision.

Security

BIRD configs and logs may expose ASNs, peer IPs, passwords, communities, route policy, and socket paths. Do not publish or commit unredacted production material. Prefer bird -p and read-only birdc show commands; never reload or restart a live daemon without explicit authorization.

License

MIT. See LICENSE.

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.