agentleFS
blowhorn-aiblowhorn-ai/blowhorn-mcp/AGENTS.md

blowhorn-mcp

AGENTS.md9 starsChanged 5 days agoApache-2.0View on GitHub

Notes for coding agents working in this repo. - Generated files: server.json, .claude-plugin/plugin.json, .claude-plugin/marketplace.json, .mcp.json, .cursor-plugin/plugin.json, .cursor-plugin/mcp.json, mcp.json, plugin.json, .github/plugin/marketplace.json, gemini-extension.json and glama.json are written by scripts/generate.js from listing/listing.json and package.json. Never edit them by hand: change the source, run make generate, commit both. - Check before you finish: run make check. It fails on drift between the sources and the generated files, schema errors, copy rule breaks, a bad skill frontmatter, docs that disagree with listing/listing.json's minimumAppVersion or urls,…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,040 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 repository2 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, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check before you finish: run make check. It fails on drift between the sources and the generated files, schema errors, copy rule breaks, a …

    line 11
  2. Distinctive:

    Never make the Worker an MCP server, an authorization server, a token validator or a REST gateway, and never forward a token to a REST API.

    line 38
  3. Very specific:

    Cutting a release: follow .agents/skills/cut-release/SKILL.md.

    line 64
  4. Distinctive:

    Tests: run behavior (execute scripts and the launcher, parse output).

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

AGENTS.md

Notes for coding agents working in this repo.

  • Generated files: server.json, .claude-plugin/plugin.json, .claude-plugin/marketplace.json, .mcp.json, .cursor-plugin/plugin.json, .cursor-plugin/mcp.json, mcp.json, plugin.json, .github/plugin/marketplace.json, gemini-extension.json and glama.json are written by scripts/generate.js from listing/listing.json and package.json. Never edit them by hand: change the source, run make generate, commit both.
  • Check before you finish: run make check. It fails on drift between the sources and the generated files, schema errors, copy rule breaks, a bad skill frontmatter, docs that disagree with listing/listing.json's minimumAppVersion or urls, a wrong logo size, failing tests, or a tarball holding anything but the launcher.
  • Copy rules (all text files except LICENSE, schemas/vendor/ and lock files): hyphens, never em or en dashes; say "Blowhorn"; no persona names. Clients connect to the hosted server at mcp.blowhorn.ai and may sign in with OAuth. The npm launcher runs on macOS only. Never name Cloud's origin hostname outside hosted/. The npm package and the official MCP Registry entry are published; other marketplace listings are future tense until they exist. A self-hosted repo marketplace install line (Claude Code or GitHub Copilot CLI) is fine. The full list, enforced by make check, is RULES in scripts/check.js.
  • lib/launcher-common.js is a stable API shared with the private repo's blowhorn-axi launcher through a submodule. Add, never change.
  • schemas/vendor/ stays byte for byte; refresh it only with make schemas-refresh.
  • hosted/ is an interim MCP transport proxy, a Cloudflare Worker with its own package, until Cloud serves /mcp itself (blowhorn-ai/blowhorn#1509, U3); then it is retired. The Worker and Cloud's /mcp are ONE protected resource, https://mcp.blowhorn.ai/mcp: the Worker carries MCP requests to Cloud's /mcp and the answers back. An unauthenticated GET /mcp (no usable Bearer token) is answered here with the 401 challenge and is not forwarded. Cloud owns the canonical resource, token validation, the protected resource metadata, the authorization server, the tokens and the tools. Never make the Worker an MCP server, an authorization server, a token validator or a REST gateway, and never forward a token to a REST API. The upstream URL is a constant, never built from the inbound request; only the header allowlists in hosted/src/proxy.js plus the gateway's own User-Agent and X-Forwarded-Mcp-Resource (always the public resource) cross the Worker (no cookie, forwarded host or client identity); redirects are never followed; answers stream. Keep the Origin policy on /mcp and both rate limits. The vendored schema (hosted/schemas/vendor/) stays byte for byte; refresh it only with make hosted-schemas-refresh. Deploy is automatic on merge to master, so the "Before cutover" list in hosted/README.md must be verified against Cloud first. The gateway's error codes (blowhorn-mcp-NNNN, never reused; a retired code stays as a tombstone in RETIRED) are data in hosted/errors/mcp.json, each definition valid against the vendored ErrorDefinition construct: add a code there first, bump nextErrorCode, then map its outcome in hosted/src/errors.js and add its row to the Error codes table in hosted/README.md (a test holds the table to both). Each rate limit lives only in the RATE_LIMITS var in hosted/wrangler.jsonc (and the table in hosted/README.md, which a test holds to it). The enforcer is the RateLimiter Durable Object bound as RATE_LIMITER (a missing binding fails closed); Cloudflare simple ratelimits bindings do not enforce live. LIMITS in hosted/src/ratelimit.js keeps only each limit's cause, and a test fails when the Durable Object binding, its new_sqlite_classes migration, or a period differs. hosted/schemas/rate-limits.schema.json is the config shape. hosted/ is exempt from the local-only copy rules, never from the others.
  • Cutting a release: follow .agents/skills/cut-release/SKILL.md. The front door is make cut-release MIN_CLOUD_VERSION=... on master after the bump PR merges. publish.yml publishes npm and the MCP Registry, deploys the hosted gateway to production and staging, verifies Cloud's version, and runs signed-in hosted smoke (test account repo secrets, never printed). Production signed-in is a hard gate. Staging signed-in is a named skip (staging test account not provisioned) while BLOWHORN_MCP_TEST_PASSWORD_STAGING is unset, and a hard gate once that secret is set. Local make hosted-smoke-login is optional. Never cut a desktop DMG from this repository, and never trigger a Cloud or schemas release from here.
  • Tests run behavior (execute scripts and the launcher, parse output); never grep source code.
  • Project MCP server: the repo root is the Claude Code plugin root, so Claude Code in this repo offers a project blowhorn MCP server from .mcp.json. It is the hosted server at https://mcp.blowhorn.ai/mcp. Sign in with OAuth when the client asks.

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.