Initial agent skills setup

Common skills shared across Claude Code, Codex, and Antigravity,
plus per-agent extras. sync.sh deploys to each tool's config path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gm
2026-06-05 10:31:05 +09:00
commit 2fac6d2e74
4 changed files with 115 additions and 0 deletions

22
sync.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
set -e
SKILLS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Claude Code
mkdir -p ~/.claude
cat "$SKILLS_DIR/common.md" "$SKILLS_DIR/claude_extra.md" > ~/.claude/CLAUDE.md
echo " [ok] ~/.claude/CLAUDE.md"
# Codex + Antigravity (shared ~/.agents/skills)
SKILL_DIR=~/.agents/skills/my-skills
mkdir -p "$SKILL_DIR"
{
printf -- "---\nname: my-skills\ndescription: Personal coding skills and conventions\n---\n\n"
cat "$SKILLS_DIR/common.md"
echo ""
cat "$SKILLS_DIR/agents_extra.md"
} > "$SKILL_DIR/SKILL.md"
echo " [ok] $SKILL_DIR/SKILL.md"
echo "synced."