Utility SkillsClaude Code SkillsView source fileVisit repo

setup Skill

description: 首次使用引导。交互式帮助用户完成 MyCC 初始化配置。触发词:"/setup"、"帮我配置"、"初始化"、首次使用时自动触发。

Want an agent-native computer in the browser? Try HappyCapy.

Cloud sandbox for AI agents · No setup · Run autonomous workflows from your browser

Explore HappyCapy

Affiliate link — we may earn a commission at no extra cost to you.

Stars
166
Forks
48
Updated
March 9, 2026
Quality score
30

Why use this skill

setup is most useful when you want an agent workflow that is more structured than an ad-hoc prompt. Instead of restating the same expectations every time, a dedicated SKILL.md file gives the assistant a repeatable brief. In this case, the core value is clarity: the repo already frames the workflow around utility skills tasks, and the skill source gives you a portable starting point you can evaluate, adapt, and reuse. The inferred platform for this skill is Claude Code Skills, which helps you judge whether it is likely to feel native in your current agent ecosystem or whether it is better treated as a general reference.

That matters because AI assistants are better when the operating context is explicit. A good skill turns hidden team expectations into visible instructions. It can name preferred tools, describe failure modes, define what “done” looks like, and reduce the amount of corrective prompting you need after the first draft. For developers exploring the wider SKILL.md ecosystem, this page helps answer the practical question: is this skill specific and maintained enough to be worth trying?

How to evaluate and use it

Start with the source repo and the preview below. The preview tells you whether the instructions are actionable or just aspirational. Strong skills usually describe triggers, recommended tools, steps, and known pitfalls. Weak skills tend to stay generic. This one lives in Aster110/mycc, which gives you a concrete repo context, update history, and direct ownership trail.

Once you confirm the scope looks right, test it on a small task before making it part of a larger workflow. If it improves consistency, keep it. If it is too broad, outdated, or conflicts with your own process, treat it as a reference rather than a drop-in rule. That is the healthiest way to use directory-discovered skills: not as magic plugins, but as reusable operational knowledge that still deserves judgment.

SKILL.md preview

Previewing the source is one of the fastest ways to judge whether a skill is truly useful. This snippet comes from the public file in the linked repository.

---
name: setup
description: 首次使用引导。交互式帮助用户完成 MyCC 初始化配置。触发词:"/setup"、"帮我配置"、"初始化"、首次使用时自动触发。
---

# MyCC 初始化引导

> 这是一个交互式配置向导,帮助用户完成 MyCC 的初始化设置。

## 触发条件

- 用户输入 `/setup`
- 用户说"帮我配置"、"初始化"
- **首次使用时自动触发**:检测到 `{{YOUR_NAME}}` 未替换时,主动询问是否需要引导

---

## 配置进度清单

> 每完成一步就打勾 ✅,支持中断后继续。
> 这个清单会被更新,用于追踪进度。

- [ ] 1. 检查前置条件
- [ ] 2. 复制配置文件
- [ ] 3. 收集用户信息
- [ ] 4. 替换模板变量
- [ ] 5. 验证配置生效
- [ ] 6. 完成初始化

---

## 执行步骤

### 步骤 1:检查前置条件

**检查项**:
1. Claude Code 是否已安装(能运行 `claude --version`)
2. 当前目录是否是 mycc 项目根目录(存在 `CLAUDE.md`)

**执行方式**:
```bash
# 检查 Claude Code
claude --version

# 检查目录
ls CLAUDE.md
```

**如果失败**:
- Claude Code 未安装 → 引导用户去 https://docs.anthropic.com/en/docs/claude-code 安装
- 不在项目目录 → 提示用户 `cd` 到 mycc 目录

**完成后**:更新清单,标记步骤 1 为 ✅

---

### 步骤 2:复制配置文件

**需要复制的文件**:

| 源文件 | 目标文件 | 说明 |
|--------|----------|------|
| `.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` | 中期记忆模板 |

**执行方式**:
```bash
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 为 ✅

---

### 步骤 3:收集用户信息

**需要收集**:
- 用户的名字(用于替换 `{{YOUR_NAME}}`)

**交互方式**:
> 问用户:"你希望我怎么称呼你?(这个名字会出现在 CLAUDE.md 里)"

**存储**:记住用户回答,用于下一步替换

**完成后**:更新清单,标记步骤 3 为 ✅

---

### 步骤 4:替换模板变量

**需要替换的文件**:
- `CLAUDE.md`:把所有 `{{YOUR_NAME}}` 替换为用户的名字

**执行方式**:
```bash
sed -i '' 's/{{YOUR_NAME}}/用户名字/g' CLAUDE.md
```

**检查点**:确认

...