ocx-use
OCX Manager
OCX (OpenCode eXtensions) is the package manager for OpenCode components with auditability and dependency resolution.
Quick Start
Install and initialize:
# Install OCX
curl -fsSL https://ocx.kdco.dev/install.sh | sh
# Initialize project
ocx init
# Add components
ocx add kdco/workspace kdco/agents
Core Commands
Component Management:
# Add components (registry or npm)
ocx add kdco/workspace
ocx add npm:@franlol/opencode-md-table-formatter
# Update components
ocx update kdco/workspace # Update specific
ocx update --all # Update all
ocx update kdco/workspace@1.2.0 # Pin version
# Audit changes
ocx diff # Show all changes
ocx diff kdco/workspace # Specific component
Registry Management:
# Add registries
ocx registry add https://registry.kdco.dev --name kdco
ocx registry list
# Search components
ocx search agents # Find components
ocx search --installed # List installed
Ghost Mode (Cross-Repository Development)
Work in any repository without modifying it:
# Setup Ghost Mode
ocx ghost init
ocx ghost profile add work
# Configure registries
ocx ghost registry add https://registry.kdco.dev --name kdco
ocx ghost add kdco/workspace kdco/agents
# Use in any project
cd ~/oss/project-name
ocx ghost opencode # Run with your config
Profile Management:
ocx ghost profile list # List profiles
ocx ghost profile use work # Switch profile
ocx ghost profile add personal # Create profile
ocx ghost config # Edit current profile
Common Workflows
Development Setup:
ocx init
ocx registry add https://registry.kdco.dev --name kdco
ocx add kdco/workspace kdco/agents kdco/skills
ocx search --installed
Audit Workflow:
ocx diff # Check for changes
# Review changes shown
ocx update kdco/workspace # Update if needed
ocx diff kdco/workspace # Verify no changes
Enterprise Setup:
# Lock registries and pin versions
# Edit ocx.jsonc:
{
"registries": {
"internal": {
"url": "https://registry.company.com",
"version": "1.0.0"
}
},
"lockRegistries": true
}
Troubleshooting
Common Issues:
ocx initfirst before adding components- Check registry URLs with
ocx registry list - Use
--forceto overwrite conflicts - Verify
$EDITORis set forocx ghost config
For detailed documentation, see:
./reference/ghost-mode-workflows.md- Advanced Ghost Mode usage./reference/registry-management-guide.md- Registry configuration./reference/component-types-reference.md- Component type details./reference/configuration-files-guide.md- Config file reference
More from olafgeibig/skills
container-use
Use this skill when working with Apple Containers (lightweight Linux VMs) as a native Docker replacement on macOS. This includes building container images, running containers, managing container lifecycle, configuring networking, handling volumes, mounting files with SSH forwarding, or performing multi-platform builds. Invoke for tasks involving the container CLI, Apple container tool, or Linux containers on Apple Silicon macOS 26+.
29skill-builder
Use this skill when creating new Claude Code skills from scratch, editing existing skills to improve their descriptions or structure, or converting Claude Code sub-agents to skills. This includes designing skill workflows, writing SKILL.md files, organizing supporting files with intention-revealing names, and leveraging CLI tools and Node.js scripting.
16md-wiki
Multi-domain LLM Wiki — build and maintain a federation of interlinked markdown knowledge bases. Each domain wiki has its own schema, index, and log, linked across boundaries via path-based wikilinks. Extends Karpathy's single-wiki pattern for multiple domains under one root.
4vault-ops
Use this skill when working with a markdown notes vault such as Obsidian. It defines a default workflow for selecting a vault, reading vault-local instructions, navigating notes, writing regular notes, and maintaining Maps of Content (MoCs). Triggers: vault, obsidian, notes vault, moc, map of content, markdown notes.
4lossless-claw-use
Use this skill when installing, configuring, tuning, or troubleshooting the lossless-claw plugin in OpenClaw. It covers context engine setup, LCM compaction tuning, agent memory tools (`lcm_grep`, `lcm_describe`, `lcm_expand_query`), database operations, TUI maintenance workflows, and optional FTS5 runtime enablement. Triggers: lossless-claw, LCM, OpenClaw context engine, summary DAG, lcm-tui, lcm_expand_query.
3memory-lancedb-pro-use
Use this skill when installing, configuring, operating, or troubleshooting the memory-lancedb-pro plugin for OpenClaw. It covers hybrid retrieval (vector + BM25), cross-encoder reranking, smart extraction, multi-scope isolation, lifecycle controls, and the memory-pro CLI workflow. Triggers: memory-lancedb-pro, OpenClaw memory plugin, memory-pro CLI, hybrid retrieval, BM25, reranker, session memory.
2