agentleFS
kitfunsokitfunso/hippo-memory/website/AGENTS.md

hippo-memory / website

AGENTS.md796 starsChanged 2 months agoMITView on GitHub

Static Astro + Tailwind v4, deployed to Cloudflare Pages as hippo-memory.com. DESIGN.md holds the design rules and README.md the dev and deploy commands. Read both before a change. - Wording is locked. A layout, docs or accuracy task changes no visible text. A text change needs the owner's ask. npm run build compares each page with text-snapshot/ and fails on a difference. When the owner asked for the change, run npm run snapshot and commit the result. - No eyebrow,…

  • 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,337 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.

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:

    No eyebrow, tagline, helper text or secondary label: If a screen needs one to make sense, fix the layout.

    line 11

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

hippo website: rules for agents

Static Astro + Tailwind v4, deployed to Cloudflare Pages as hippo-memory.com. DESIGN.md holds the design rules and README.md the dev and deploy commands. Read both before a change.

Rules

  • Wording is locked. A layout, docs or accuracy task changes no visible text. A text change needs the owner's ask. npm run build compares each page with text-snapshot/ and fails on a difference. When the owner asked for the change, run npm run snapshot and commit the result.
  • No eyebrow, tagline, helper text or secondary label. If a screen needs one to make sense, fix the layout.
  • The README is the source for the comparison table and the FAQ. Edit them there, never here.
  • No new client JavaScript without a line in DESIGN.md that says why. The site ships one Preact island, the layout script (copy, scroll fade) and the card-cabinet figure's inline script. The home page is the exception: it ships three.js and GSAP, loaded after first paint (DESIGN.md).
  • Tokens live in src/styles/global.css: paper, paper-2, paper-3, ink, ink-2, ink-3, accent, accent-deep, warn, rule, rule-strong, text-body, --duration-fast, --duration-medium, --ease-standard, --leading-display, --measure, --section-y. Use them; do not write a hex or a duration in a component. Files that draw outside CSS carry their own hexes: src/components/DecayCurve.tsx, scripts/hero/cabinet.js and scripts/make-images.mjs. Change them with the token. The home page has its own palette in src/styles/home.css.
  • A copy button goes only on a command block a reader can run as shown (<Cmd copy>). Example blocks get none.

Components (src/components)

  • Nav, Footer: on every page. Nav reads build-time stats from src/lib/stats.ts.
  • PageIntro: the h1 and lead of a content page. Section: one titled block; its id is the slug of its title (src/lib/slug.ts), and split puts the heading in a left column from lg up.
  • Cmd: a terminal or config block. CopyButton: its copy button; the click handler is in src/layouts/Base.astro.
  • VsTable: hippo against one system, from the README table. Faq: a pick of README answers.
  • RepeatMistakes: the three Z0 round 3 bars, with no words of its own. DecayCurve.tsx: the only Preact island.
  • AllBenchmarks: one setup's public benchmarks on /benchmarks/, a table from md up and a card per row below it. Its data, src/data/all-benchmarks.json, comes from the bench scoreboard generator (scoreboard_extras.py --site-json); never edit it by hand.
  • HowItWorks: the three stores and the decay curve on /how-it-works/. CardCabinet: the figure beside that page's intro, generated by scripts/figure/build-cabinet.mjs. That folder is the anatomy skill's MIT kit plus a driver written to the kit's API (its shapes field), so oxlint skips it.
  • Head: the shared head tags (canonical, share card, JSON-LD). Beacon: the analytics script. Base and the home page use both.
  • The home page (src/pages/index.astro) is one standalone page with its own styles (src/styles/home.css) and WebGL module (src/scripts/home-gl.js); it uses no other component. scripts/check-readme-sync.mjs makes it keep the Z0 caveat. Its scoreboard shows only the official-setup rows, the ones comparable with published scores; /benchmarks/ states every loss in its own copy.

Checks before a PR

npm --prefix website ci
npm --prefix website run build   # README guard, astro build, then scripts/check-build.mjs

check-build.mjs fails on a word glued to a link or inline code, a duplicate id, a DESIGN.md colour the code does not use, an American spelling, and visible text that differs from text-snapshot/. After a deploy, run Lighthouse on the changed pages: every page scores 100 in each category today.

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.