brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
distribute-skill-to-all-agentsDistribute global skills across Codex, Claude Code, Pi, Hermes, and Cursor. Use for "distribute this skill", "sync skills across agents", or after creating or updating a global skill.
Independent GitHub snapshot · Automated classification · Original documentation governs
A global skill must exist at all five locations on the user's Mac, directly or via symlink, for every agent to discover it.
~/.agents/skills/ is canonical. Author skills here first.~/.claude/skills/ → ~/.agents/skills/; covered automatically.~/.pi/agent/skills/ → ~/.agents/skills/; covered automatically. The nested /agent/ is required, not ~/.pi/skills/.~/.hermes/skills/ is an independent copy; only Hermes needs copying.~/.cursor/skills/ is a real folder that does not reliably read ~/.agents/skills/. Add one symlink per skill. Never use ~/.cursor/skills-cursor/; it holds Cursor's built-ins.~/.agents/skills/<skill-name>/SKILL.md, following effective-agent-skills.ls -la ~/.claude/skills
# Expect: ~/.claude/skills -> ~/.agents/skills
If it is a real directory, copies have diverged — ask before touching.SKILL=<skill-name>
cp -r ~/.agents/skills/$SKILL ~/.hermes/skills/
[ -e ~/.cursor/skills/$SKILL ] || ln -s ~/.agents/skills/$SKILL ~/.cursor/skills/$SKILL
If a real Cursor copy exists and differs, compare versions and ask before replacing.for p in ~/.agents/skills/$SKILL ~/.claude/skills/$SKILL ~/.pi/agent/skills/$SKILL ~/.hermes/skills/$SKILL ~/.cursor/skills/$SKILL; do
echo "$p: $(wc -c < $p/SKILL.md) bytes"
done
All five numbers must match. If Claude, Pi, or Cursor differs, investigate the symlink before proceeding.Re-copy from ~/.agents/skills/ to ~/.hermes/skills/; Claude, Pi, and symlinked Cursor skills update automatically. cp -r overwrites by default. Use rsync -a --delete when nested files may have been removed:
rsync -a --delete ~/.agents/skills/$SKILL/ ~/.hermes/skills/$SKILL/
~/.pi/skills/ is the wrong global location. Pi loads from ~/.pi/agent/skills/; skills in the former are invisible orphans. Confirm with the user before deleting them.~/.agents/skills/; copying there errors with "are identical". Only Hermes is independent. Do not replace it with a symlink unless the user asks../.pi/agent/skills/ or .pi/skills/ inside a repo. This workflow handles only global distribution.SKILL.md../.claude/skills/, ./.pi/agent/skills/, etc.rm -rf from ~/.agents/skills/ (covers Claude and Pi) ~/.hermes/skills/, and the ~/.cursor/skills/ symlink.