来源信息
- 仓库
- Prismer-AI/claude-code-plugin
- 最近来源活动
- 2026年4月11日 18:19
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- prismer-setup
- description
- Set up Prismer API key — opens browser, auto-registers, zero copy-paste
- user-invocable
- true
- allowed-tools
- Bash, AskUserQuestion
# Prismer Setup
## Step 1: Check existing config
```bash
cat ~/.prismer/config.toml 2>/dev/null | grep api_key | head -1 || echo "No config found"
```
If already configured and user doesn't want to reconfigure, stop here.
## Step 2: Run auto-setup
IMPORTANT: This command opens the browser and waits for the user to sign in. Set Bash timeout to 300000 (5 minutes):
```bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/setup.mjs" --force
```
The script:
1. Starts a local callback server
2. Opens the browser to prismer.cloud/setup
3. User signs in or registers → key auto-created → redirected back to localhost
4. Key saved to `~/.prismer/config.toml`
**Wait for it to complete.** It will print "API key saved" when done.
## Step 3: Mark setup complete
```bash
CACHE="${CLAUDE_PLUGIN_DATA:-${CLAUDE_PLUGIN_ROOT}/.cache}"
mkdir -p "$CACHE"
echo "$(date +%s)" > "$CACHE/.setup-done"
```
Tell the user: "Setup complete! Run `/reload-plugins` to activate hooks."
## Step 4: MCP Tools (optional)
Ask the user: "Do you also want MCP tools? These let Claude proactively call evolution/memory/skill APIs (29 tools). Without MCP, hooks still work (passive context injection). With MCP, Claude can actively create genes, write memory, search skills."
If yes:
```bash
claude mcp add prismer -- npx -y @prismer/mcp-server@1.8.0
```
If no: skip. Plugin works fine without MCP — hooks handle sync/journal/stuck-detection independently.
在 GitHub 查看