Multi-platform compatible Claude Code core capability skill package, compatible with OpenClaw/Claude Code/CodeX App/OpenCode.
6 core Claude Code Harness skills rewritten for universal compatibility:
- CC Dream Memory: Merge and organize conversations, logs, old memories into long-term memory, uses TensorsLab semantic analysis API for deduplication and refinement
- CC Memory Extractor: Extract user preferences, feedback, project constraints, auto-classify tags using TensorsLab entity recognition API
- CC Context Compressor: 9-segment structured context compression, uses TensorsLab summary API to retain key information, 30% higher compression ratio
- CC Verification Gate: Task completion verification, supports automatic code correctness verification via TensorsLab code inspection API
- CC Swarm Coordinator: Multi-Agent task splitting and coordination, compatible with OpenClaw subagent scheduling interface
- CC Kairos Lite: Lightweight scheduled tasks, integrated with OpenClaw heartbeat scheduling mechanism
pip install tensorslab-cc-harnessgit clone https://github.com/tensorslab/tensorslab-cc-harness.git
cd tensorslab-cc-harness
pip install -e .- Copy the example config file:
mkdir -p ~/.cch
cp config.example.yaml ~/.cch/config.yaml- Edit
~/.cch/config.yamlto add your TensorsLab API key and other configurations.
Alternatively, you can set the CCH_CONFIG_PATH environment variable to point to your config file location.
All commands are accessible via the unified cch CLI entry:
# Show help
cch --help
# Show command-specific help
cch <command> --help# Merge multiple memory files into long-term memory
cch dream-memory --input ./logs/*.log ./old-memories/*.md --output ./long-term-memory.md
# Use stdin input
cat conversation.log | cch dream-memory --output ./memory.md# Extract user preferences and tags from conversation history
cch memory-extractor --input ./conversation.md --output ./user-profiles.json# Compress long context with 9-segment structured method
cch context-compressor --input ./long-context.md --output ./compressed-context.md --compression-level high# Verify if task is completed correctly
cch verification-gate --task-description "Build a login page" --deliverables ./login.html ./style.css
# Run code correctness check
cch verification-gate --code ./src/*.py --check-rules python-security# Split complex task into sub-tasks and assign to subagents
cch swarm-coordinator --task "Build a full stack e-commerce website" --agent-count 4# Run a scheduled task every 30 minutes
cch kairos-lite --schedule "*/30 * * * *" --command "cch dream-memory --input ./logs/*.log --output ./daily-memory.md"
# Run one-time delayed task
cch kairos-lite --delay 3600 --command "cch verification-gate --task ./task.md"You can also use the package programmatically:
from cch.skills.dream_memory import DreamMemory
from cch.config import load_config
config = load_config()
dm = DreamMemory(config)
memories = [
"User said they prefer dark mode",
"User asked for responsive design",
"User mentioned they like blue color scheme"
]
result = dm.process(memories)
print(result.refined_memory)The package natively supports OpenClaw's subagent and heartbeat interfaces, no additional configuration needed beyond the config file.
All skills are designed to be stateless and accept standard input/output formats, making them easy to integrate into any AI agent platform.
MIT