hf-mcp-server
AGENTS.md302 starsChanged 2 months agoMITView on GitHub
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,773 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 repositoryOne other file it gives its agents.
- space-doctorSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 34
Run all tests with pnpm test or package-specific commands above.
- Distinctive: line 35
No explicit coverage gate is configured.
- Very specific: line 40
Keep commits small and descriptive.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.
Files
Repository Guidelines
Subagents
<!-- fast-agent-subagents -->Project Structure & Module Organization
packages/app: MCP server plus management web UI. Server code lives inpackages/app/src/server, UI inpackages/app/src/web, and tests inpackages/app/test.packages/mcp: shared MCP tools/library consumed by the server. Source is inpackages/mcp/src, with tests inpackages/mcp/testand a few*.test.tsfiles co-located insrc.packages/e2e-python: Python-based end-to-end harnesses and fixtures.- Root-level docs and support files live in
docs/,docs-internal/,scripts/,spec/, andDockerfile.
Build, Test, and Development Commands
pnpm install: install workspace dependencies (Corepack-managed pnpm).pnpm build: build all workspace packages.pnpm dev: watch the MCP package and run the server with HMR.pnpm start: start the production server frompackages/app.pnpm lint,pnpm typecheck,pnpm format,pnpm test: run repo-wide checks.- Package-specific tests:
pnpm -C packages/app testorpnpm -C packages/mcp test. - Full local pipeline:
pnpm run buildrun(clean, build, lint, test, start).
Coding Style & Naming Conventions
- TypeScript ESM across packages.
- Prettier enforces tabs (
useTabs: true,tabWidth: 2), semicolons, single quotes, andprintWidth: 120. - ESLint rules are strict in
packages/mcpand server code (noany, consistent type imports, preferinterfacetype definitions). - Tests use
.test.tsor.spec.tsnaming.
Testing Guidelines
- Unit/integration tests run with Vitest in both
packages/appandpackages/mcp. - Run all tests with
pnpm testor package-specific commands above. - No explicit coverage gate is configured; add tests for new tools, transports, or formatting logic.
Commit & Pull Request Guidelines
- Recent history mixes merge commits and conventional-style messages like
chore: release vX; no enforced convention. - Keep commits small and descriptive; add a scope when it clarifies the area (
app,mcp). - PRs should include a concise summary, test results, linked issue (if applicable), and screenshots for UI changes under
packages/app/src/web.
Security & Configuration Tips
- Provide auth via environment variables (
DEFAULT_HF_TOKEN,HF_TOKEN); do not commit secrets. TRANSPORTcontrols server mode (stdio,streamableHttp,streamableHttpJson). Document any new env vars inREADME.md.
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
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.

