agentleFS
keepplainkeepplain/keepplain-plugin/skills/auto/SKILL.md

auto

Skill4 starsChanged 54 days agoMITView on GitHub

Turn automatic sending of Claude Code sessions to KeepPlain on or off for this computer or for this one session, or show whether it is on. Runs only when the user types /keepplain:auto.

  • Reads credentials

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan and review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the command that matches what the user wrote after the command name.

    line 9
  2. Very specific:

    If it starts with session, run this command exactly, with <choice> replaced by on or off when the user wrote one after session, or with …

    line 11
  3. Distinctive:

    Run only one of those commands.

    line 27
  4. Very specific:

    Never read, print or search for the KeepPlain token, ~/.keepplain/credentials.json, environment variables or the agent's own sign-in files.

    line 28
  5. Very specific:

    If the user wrote something other than on, team, push, off, session, session on or session off, run the second command without a mode and …

    line 29
  6. Distinctive:

    If the script says this computer is not connected, tell the user to run /keepplain:login first.

    line 30

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “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
SKILL.md

Auto mode sends each Claude Code session on this computer to KeepPlain by itself, every five minutes while it runs and once more when it ends: on sends every session (to the user's team space when the repository is one of their team's, else to their private Builds), team sends only sessions in repositories of teams that ask for it, push sends a session only when its commits are pushed (from repositories with the KeepPlain git hooks), off stops it. session on sends only the current session this way, even when auto mode is off for the computer; session off keeps the current session on this computer whatever the mode. Nothing is ever published by it.

  1. Run the command that matches what the user wrote after the command name.

    If it starts with session, run this command exactly, with <choice> replaced by on or off when the user wrote one after session, or with nothing in its place if they did not:

    node "${CLAUDE_PLUGIN_ROOT}/scripts/keepplain.mjs" auto session <choice> ${CLAUDE_SESSION_ID}

    Otherwise run this command exactly, with <mode> replaced by what the user wrote (on, team, push or off), or with nothing after auto if they wrote nothing:

    node "${CLAUDE_PLUGIN_ROOT}/scripts/keepplain.mjs" auto <mode>
  2. Show the user what it printed, word for word. If it printed an error, show the error and stop.

Rules:

  • Run only one of those commands. Do not check the site, read files, or run anything else on your own.
  • Never read, print or search for the KeepPlain token, ~/.keepplain/credentials.json, environment variables or the agent's own sign-in files.
  • If the user wrote something other than on, team, push, off, session, session on or session off, run the second command without a mode and show them the result.
  • If the script says this computer is not connected, tell the user to run /keepplain:login first. Never ask for a token in the chat.

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.