awesome-paper2agent
AGENTS.md1 starsChanged 2 months agoApache-2.0View on GitHub
Operate inside a checkout of this repository. Inputs: Goal: one directory under packages/<package_id>/ that passes this repository's static validation and is ready to open as a pull request. schema/package-v1.schema.json, docs/contract.md, CONTRIBUTING.md, and examples/sequence-stats/ as the reference layout. 1. repo_url is the canonical https://github.com/owner/repo of the upstream code — no .git suffix, no clone URL — paired with its full 40-character commit. Never the wrapper repository, never a short hash. 2. package_id is lowercase kebab-case, matches the directory name, and stays…
- Installs packages
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.
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 48
Keep the package self-contained: no absolute local paths, no file:// URIs, no loopback or wildcard-bind hosts (localhost, 127.0.0.1, …
- Very specific: line 56
Every published package carries VALIDATION.md with the sections ## How this was verified and ## What remains unverified, and it must name …
- Distinctive: line 60
Do not modify or relax the schema, validator, tests, or workflows to make a package pass.
- Distinctive: line 123
Start the server once and exercise every tool on small input, including one call it should reject.
- Very specific: line 135
Do not commit, push, or open the pull request.
≈ “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.
Files
Building a package for this repository
Operate inside a checkout of this repository. Inputs:
- Paper — URL, DOI, or an attached PDF
- Upstream code — public repository URL
- Focus — the methods, tutorial steps, or figures to expose as tools
Goal: one directory under packages/<package_id>/ that passes this repository's static
validation and is ready to open as a pull request.
Read first
schema/package-v1.schema.json, docs/contract.md, CONTRIBUTING.md, and examples/sequence-stats/
as the reference layout.
Produce
packages/<package_id>/
metadata.json strict schema; no fields outside it
USAGE.md purpose, inputs, outputs, limits, install steps
VALIDATION.md how each tool was verified, and what was not
LICENSE license of this submission (never a placeholder)
NOTICE optional; upstream notices when the license requires them
src/requirements.txt exactly pinned dependencies (package==version)
src/<name>_mcp.py the single MCP entry point
src/... further modulesRules
repo_urlis the canonicalhttps://github.com/owner/repoof the upstream code — no.gitsuffix, no clone URL — paired with its full 40-character commit. Never the wrapper repository, never a short hash.package_idis lowercase kebab-case, matches the directory name, and stays stable.doiandpaper_titlecome from the paper; never invent or guess identifiers, and strip any trailing punctuation you copied from prose.doimay be null when the paper has none;paper_titleis required either way.- Exactly one
src/*_mcp.pyentry point. Outsidesrc/, onlymetadata.json,USAGE.md,LICENSE,NOTICEandsrc/requirements.txtare accepted. - Pin every dependency to an exact version; no URLs, no unpinned ranges. The protocol library the
server speaks is a dependency too, and the runtime environment is rebuilt from
src/requirements.txtalone: whichever FastMCP distribution the entry point imports — the SDK'smcp.server.fastmcpor the standalonefastmcp— must appear there with a version. src/may contain Python only. Small read-only tables belong in a Python module as a literal, not as a separate data file; anything larger needs maintainer agreement first.- Keep the package self-contained: no absolute local paths, no
file://URIs, no loopback or wildcard-bind hosts (localhost,127.0.0.1,0.0.0.0,::1), no private or link-local addresses, no credentials or tokens, no environment files, logs, notebooks, or real user data. Public names such aslocalhost.example.comandexample.comare fine. - Declare a real license in
LICENSE. A placeholder such as "to be determined" is rejected for a published package, and the declared license must allow redistribution of the whole package. - State in
USAGE.mdwhat is and is not reproduced, required inputs, network access, and expected resource use. - Every published package carries
VALIDATION.mdwith the sections## How this was verifiedand## What remains unverified, and it must name every entry ofmetadata.json'stools. Demos are exempt. A verification record is not a formality: it is what a reviewer reads instead of taking the submission's word. - Do not modify or relax the schema, validator, tests, or workflows to make a package pass.
Known traps
Each of these passes static validation but stops the package from running. All four surfaced while building a real package end to end.
- A missing FastMCP pin. The entry point imports a FastMCP distribution, and the environment
is rebuilt from
src/requirements.txtonly. Leave it out and the server dies withModuleNotFoundError: No module named 'mcp'(or'fastmcp') on the user's machine, after review has passed. from __future__ import annotations. With themcpSDK's FastMCP, tool registration resolves annotations while importing the module and raisesTypeError: issubclass() arg 1 must be a class. The server exits before answering anything and the client only reports a closed connection. Leave the import out.- A leftover
__pycache__. Importing the module once leavessrc/__pycache__inside the package, which validation rejects as a generated path. Run local checks withPYTHONDONTWRITEBYTECODE=1, or delete the directory before validating. - An interpreter that cannot install the pins. Some dependencies set a floor — scanpy 1.12.4
requires Python 3.12 or newer. The
pythonfield inmetadata.jsonmust name an interpreter that can install the pinned requirements and run the server. A pin that no mirror carries. The runtime picks a package index by probing mirrors, and they lag by different amounts: measured on one day,
anndata==0.13.4resolved on the Tsinghua mirror but not on Aliyun,0.13.3resolved on neither, and0.13.2resolved on all three including upstream PyPI. Pinning the newest patch therefore produces a package that installs on the author's machine and fails on a user's, with the failure landing after review. Prefer a release that has been out for a while, and check the pins against the indexes the product may use:for index in https://mirrors.aliyun.com/pypi/simple \ https://pypi.tuna.tsinghua.edu.cn/simple https://pypi.org/simple; do uv pip install --dry-run --python /tmp/probe/bin/python "anndata==0.13.2" --index-url "$index" done
The validation record
VALIDATION.md states, in the submitter's own words, what was actually exercised and what was
not. Keep it specific — a reviewer checks it against the package:
# Validation
## How this was verified
- Environment: Python 3.12; `src/requirements.txt` pins 7 distributions.
- `qc_metrics` — ran against a 30 x 25 synthetic `.h5ad`; checked 30 cells, 25 genes,
3 mitochondrial genes, and that a missing file is rejected.
- `filter_cells` — same input; checked 30 cells in, 28 out, and that the output file is written.
## What remains unverified
- Agreement with numbers reported in the paper.
- Behaviour on datasets larger than the synthetic input.A delivery from the OmicOS build pipeline can generate this file rather than hand-writing it: see
tools/from_paper2mcp.py.
Verify before reporting
python tools/catalog.py validatepython -m unittest discover -s tests -v- Start the server once and exercise every tool on small input, including one call it should reject. CI never executes package code, so import and registration errors surface only here.
- The package's own checks, recorded exactly as run.
- Re-read every produced file for leaked paths, identifiers, or credentials.
Report
File tree; commands run and their results; which claims are verified and which are not; what a human must still confirm (license, redistribution rights, numerical validity).
Stop
Do not commit, push, or open the pull request. Do not add an entry to reviews.json; approvals are
recorded by maintainers only.
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.

