Agent skill
cci
Search Claude Collective Intelligence knowledge base for solutions to problems. Use when the user asks about common issues, wants to find existing solutions, or mentions "CCI", "collective intelligence", or "knowledge base".
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/cci
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:
# 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:
- Summarize the most relevant solution found
- Adapt it to the user's specific context
- Credit the source (date and contributor if available)
- Offer to show more results if available
When no entries match:
- Let the user know you checked CCI but found no matches
- Proceed to solve the problem normally
- 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:
node "$CCI_REPO/bin/cci.js" add
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?