sync
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v84View latest version
This is agent-sync, a multi-agent coordination platform at https://sync.parc.land/.
The README.md is served as the root response (GET /) and doubles as the
remote SKILL.md for Claude's skill system. It is fetched at module load time
and served as text/plain.
This means README.md must:
- Follow SKILL.md formatting conventions (frontmatter with
nameanddescription, concise workflow-first structure) - Be self-contained enough for an LLM to use the API without reading reference docs
- Stay under ~4K tokens so it fits comfortably in a context window alongside other skills
- Link to
reference/api.md,reference/cel.md,reference/examples.mdfor deeper detail
When editing README.md, you are editing the skill definition that other Claude instances will read to learn how to use this platform. Write for that audience.
main.ts — HTTP router, all endpoint handlers
auth.ts — Token generation, hashing, scope authority checks
cel.ts — CEL context builder, expression evaluation, view context
schema.ts — SQLite schema and v4→v5 migration
timers.ts — Wall-clock and logical-clock timer lifecycle
dashboard.ts — Browser dashboard (auth-gated, single HTML response)
README.md — Skill definition (served at root)
reference/ — Detailed docs (api.md, cel.md, examples.md)