open-press
AGENTS.md14 starsChanged 4 months agoMITView on GitHub
This repo is the open-press framework: core engine/workbench packages, CLI scaffolder, bundled skills, docs, landing site, and a tracked dogfood workspace. You are an agent contributing to open-press itself. Framework code lives under packages/apps/skills; the root press/ is the public dogfood workspace used to verify the framework with real output. If you find memory/AGENTS.md at the workspace root, you're in a downstream workspace (an open-press project, not the framework repo itself). Read memory/AGENTS.md first for project-specific context. Downstream workspaces consume…
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 repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- openpress-apply-commentsSkill
- openpress-collaborateSkill
- openpress-create-pagesSkill
- openpress-create-slideSkill
- openpress-deploySkill
- openpress-pluginsSkill
- openpressSkill
- openpress-upgradeSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 44
Use the tracked root press/ to validate framework changes.
- Distinctive: line 68
Engine stays dumb: no opinions about content, brand, voice, visual register.
- Distinctive: line 69
Skills carry opinions: create skills, starter-bearing skills, and portable language/genre skills.
≈ “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
open-press framework — agent contract
This repo is the open-press framework: core engine/workbench packages, CLI scaffolder, bundled skills, docs, landing site, and a tracked dogfood workspace.
You are an agent contributing to open-press itself. Framework code lives under packages/apps/skills; the root press/ is the public dogfood workspace used to verify the framework with real output.
If you find
memory/AGENTS.mdat the workspace root, you're in a downstream workspace (an open-press project, not the framework repo itself). Readmemory/AGENTS.mdfirst for project-specific context. Downstream workspaces consume@open-press/corefrom npm; document work should normally stay inpress/,openpress/settings.json, and local skills.
What you may edit
packages/core/— runtime primitives, engine, render pipeline, workbench source, tests.packages/cli/— scaffolder and template sync code.apps/web/— landing site.skills/— independent agent skills. Some skills includestarter/files that agents can read, copy, and adapt.press/— tracked dogfood workspace. Hostspress/userstory/(the OpenPress User Story Book) plus minimalsocialandslidePress for multi-Press verification. Use it to validate real content, style, PDF, deploy, and gallery routing.docs/— user-facing docs, migration notes, active specs, and implementation plans.- Root config:
vite.config.ts/tsconfig.json/index.html/package.json/openpress/settings.json/README.md/.gitignore.
What you may not edit
packages/core/document/— legacy local scratch path. Do not recreate it; rootpress/is the dogfood workspace.node_modules/,public/openpress/,dist-react/,.deploy/,.openpress/,.turbo/cache/— generated/cache output. The only writable exception is the ephemeral.openpress/review/current.jsonhandoff owned byopenpress-collaborate; replace or remove it, never treat it as authored delivery source.
The full source-vs-generated path table is owned by skills/openpress/SKILL.md > Source Boundary. Other skills link to that table rather than redefining it.
Commit message prefixes
[core] ...— framework code (packages/core/,packages/cli/,apps/web/)[doc] ...— dogfood content (press/, tracked) and top-level docs[skill] ...— skill files underskills/[spec] ...— design specs / docs[test] ...— test changes only
Branch ownership
- Framework code (
packages/core/,packages/cli/,apps/web) — keep generic. No hardcoded project content, brand, or paths. All workspace-specific values flow throughopenpress/settings.jsonor<Workspace>/<Press>JSX props. - Starter-bearing skills (
skills/<name>/starter/) — independent skills that include usable starter files. Keep them working, but do not make the CLI responsible for fetching them. - Built-in chart types —
bar,line,donutonly. Adding a new built-in is a framework-level decision; ad-hoc chart variants belong as per-Press components inpress/<slug>/components/<name>/.
Workflow for local validation
skills/openpress/SKILL.md is the routing entry point. Read it first to find the right specialist (collaborate, create-pages, create-slide, diagram, deploy, apply-comments). Use skills/openpress-collaborate/SKILL.md for authored-content analysis and changes. Use skills/openpress-apply-comments/SKILL.md directly when the task is to resolve pending @openpress-comment markers without a Change Preview.
Use the tracked root press/ to validate framework changes. It should exercise real authoring, preview, PDF, and deploy flows:
# Validate the full pipeline:
npm run build # validates + renders every Press into dist-react/ + public/openpress/<slug>/
npm run dev:workspace # http://127.0.0.1:5173/workspace
npm run openpress:pdf
npm testAfter framework changes:
npm run skills:link # sync framework skills/ (SSOT) to .agents/skills/ & .claude/skills/
npm run typecheck
npm testLanding site verification
apps/web/ is a marketing landing site. Validate it with pnpm --filter web build and visual review in the browser. Do not add automated tests for landing-page copy, section order, layout, responsive presentation, or motion; those details are intentionally design-review concerns. Product behavior in packages/core/ remains covered by automated tests.
Boundaries (engine philosophy)
- Engine stays dumb: no opinions about content, brand, voice, visual register.
- Skills carry opinions: create skills, starter-bearing skills, and portable language/genre skills.
- User owns intent: agents ask before adding material business numbers, legal claims, public commitments, or publishing to a public URL.
- Validation protects delivery, not taste: structural checks pass before render; do not police placeholder text or aesthetic choices in
validate.
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.

