agentleFS
spboyerspboyer/sensei/SKILL.md

sensei

Skill60 starsChanged 14 days agoMITView on GitHub

**WORKFLOW SKILL** - Iteratively improve skill frontmatter and routing clarity. WHEN: \"run sensei\", \"sensei help\", \"improve skill\", \"fix frontmatter\", \"score skill\", \"check skill tokens\". INVOKES: token CLI, test runners, git. FOR SINGLE OPERATIONS: use the token CLI directly.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    Distinctive

    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
  1. Very specific:

    Verify tooling exists before claiming it is missing.

    line 13
  2. Distinctive:

    Use realistic positive prompts and close near-misses from intended scope.

    line 23
  3. Distinctive:

    Check portability before introducing host fields.

    line 28
  4. Distinctive:

    Ask whether to commit, create an issue, or skip.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 6 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

Sensei

Improve skills using the Ralph loop. For help, explain modes, defaults, and checks from configuration. For source bundles and installation, see distribution.

  1. Read the target SKILL.md, references, tests, and repo-local instructions. Verify tooling exists before claiming it is missing. Count baseline tokens: From the Sensei checkout, pass the target repository root and a path relative to it: npm run tokens -- count --root <target-repo> <skill-path>/SKILL.md.
  2. Score with npm run tokens -- score --root <target-repo> <skill-path>. Separate portable-spec diagnostics from Sensei recommendations. Preserve .sensei.json and AGENTS.md short-description policy. A 150-character floor, 60-word target, type prefix, WHEN:, and 500-token target are heuristics, not specification requirements.
  3. Scaffold missing tests using templates. Use realistic positive prompts and close near-misses from intended scope; negative frontmatter syntax is not required.
  4. Improve concise positive routing and operational instructions using examples. Keep descriptions non-empty and within 1024 characters. Preserve meaningful boundaries; evaluate them on the target host. Check portability before introducing host fields.
  5. Verify with the target project's test runner; --fast skips tests but must report them as not run. GEPA mode uses optional keyword/proxy fitness, not observed host activation; follow configuration.
  6. Check budgets with npm run tokens -- check --root <target-repo> <skill-path>/SKILL.md. Report configured token-limit warnings separately from optional optimization suggestions. For MCP-aware skills, follow MCP integration.
  7. Summarize changes, diagnostics, tests, token deltas, and remaining suggestions. score --emit-proof records static evidence, not runtime quality or a security audit. Ask whether to commit, create an issue, or skip; do not discard edits unasked.
  8. Repeat until the advisory target and tests pass, at most five iterations. Process batches sequentially and report failures explicitly.

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.