agentleFS
davideiffertdavideiffert/do-computer-skill-sync/skill-sync/SKILL.md

skill-sync

Skill0 starsChanged 29 days agoMITView on GitHub

Keep some of your skills in step with skill folders on your computers (for example ~/.claude/skills or ~/.agents/skills), both ways. Use when an automation or the person asks to sync skills.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use session-handoff, verification-before-completion and 2 more.

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.
  • wpankSkill

    session-handoff

    WHAT: Create comprehensive handoff documents that enable fresh AI agents to seamlessly continue work with zero ambiguity. Solves long-running agent context exhaustion problem.

    Also in 3 projects that use this

  • OpenAISkill

    verification-before-completion

    Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

    Also in 3 projects that use this

  • OpenAISkill

    test-driven-development

    Use when implementing any feature or bugfix, before writing implementation code

    Also in 3 projects that use this

  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 4 projects that use this

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 18 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. Distinctive:

    When the person asks you to set up skill sync:

    line 13
  2. Very specific:

    Keep the record at ~/library/skill-sync/<your name>.json: your automation's time, and for each skill its source, the fingerprint both sides …

    line 51
  3. Distinctive:

    Never delete a whole skill or source folder, and never touch skills the sources do not name.

    line 88
  4. Distinctive:

    Do not sync this skill. It updates from wherever it was installed from.

    line 90

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

Skill sync

You keep some of your skills in step with folders on computers you can use, so the person edits a skill once and every agent of theirs has it. Both sides use the same SKILL.md format.

Setting up

When the person asks you to set up skill sync:

  1. Find their skill folders on each computer you can use: ~/.claude/skills, ~/.codex/skills, ~/.agents/skills, and any they name. A skill is a folder holding a SKILL.md; follow symlinks. Show each folder and how many skills it holds.
  2. Ask what to sync: whole folders, some skills, or a folder except a few. Suggest a choice, and mention that your skill list in the prompt has room for about 40 skills; the rest still work by name.
  3. Make one daily automation at 5:00 in their time zone, unless they want another time. If another of their Doods already syncs any of the same folders (its record in ~/library/skill-sync/ says when), pick a time at least 15 minutes away. The automation's instructions are "Use skill-sync. Sources: " and the sources as chosen, for example "my laptop, every skill in ~/.claude/skills except drafts; my server, from ~/.agents/skills: writing, research."
  4. Run the first sync now.

Sources

Each source is a computer and some skills on it: a skill folder, a folder plus names, or a whole folder with optional exceptions. Only those skills are synced. If two sources offer the same name, the first wins and you report the other. A computer you cannot reach is skipped this run.

Your copy

Your copy of a skill is the one your skill tool keeps: list, view, create, write_file, patch, remove_file. It is never a folder you made. After a run, every synced skill shows in list.

Fingerprints and the record

A fingerprint is each file's path and content hash. On the source, from inside the skill's folder:

find . -type f ! -name .DS_Store ! -name '*.pyc' ! -path '*/__pycache__/*' -exec sha256sum {} +

(shasum -a 256 on a Mac.) For your copy, view the skill: Do Computer writes its files to a folder on the computer you are working on, .agents/skills/<name> in your working folder. Hash exactly the files the skill lists, in that folder. Compare fingerprints path by path, never by file dates or by sorting lines, since sorting differs between machines.

Keep the record at ~/library/skill-sync/<your name>.json: your automation's time, and for each skill its source, the fingerprint both sides had after the last sync, and when.

{ "time": "05:00", "skills": { "writing": { "source": "my-server:~/.agents/skills/writing", "files": { "SKILL.md": "3f1a…" }, "syncedAt": "2026-10-13T08:00:00Z" } } }

Each run

For each skill, compare the source (F) and your copy (Y) with the record (R):

SituationDo
F = YNothing; record the fingerprint if it is missing.
F changed, Y = RUpdate your copy from the source.
Y changed, F = RUpdate the source from your copy.
Both changed, or both exist with no recordMerge, then write the result to both.
Only the source existsCreate your copy.
Only your copy existsStop syncing it, keep your copy, and report it.
Neither existsReport the path.

Updating a side means making its files match, including removing a file the other side no longer has. Then fingerprint both again; if they differ, report it and leave that record entry as it was.

Merging keeps every real change from both sides. Where they truly contradict, keep the source's version, since the person's other tools already use it, and report the conflict. Keep name equal to the folder name.

Report

Reply in the run's chat with one line per change ("writing: edit from my server came in"; "research: my fix went out"), what each merge took from each side, and anything skipped. If nothing changed and an automation started the run, reply exactly [SILENT] so no message is posted; if the person asked, say "Skills in sync."

Rules

  • Never delete a whole skill or source folder, and never touch skills the sources do not name.
  • Syncing moves and merges. It does not rewrite what a skill says.
  • Do not sync this skill. It updates from wherever it was installed from.

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.