agentleFS
vignesh-nagarajan-vnvignesh-nagarajan-vn/claude-workflow-skills/CLAUDE.md

claude-workflow-skills

CLAUDE.md4 starsChanged 9 days agoMITView on GitHub

Agent contract for this repo. Read this first. A personal set of Claude Code skills built around one constraint: cut tokens without losing output quality. It is public, so nothing here may contain private facts, credentials, employer names, academic records, or anything else identifying beyond the GitHub handle. A skill that needs another skill's reference links to it as a sibling, for example ../prose-guard/references/rules.md. That path resolves the same in this repo and in ~/.claude/skills/ after install, so there is…

  • Installs packages

The file

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

6 rules. About 0 are common, 3 are distinctive, and 3 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Deterministic work goes in a script: If a rule can be checked by a regex, a diff, or a file walk, write scripts/*.py and have SKILL.md call …

    line 11
  2. Distinctive:

    Run that before calling any doc change done.

    line 51
  3. Very specific:

    Write the description first.

    line 64
  4. Distinctive:

    Ask what part is deterministic, and put that part in a script before writing any prose.

    line 65
  5. Distinctive:

    Add a row to the README table.

    line 66
  6. Very specific:

    Add tests for its script to tests/test_scripts.py.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.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
CLAUDE.md

CLAUDE.md

Agent contract for this repo. Read this first.

What this repo is

A personal set of Claude Code skills built around one constraint: cut tokens without losing output quality. It is public, so nothing here may contain private facts, credentials, employer names, academic records, or anything else identifying beyond the GitHub handle.

The rules every skill follows

  1. Deterministic work goes in a script. If a rule can be checked by a regex, a diff, or a file walk, write scripts/*.py and have SKILL.md call it. Never ask the model to read files to find what a script can find.
  2. SKILL.md is a router. Target under 100 lines. Branch into references/*.md for detail so the reference only enters context when that branch is taken.
  3. The description is the budget. It is loaded in every session forever. Write it for trigger precision and keep it tight. Adding a skill has a permanent cost, so the bar for a new one is high.
  4. Scripts are stdlib Python only. No pip install step, works on Windows and POSIX, invoked as python <path>.
  5. Skills state what to grep, not what to read.

Layout

install.py             copies skills/* into ~/.claude/skills/
scripts/build_zips.py  packages each skill folder into zips/<name>.zip
zips/                  generated output, never hand-edited
tests/                 stdlib unittest suite for every script
.github/workflows/     CI: tests, zip check, prose lint, link check
.gitattributes         LF checkouts everywhere, so zips rebuild byte for byte
skills/<name>/
  SKILL.md             frontmatter (name, description) + router body
  references/          on-demand detail
  scripts/             stdlib Python
  assets/              templates meant to be copied into a target repo

Cross-references

A skill that needs another skill's reference links to it as a sibling, for example ../prose-guard/references/rules.md. That path resolves the same in this repo and in ~/.claude/skills/ after install, so there is no shared top-level directory and nothing to rewrite at install time.

Installing in the Claude app

Claude Code reads ~/.claude/skills/ after install.py. The Claude app instead takes one zip per skill, uploaded under Settings > Capabilities > Skills, with the skill folder as the archive root. python scripts/build_zips.py builds those archives into zips/. Output is deterministic, so an unchanged skill rebuilds byte for byte and zips/ only shows up in a diff when a skill really changed. After any change under skills/, rebuild zips/ and commit the result. python scripts/build_zips.py --check confirms the archives are current without writing anything.

Sibling links like ../prose-guard/references/rules.md resolve only when the linked skill is installed next to the one linking to it. install.py copies every skill, so that holds. In the app it holds only if the user uploads every zip the skill depends on.

Conventions

Prose in this repo follows prose-guard's rules. The repo must pass its own linter:

python skills/prose-guard/scripts/prose_lint.py

Run that before calling any doc change done.

Script changes need a test in tests/test_scripts.py, and the suite must pass:

python -m unittest discover -s tests

Scripts must work when run from any subdirectory of the target repo. Run git ls-files with cwd set to the repo root, because its output is relative to the current directory.

Adding a skill

  1. Confirm no shipped skill already covers it.
  2. Write the description first. If you cannot make it trigger precisely in one sentence, the skill is scoped wrong.
  3. Ask what part is deterministic, and put that part in a script before writing any prose.
  4. Add a row to the README table.
  5. Add tests for its script to tests/test_scripts.py.
  6. Rebuild zips/ with python scripts/build_zips.py and commit the archives.

Last verified: 2026-11-22.

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.