agentleFS
moredipmoredip/session-share/AGENTS.md

session-share

AGENTS.md2 starsChanged 10 months agoMITView on GitHub

The system has two parts:

The file

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

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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:

    only add comments or docstrings where they add additional value.

    line 21
  2. Distinctive:

    if you attempt to run a local server and the port is in use, assume someone else is already running it for you

    line 24
  3. Distinctive:

    after a task is fully completed, ask the user if they want to run e2e tests to verify changes

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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

Overview

This project is called CustardSeed. It's a system to let you publish your Claude Code sessions online, so you can share them with others.

The system has two parts:

  1. Claude Code plugin - Defines a Skill which publishes your current session transcript as a GitHub Gist
  2. Web viewer - Renders the transcript stored in any gist in a readable format

Repo layout

  • /claude-code-session-share is a Claude Code plugin responsible for pushing the current CC session's transcript to remote storage (gist for now)
  • /session-viewer is the SPA viewer that fetches a remote transcript and renders it to pretty HTML for viewing
  • /session-viewer/index.html is the marketing homepage for the project
  • /docs project documentation
  • /samples/claude-code-projects
    • examples of raw claude code transcript files (JSONL, with subagents)
  • /infra - Terraform IaC for deploying to GCP
    • uses Docker wrapper (bin/dterraform) to run Terraform without local install
  • /e2e-tests - End-to-end tests (pytest + playwright)

general guidance

  • only add comments or docstrings where they add additional value. Comments which just restate the name of a method or the obvious purpose of a chunk of code are not helpful.
  • whenever you're asked to make a commit that includes changes to a Claude Code plugin, also update the teeny part of that plugin's version number in plugin.json
  • You have playwright available for testing your changes in a browser. Use it after you've made meaningful changes to a UI.
  • if you attempt to run a local server and the port is in use, assume someone else is already running it for you
  • after a task is fully completed, ask the user if they want to run e2e tests to verify changes

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.