skills/ocx-use/SKILL.md
Use this skill when managing OpenCode extensions with OCX (OpenCode eXtensions). This includes installing components from registries, using Ghost Mode for cross-repository development, auditing changes with SHA-256 verification, managing dependencies, configuring registries, or performing component updates and version management. Invoke for tasks involving ocx init, ocx add, ocx update, ocx diff, ocx ghost, or OCX registry operations.
npx skillsauth add olafgeibig/skills ocx-useInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
OCX (OpenCode eXtensions) is the package manager for OpenCode components with auditability and dependency resolution.
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
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/[email protected] # 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
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
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
}
Common Issues:
ocx init first before adding componentsocx registry list--force to overwrite conflicts$EDITOR is set for ocx ghost configFor 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 referencedevelopment
Multi-domain LLM Wiki in vault — build and maintain a federation of interlinked markdown wiki knowledge bases inside your Obsidian vault. Each domain wiki has its own schema, index, and log, linked across boundaries via path-based wikilinks. Use when user wants to use a wiki (create, ingest into, query, lint).
tools
Safe and effective use of TurboVault MCP tools — vault selection, active vault management, read/write/edit_note patterns, SEARCH/REPLACE syntax, search tools, graph tools, batch operations, verification, and troubleshooting. Load this skill whenever a task uses mcp_turbovault_* tools.
testing
--- name: {{BUNDLE_NAME}}-improvements description: "Container for agent-discovered optimizations to the {{BUNDLE_NAME}} bundle — {{SKILL_NAMES}}" metadata: version: "0.3.0" source: https://github.com/olafgeibig/skills hermes: tags: [template, improvement, bundle, profile] related_skills: [{{SKILL_NAMES}}] --- # {{BUNDLE_NAME}} Improvements This skill collects all improvements discovered while working with {{SKILL_LIST}}. Core skills remain untouched. **Profile-specific:** This
testing
--- name: {{BUNDLE_NAME}}-improvements description: "Container for agent-discovered optimizations to the {{BUNDLE_NAME}} bundle — {{SKILL_NAMES}}" metadata: version: "0.3.0" source: https://github.com/olafgeibig/skills hermes: tags: [template, improvement, bundle, profile] related_skills: [{{SKILL_NAMES}}] --- # {{BUNDLE_NAME}} Improvements This skill collects all improvements discovered while working with {{SKILL_LIST}}. Core skills remain untouched. **Profile-specific:** This