Distribute skill to all agents

From Matymatyk-business/david-skills · View interactive version

Distribute skill to all agents is an AI agent skill from the GitHub repository Matymatyk-business/david-skills. Distribute a newly-created agent skill across all 4 canonical skill folders on a local machine so Claude Code, Codex/OpenAI Agents, Pi Agent, and Hermes all see it. Use whenever the user says "give this skill to all agents", "distribute this skill", "sync skills across agents", or after creating a n

How to use this skill

Skill file

Distribute a Skill Across All Agents

There are 4 agent skill locations. A skill must exist in each (or via symlink) to be discoverable by every agent.

The 4 Canonical Locations

| Agent | Skills Folder | Notes |

|---|---|---|

| Codex / OpenAI Agents | ~/.agents/skills/ | Canonical — author skills here first |

| Claude Code | ~/.claude/skills/ | Symlink → ~/.agents/skills/ — writing to .agents/skills automatically covers Claude |

| Pi Agent | ~/.pi/agent/skills/ | Symlink → ~/.agents/skills/ — auto-covered. (Path is /agent/ nested — NOT ~/.pi/skills/) |

| Hermes Agent | ~/.hermes/skills/ | Independent copy — the only one needing a manual copy |

Workflow

  1. Author the skill in ~/.agents/skills/<skill-name>/SKILL.md (canonical). Follow effective-agent-skills SKILL.md guidance.
  2. Verify the .claude symlink is intact (one-time check):

```bash

ls -la ~/.claude/skills

# Expect: ~/.claude/skills -> /Users/you/.agents/skills

```

If it's a real directory instead of a symlink, the user has diverged copies — ask before touching.

  1. Copy to .hermes only (.claude and .pi are symlinks — already covered):

```bash

SKILL=<skill-name>

cp -r ~/.agents/skills/$SKILL ~/.hermes/skills/

```

  1. Verify all 4 locations show identical byte counts:

```bash

for p in ~/.agents/skills/$SKILL ~/.claude/skills/$SKILL ~/.pi/agent/skills/$SKILL ~/.hermes/skills/$SKILL; do

echo "$p: $(wc -c < $p/SKILL.md) bytes"

done

```

All four numbers must match. If .claude or .pi shows a different byte count, that symlink is broken — investigate before proceeding.

Updating an Existing Distributed Skill

Same flow — re-copy from ~/.agents/skills/ to .hermes/skills/. The .claude and .pi symlinks update automatically. cp -r overwrites by default; use rsync -a --delete if the skill folder has nested files that may have been removed:

rsync -a --delete ~/.agents/skills/$SKILL/ ~/.hermes/skills/$SKILL/

Pitfalls

When NOT to Use This Skill

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.