技能搜索

工程开发 社区

技能解读

当前原文的自动摘译,尚未人工审校。

自动引导(首先运行)

在执行其他操作之前,请检查 ccpm 是否可用。如果没有,请使用一个命令引导整个生态系统:ccpm setup 安装此技能 + 配置 Claude Desktop MCP 服务器(如果已安装)。引导后,下面的所有命令都可以直接工作。

核心行为

激活此技能后,您必须使用 Bash 工具直接执行相应的 ccpm 命令。不要向用户显示命令并要求他们复制粘贴它 - 您自己执行它。如果 ccpm 未全局安装,请使用 npx @daymade/ccpm 作为以下所有命令的直接替代。

意图映射

将用户的意图与正确的操作相匹配:用户意图·操作“查找 X 的技能”/“搜索 X 技能”·ccpm search <query>“哪些技能流行”/“热门技能”·ccpm popular“新增内容”/“最新技能”·ccpm recent

执行规则

始终直接执行 - 通过 Bash 工具运行 ccpm 命令,永远不要要求用户手动运行它们。总结结果 - 执行后,以清晰、可读的格式呈现输出。建议后续步骤 - 搜索结果后,提出安装。安装后,提醒用户重新启动Claude Code。优雅地处理错误 - 如果找不到 ccpm,则回退到 npx @daymade/ccpm。如果注册表无法访问,请明确说明。

安装后提醒

成功安装后,始终告诉用户:技能安装成功。请重新启动 Claude Code(或开始新对话)以使该技能可用。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
工程开发
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@daymade · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
需简单配置
是否需要外部接口密钥
不需要
兼容的系统
macOS · Linux · Windows
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
  • 命令执行
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# Skills Search — Agent Behavioral Directives

## Auto-Bootstrap (Run First)

Before doing anything else, check if ccpm is available. If not, bootstrap the entire ecosystem with one command:

```bash
# Check availability
which ccpm || npx @daymade/ccpm setup
```

`ccpm setup` installs this skill + configures Claude Desktop MCP server (if installed). After bootstrap, all commands below work directly.

## Core Behavior

When this skill is activated, you MUST directly execute the appropriate `ccpm` command using the Bash tool. Do NOT show the user a command and ask them to copy-paste it — execute it yourself.

If `ccpm` is not globally installed, use `npx @daymade/ccpm` as a drop-in replacement for all commands below.

## Intent Mapping

Match the user's intent to the correct action:

| User Intent | Action |
|-------------|--------|
| "find skills for X" / "search X skills" | `ccpm search <query>` |
| "what skills are popular" / "top skills" | `ccpm popular` |
| "what's new" / "latest skills" | `ccpm recent` |
| "install X" / "add X skill" | `ccpm install <skill-name>` |
| "what does X do" / "tell me about X" | `ccpm info <skill-name>` |
| "what skills do I have" / "list skills" | `ccpm list` |
| "remove X" / "uninstall X" | `ccpm uninstall <skill-name>` |
| "update X" / "update all skills" | `ccpm update [name] [--all]` |
| "I need help with PDF/Excel/..." | `ccpm search <topic>`, then offer to install the best match |

## Execution Rules

1. **Always execute directly** — run `ccpm` commands via the Bash tool, never ask the user to run them manually.
2. **Summarize results** — after executing, present the output in a clear, readable format.
3. **Suggest next steps** — after search results, offer to install. After install, remind the user to restart Claude Code.
4. **Handle errors gracefully** — if `ccpm` is not found, fall back to `npx @daymade/ccpm`. If the registry is unreachable, say so clearly.
5. **Namespaced skills** — support `@org/skill-name` format (e.g., `ccpm install @daymade/skill-creator`).

## Command Reference

### Search
```bash
ccpm search <query> [--limit <n>] [--tags <t1,t2>] [--author <name>] [--smart]
```

### Discovery
```bash
ccpm popular [--limit <n>]       # Most downloaded
ccpm recent [--limit <n>]        # Recently published/updated
```

### Install & Manage
```bash
ccpm install <skill-name>        # Install (user-level, default)
ccpm install <name> --project    # Install to current project only
ccpm install <name> --force      # Force reinstall
ccpm list                        # List installed skills
ccpm info <skill-name>           # Detailed skill information
ccpm update [name]               # Update a skill
ccpm update --all                # Update all skills
ccpm uninstall <skill-name>      # Remove a skill
```

## Post-Install Reminder

After any successful install, always tell the user:

> Skill installed successfully. Please restart Claude Code (or start a new conversation) for the skill to become available.

## MCP Server Alternative

For Claude Desktop users who want native tool integration (no Bash needed), the same functionality is available as an MCP server:

```json
{
  "mcpServers": {
    "skill-search": {
      "command": "npx",
      "args": ["-y", "skills-search-mcp"]
    }
  }
}
```

Both this skill and the MCP server wrap the same `ccpm` CLI — they are complementary, not conflicting.

## Troubleshooting

### "ccpm: command not found"
Use `npx @daymade/ccpm` instead, or install globally: `npm install -g @daymade/ccpm`.

### Skill not available after install
Restart Claude Code — skills are loaded at startup.

### Permission errors
Check write permissions to `~/.claude/skills/`. Try installing with `--project` for project-level scope.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。