From claude-brain-sync
Lists shared skills, agents, and rules in the brain network with type, name, author from git log, and share date. Useful for browsing available shared artifacts after brain init.
npx claudepluginhub toroleapinc/claude-brain --plugin claude-brain-syncThis skill uses the workspace's default tool permissions.
The user wants to see all shared artifacts in the brain network.
Shares local Claude Code skills, agents, or rules to shared brain namespace by copying to git repo, confirming with user, and committing/pushing. Use /brain-share skill my-skill.md for team sync.
Manages StatsClaw Brain knowledge sharing lifecycle: user opt-in via context.md, git clone/pull of statsclaw/brain and brain-seedbank repos, consent for PR contributions.
Provides shared bash libraries for Claude skills: phase0.sh manages session state, intel relay, memory read, hypotheses; signals.sh emits append-only signals. Sourced by other skills.
Share bugs, ideas, or general feedback.
The user wants to see all shared artifacts in the brain network.
Check if brain is initialized:
source "${CLAUDE_PLUGIN_ROOT}/scripts/common.sh"
if ! is_initialized; then
echo "Brain not initialized. Run /brain-init first."
exit 1
fi
List shared artifacts:
BRAIN_REPO="${HOME}/.claude/brain-repo"
SHARED_DIR="${BRAIN_REPO}/shared"
if [ ! -d "$SHARED_DIR" ]; then
echo "No shared artifacts yet. Use /brain-share to share skills, agents, or rules."
exit 0
fi
echo "## Shared Artifacts"
echo ""
echo "| Type | Name | Shared By | Date |"
echo "|------|------|-----------|------|"
found=false
for type in skills agents rules; do
if [ -d "${SHARED_DIR}/${type}" ]; then
for file in "${SHARED_DIR}/${type}"/*; do
if [ -f "$file" ]; then
found=true
name=$(basename "$file")
# Get git log info for this file
info=$(cd "$BRAIN_REPO" && git log --format="%an|%ad" --date=short -1 -- "shared/${type}/${name}" 2>/dev/null || echo "unknown|unknown")
author=$(echo "$info" | cut -d'|' -f1)
date=$(echo "$info" | cut -d'|' -f2)
echo "| ${type%s} | ${name} | ${author} | ${date} |"
fi
done
fi
done
if ! $found; then
echo "| — | No shared artifacts yet | — | — |"
fi
echo ""
echo "Use /brain-share <type> <name> to share more artifacts."