feat: add mybot CLI with update, chat, and Claude project config

- Click entrypoint: mybot update (make install / pip -e), mybot chat (claude in repo)
- Optional --dangerously-skip-permissions for Claude Code
- Makefile install; hatchling package layout
- .gitignore: venv, build artifacts, workspace (local symlinks)

Made-with: Cursor
This commit is contained in:
Zhengshou Lai
2026-04-06 13:11:10 +08:00
commit b98d35c387
121 changed files with 9962 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
# 同步 npx global skills 到 Claude Code
SOURCE="$HOME/.agents/skills"
TARGET="$HOME/.claude/skills"
mkdir -p "$TARGET"
for skill in "$SOURCE"/*; do
name=$(basename "$skill")
if [ -d "$skill" ] && [ -f "$skill/SKILL.md" ]; then
if [ ! -L "$TARGET/$name" ]; then
ln -sf "$skill" "$TARGET/$name"
echo "Linked: $name"
fi
fi
done
echo "Sync complete. Run /skills to see all."