screen-relay
AGENTS.md456 starsChanged 14 days agoApache-2.0View on GitHub
screen-relay streams a Linux desktop to a browser and lets humans and AI agents control it from a CLI and a Node SDK. See README.md and the documentation site for how it works. Use the technical-writer skill (.agents/skills/technical-writer/SKILL.md) whenever you write or edit prose for this repo. That covers the pages in docs/content/docs/, the Geistdocs configuration in docs/, README.md, the agent skills that screen-relay skills serves from skills/, CLI help and error text, commit messages, PR descriptions, and issues. Use…
- Installs packages
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 repository6 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- architecture-diagramSkill
- technical-writerSkill
- coreSkill
- screen-relaySkill
- vercel-sandboxSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Use the technical-writer skill (.agents/skills/technical-writer/SKILL.md) whenever you write or edit prose for this repo.
- Very specific: line 11
Use the architecture-diagram skill (.agents/skills/architecture-diagram/SKILL.md) to create or update diagrams in the docs.
- Very specific: line 19
Create a branch, such as laf/prepare-v0.2.0.
- Very specific: line 21
Write the entry at the top of CHANGELOG.md, under a new ## <version> heading, wrapped in <!-- release:start --> and <!-- release:end --> …
- Very specific: line 22
Add a matching entry at the top of docs/content/docs/changelog.mdx, below the frontmatter.
- Very specific: line 23
Run node scripts/check-version-sync.mjs.
- Distinctive: line 28
If npm already has the version but the GitHub release is missing, the workflow creates only the release.
- Distinctive: line 60
Do not prefix entries with commit hashes.
≈ “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.
Files
screen-relay
screen-relay streams a Linux desktop to a browser and lets humans and AI agents control it from a CLI and a Node SDK. See README.md and the documentation site for how it works.
Writing
Use the technical-writer skill (.agents/skills/technical-writer/SKILL.md) whenever you write or edit prose for this repo. That covers the pages in docs/content/docs/, the Geistdocs configuration in docs/, README.md, the agent skills that screen-relay skills serves from skills/, CLI help and error text, commit messages, PR descriptions, and issues.
Diagrams
Use the architecture-diagram skill (.agents/skills/architecture-diagram/SKILL.md) to create or update diagrams in the docs.
Releasing
A release is one PR, prepared by hand. The maintainer controls the changelog's voice and format.
To prepare a release:
- Create a branch, such as
laf/prepare-v0.2.0. - Bump
versioninpackage.json, then runnpm install --package-lock-onlyto updatepackage-lock.json. - Write the entry at the top of
CHANGELOG.md, under a new## <version>heading, wrapped in<!-- release:start -->and<!-- release:end -->markers. Remove the markers from the previous entry so that only the new release has them. - Add a matching entry at the top of
docs/content/docs/changelog.mdx, below the frontmatter. - Run
node scripts/check-version-sync.mjs. CI runs the same check on every PR. - Open a PR and merge it to
main.
When the PR merges, the Release workflow checks whether npm already has the version in package.json. If it doesn't, it publishes screen-relay to npm and creates the v<version> GitHub release. The release has no engine binaries: screen-relay install builds the engine on each machine. The release body is the text between the markers in CHANGELOG.md.
If npm already has the version but the GitHub release is missing, the workflow creates only the release. To retry a failed run, start the workflow from the Actions tab on main.
Publishing uses npm trusted publishing from the Release environment, so the workflow needs no npm token. The Release environment has required reviewers, so the publish job waits in the Actions run until one of them approves it.
Writing the changelog
Review the git log since the last release tag and write the entry in CHANGELOG.md. Group changes under ### New Features, ### Bug Fixes, ### Improvements, and ### Documentation, and leave out a group that has no changes. Bold the name of the feature or fix, describe it in one sentence, and put the PR numbers in parentheses.
## 0.2.1
<!-- release:start -->
### Bug Fixes
- Fixed **baz** failing when qux is enabled (#1235)
### Contributors
- @lahfir
<!-- release:end -->
## 0.2.0
### New Features
- Added the **foo command**, which does bar (#1234)End the entry with a ### Contributors section that lists the GitHub username, with an @ prefix, of everyone who contributed to the release. Find them in the git log between the previous tag and HEAD.
Do not prefix entries with commit hashes.
Docs changelog
docs/content/docs/changelog.mdx mirrors CHANGELOG.md with these differences:
- The version has a
vprefix, such as## v0.2.0. - A date line follows the heading:
<p className="text-[#888] text-sm">November 14, 2026</p>. - A
---line separates entries. - It has no release markers and no
### Contributorssection.
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.

