西西里岛

数据 社区

技能解读

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

何时使用

用户询问常见的编程问题 用户提到“CCI”、“知识库”或“集体智慧” 您将要解决一个在用户想要查找某个主题存在哪些解决方案之前可能已经解决的问题

如何搜索

使用 CCI CLI 搜索知识库:

响应格式

当您找到相关条目时: 总结找到的最相关的解决方案 使其适应用户的特定上下文 注明来源(日期和贡献者,如果有) 主动显示更多结果(如果有)

查询示例

“搜索 CCI for React hooks typescript” “检查 API 身份验证模式的知识库” “查找有关 docker 部署的 CCI 条目”

解决新问题后

提醒用户他们可以保存成功的解决方案:“此解决方案有效!您想将其保存到 CCI 以供将来参考吗?只需说‘保存到 CCI’,我就会帮助捕获它。”要手动添加条目:

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

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

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

# Claude Collective Intelligence (CCI) Skill

Search the shared knowledge base for existing solutions before solving problems from scratch.

## When to Use

- User asks about common programming problems
- User mentions "CCI", "knowledge base", or "collective intelligence"
- You're about to solve a problem that might have been solved before
- User wants to find what solutions exist for a topic

## How to Search

Use the CCI CLI to search the knowledge base:

```bash
# Set the CCI repo path
export CCI_REPO="$HOME/code/claude-collective-intelligence"

# Search for relevant entries
node "$CCI_REPO/src/search.js" "your search query"

# For verbose output (full solutions)
node "$CCI_REPO/src/search.js" -v "your search query"

# View stats
node "$CCI_REPO/src/search.js" --stats

# List recent entries
node "$CCI_REPO/src/search.js" --list 5
```

## Response Format

When you find relevant entries:

1. Summarize the most relevant solution found
2. Adapt it to the user's specific context
3. Credit the source (date and contributor if available)
4. Offer to show more results if available

When no entries match:

1. Let the user know you checked CCI but found no matches
2. Proceed to solve the problem normally
3. Suggest saving the solution to CCI when done

## Example Queries

- "search CCI for react hooks typescript"
- "check knowledge base for API authentication patterns"
- "find CCI entries about docker deployment"

## After Solving New Problems

Remind users they can save successful solutions:

"This solution worked! Would you like to save it to CCI for future reference? Just say 'save to CCI' and I'll help capture it."

To manually add an entry:
```bash
node "$CCI_REPO/bin/cci.js" add
```

讨论

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