agentleFS
BuildHarborBuildHarbor/sciagent-skills/AGENTS.md

sciagent-skills

AGENTS.md1 starsChanged 3 months agoMITView on GitHub

This file is the cross-agent instruction manifest. Cursor, Codex, Gemini CLI, and other agents that auto-load AGENTS.md will read this on session start. Claude Code users: a thin CLAUDE.md pointer in this repo redirects here. You are working inside the SciAgent Skills repository — a curated collection of open Agent Skills (SKILL.md files) that help coding assistants act as stronger research partners for science and engineering work. - It is a library of skills, not an importable Python package. The…

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

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

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

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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
  1. Very specific:

    Keep the body under 500 lines / ~5000 tokens.

    line 57
  2. Very specific:

    If it ships a scripts/ directory, it MUST ship a tests/<skill-name>/ suite in the repo.

    line 61
  3. Very specific:

    If no skill matches, fall back to general coding assistance and surface the catalog via python scan_skills.py --list so the user can scope …

    line 86
  4. Distinctive:

    Prefer the canonical scientific library for the domain.

    line 92
  5. Distinctive:

    Always note reproducibility (seeds, versions, environment) where it matters.

    line 93
  6. Common:

    Never invent API keys, credentials, or patient identifiers.

    line 99
  7. Distinctive:

    Treat wet-lab protocols as reference only — they are not SOPs.

    line 101

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

SciAgent Skills — Agent Instructions

This file is the cross-agent instruction manifest. Cursor, Codex, Gemini CLI, and other agents that auto-load AGENTS.md will read this on session start. Claude Code users: a thin CLAUDE.md pointer in this repo redirects here.

You are working inside the SciAgent Skills repository — a curated collection of open Agent Skills (SKILL.md files) that help coding assistants act as stronger research partners for science and engineering work.

What this repo is (and is not)

  • It is a library of skills, not an importable Python package. The skills/ directory contains one folder per skill, each with a SKILL.md written to the open Agent Skills specification.
  • It is agent-agnostic. The same SKILL.md files work in Claude Code (.claude/skills/), Cursor (.cursor/rules/ or ~/.agents/skills/), OpenAI Codex (uploaded bundles), GitHub Copilot, and Gemini CLI (~/.agents/skills/).
  • It is Python-first. Examples reference Python scientific libraries (NumPy, SciPy, pandas, BioPython, RDKit, scikit-learn, PyTorch, xarray, etc.), but skills are prose + examples — they are not runtime code.

Repository layout

sciagent-skills/
├── skills/                 # 40 skills, one folder each (flat)
│   └── <skill-name>/
│       └── SKILL.md        # required; YAML frontmatter + instructions
│       └── references/     # optional; on-demand deep-dive docs
│       └── scripts/        # optional; runnable helpers (needs tests/)
│       └── assets/          # optional; templates/data
│       └── LICENSE.txt      # optional; per-skill license override
├── scripts/                # repo tooling (scanner, validator, installer)
├── examples/               # one worked example per skill category
├── docs/                   # long-form documentation
├── tests/                  # structural-contract pytest suite
├── .github/workflows/      # CI: skill validation + security scan
├── plugin.json             # Agent Plugins 1.0.0 manifest
├── pyproject.toml          # repo tooling metadata only
├── scan_skills.py          # repo-wide structural contract scanner
└── README.md

The Agent Skills contract (enforced by scan_skills.py)

Every skills/<name>/SKILL.md MUST:

  1. Have YAML frontmatter delimited by ---.
  2. Declare name — lowercase, [a-z0-9-] only, no leading/trailing or consecutive hyphens, and equal to its parent directory name.
  3. Declare description — 1–1024 chars describing what it does and when to use it (include trigger keywords so the agent picks it up reliably).
  4. (Optional) Declare license, compatibility, metadata (string→string map, use uniquely-named keys such as version, skill-author, category).
  5. Keep the body under 500 lines / ~5000 tokens. Push depth into references/, scripts/, assets/.
  6. Reference other files with relative paths, one level deep.
  7. Ship no compiled Python (*.pyc, __pycache__/) inside a skill folder.
  8. If it ships a scripts/ directory, it MUST ship a tests/<skill-name>/ suite in the repo.

How to discover skills

# List every skill with its category, version, and one-line description
python scan_skills.py --list

# Validate the whole repo against the Agent Skills contract
python scan_skills.py --validate

# Pretty-print one skill's full metadata
python scan_skills.py --show genomics

# Export a machine-readable manifest (JSON) for catalogs / docs generators
python scan_skills.py --json > skills-manifest.json

When you (the agent) should pick a skill

Pick a skill when the user's request matches its description trigger keywords. Do not load every skill at once — skills use progressive disclosure: the catalog (name + description) is cheap; the full body loads on activation.

If no skill matches, fall back to general coding assistance and surface the catalog via python scan_skills.py --list so the user can scope the request.

Style & tone

  • Be concrete. Show minimal runnable Python, not pseudocode.
  • Prefer the canonical scientific library for the domain.
  • Always note reproducibility (seeds, versions, environment) where it matters.
  • Surface ethical/safety constraints (clinical data, dual-use research, patient privacy, PII) before demonstrating a workflow.

Security boundaries (read before generating code)

  • Never invent API keys, credentials, or patient identifiers.
  • De-identify clinical data; never output real PHI.
  • Treat wet-lab protocols as reference only — they are not SOPs.
  • Chemical/biological synthesis guidance is for legitimate research only; refuse obvious dual-use / weapons requests and point to institutional review.

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.