agentleFS
docxologydocxology/template/fonds/AGENTS.md

template / fonds

AGENTS.md20 starsChanged 3 months agoApache-2.0View on GitHub

Agent documentation for the fonds/ directory. fonds/ holds passive data resource pools — typed, versioned collections that projects reference but do not modify directly. Agents operating here curate, validate, and augment data assets. Before committing changes to a fond, verify:

The file

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

1 rule. About 0 are common, 1 is distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before committing changes to a fond, verify:

    line 73

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — fonds/

Agent documentation for the fonds/ directory.


Purpose

fonds/ holds passive data resource pools — typed, versioned collections that projects reference but do not modify directly. Agents operating here curate, validate, and augment data assets.


Agent entry points

Reading a fond

import yaml, pathlib

fond_root = pathlib.Path("fonds/my_bibliography")
manifest   = yaml.safe_load((fond_root / "fonds.yaml").read_text())
data_dir   = fond_root / "data"

Discovering all fonds

import yaml, pathlib

for manifest_path in pathlib.Path("fonds").glob("*/fonds.yaml"):
    manifest = yaml.safe_load(manifest_path.read_text())
    print(manifest_path.parent.name, "→", manifest["type"])

Workflow conventions

OperationConvention
ValidateCheck that fonds.yaml exists and parses cleanly before any data operation
AppendAdd new entries to data/ files; never overwrite existing entries without a version bump
Version bumpIncrement version in fonds.yaml when schema changes
DeduplicationAgents are expected to deduplicate on ingest (key: id or canonical field)
Dry-runAlways support a dry-run mode that previews changes without writing

Fond types and their schemas

bibliography

  • data/references.bib — BibTeX source of truth
  • data/references.csv — derived flat export; columns: key,type,title,author,year,journal,doi
  • Dedup key: BibTeX cite key (first column in CSV)

contacts

  • data/contacts.yaml — YAML list of contact objects
  • data/contacts.json — JSON mirror (kept in sync)
  • Dedup key: id field (slug, e.g. jane-doe)

datasets

  • data/datasets.yaml — YAML list of dataset descriptors
  • data/datasets.json — JSON mirror
  • Dedup key: id field (slug, e.g. mnist-2010)

Validation checklist

Before committing changes to a fond, verify:

  • fonds.yaml is valid YAML and contains type, description, version
  • data/ contains at least one non-empty file
  • Dedup key is unique across all entries
  • No binary blobs > 1 MB committed without LFS annotation
  • .gitignore is present

Creating a new template fond

# Bibliography
cp -r fonds/templates/template_bibliography fonds/templates/template_<name>
# Edit fonds.yaml, AGENTS.md, README.md, and populate data/

Cross-references

  • projects/templates/template_pools_rules_tools/ — project exemplar that reads fonds via src/fonds_reader.py (no fonds_ref front-matter mechanism; projects consume fonds directly from fonds/templates/)
  • fonds/templates/ — canonical exemplars for each fond type

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.