First-time setup guide. Interactive assistance to help users complete MyCC initial configuration. Trigger phrases: "/setup", "help me set up", "initialize"; automatically triggers on first use.
这是一个交互式配置向导,帮助用户完成 MyCC 的初始化设置。
/setup{{YOUR_NAME}} 未替换时,主动询问是否需要引导每完成一步就打勾 ✅,支持中断后继续。 这个清单会被更新,用于追踪进度。
检查项:
claude --version)CLAUDE.md)执行方式:
# 检查 Claude Code
claude --version
# 检查目录
ls CLAUDE.md
如果失败:
cd 到 mycc 目录完成后:更新清单,标记步骤 1 为 ✅
需要复制的文件:
| 源文件 | 目标文件 | 说明 |
|--------|----------|------|
| .claude/settings.local.json.example | .claude/settings.local.json | Hooks 配置 |
| 0-System/status.md.example | 0-System/status.md | 短期记忆模板 |
| 0-System/context.md.example | 0-System/context.md | 中期记忆模板 |
执行方式:
cp .claude/settings.local.json.example .claude/settings.local.json
cp 0-System/status.md.example 0-System/status.md
cp 0-System/context.md.example 0-System/context.md
检查点:确认三个文件都存在
完成后:更新清单,标记步骤 2 为 ✅
需要收集:
{{YOUR_NAME}})交互方式:
问用户:"你希望我怎么称呼你?(这个名字会出现在 CLAUDE.md 里)"
存储:记住用户回答,用于下一步替换
完成后:更新清单,标记步骤 3 为 ✅
需要替换的文件:
CLAUDE.md:把所有 {{YOUR_NAME}} 替换为用户的名字执行方式:
sed -i '' 's/{{YOUR_NAME}}/用户名字/g' CLAUDE.md
检查点:确认 CLAUDE.md 中不再包含 {{YOUR_NAME}}
完成后:更新清单,标记步骤 4 为 ✅
验证项:
.claude/settings.local.json 存在且格式正确0-System/status.md 存在CLAUDE.md 中的名字已替换执行方式:
# 检查文件存在
ls -la .claude/settings.local.json
ls -la 0-System/status.md
ls -la 0-System/context.md
# 检查变量已替换
grep "{{YOUR_NAME}}" CLAUDE.md || echo "✅ 变量已全部替换"
如果有问题:告诉用户哪里出错,并提供修复建议
完成后:更新清单,标记步骤 5 为 ✅
输出完成消息:
🎉 MyCC 初始化完成!
已完成:
✅ 配置文件已复制
✅ 名字已设置为「{用户名字}」
✅ Hooks 已配置
接下来你可以:
1. 重启 Claude Code(让 Hooks 生效)
2. 开始使用!试试说"今天有什么安排"
提示:
- 编辑 `0-System/status.md` 记录你的每日状态
- 编辑 `0-System/about-me/` 让我更了解你
- 输入 `/dashboard` 查看所有可用能力
更新清单:标记步骤 6 为 ✅,所有项目完成
如果用户中途离开:
/setup 时,检查清单,从未完成的步骤继续A:
.claude/settings.local.json 存在A:
.claude/settings.local.json/setupA: 直接编辑 CLAUDE.md,把名字改成你想要的
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Control Sonos speakers (discover/status/play/volume/group).
Terminal Spotify playback/search via spogo (preferred) or spotify_player.
Capture frames or clips from RTSP/ONVIF cameras.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Category:tools