← Back to Leaderboard
Okdcokenny

kdcokenny/ocx

A TypeScript CLI for portable OpenCode profiles and editable registry components.

Engineering Health (Methodology)
B+ · 69/100
Maintenance Activity
● Updated 2mo ago
Latest Release
v2.0.15
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance20/35
Fork Adoption12/25
Release Cadence17/20
License Clarity20/20
CLI
Total Stars
★ 982
24h Growth
+0
7d Growth
+0
Forks
45

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

kdcokenny/ocx Star History (2026-01-01 - 2026-12-03) ALL-TIME STAR HISTORY (2026-01 – 2026-12) +981 in 336d · avg +3/day 1k 519 0 2026-01-01: ★ 12026-01-24: ★ 952026-02-14: ★ 2392026-03-07: ★ 3422026-03-28: ★ 4602026-04-18: ★ 5862026-05-09: ★ 6502026-05-30: ★ 7302026-06-20: ★ 7842026-07-11: ★ 8302026-08-01: ★ 8702026-08-22: ★ 9042026-09-12: ★ 9342026-10-03: ★ 9552026-10-24: ★ 9712026-11-14: ★ 9792026-12-03: ★ 982 ★ 982 2026-01 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

OCX is a TypeScript CLI that manages configuration files around OpenCode rather than replacing its runtime. Each profile is an ordinary directory under ~/.config/ocx/profiles/, or $XDG_CONFIG_HOME/ocx/profiles/ when set. ocx profile use work selects a default; ocx oc -p personal overrides it for a single launch. OpenCode then loads the selected configuration, instructions, agents, and skills.

Registry installation copies component files into a profile or a project's .opencode/ directory. OCX records ownership for updates and removal, while installed files remain directly editable. The source preview builds from packages/cli and runs via bun packages/cli/dist/index.js. The integration shown here is a local CLI and file workflow, not an MCP server or a model-serving layer.

Key Capabilities & Differentiators

OCX separates reusable personal or work configurations from project-scoped extensions. ocx profile add personal --clone work creates a new profile from an existing one. A project can initialize its own scope with ocx init --project and install a named component from a configured registry with ocx add team/review --project. The registry workflow covers agents, skills, and commands, and teams can publish their own registries.

The maintenance workflow is as important as installation: ocx update --all --project --dry-run previews updates before applying them, and ocx verify --project checks installed file hashes. Ownership tracking supports managing files that remain editable after installation. For V1 users, ocx migrate previews an import into a named profile without changing the source. These are configuration and extension-management capabilities; OCX does not add a model backend.

Trade-offs & Limitations

Compared with editing OpenCode configuration directly, OCX adds useful structure when multiple profiles or shared components need ongoing maintenance. Direct editing remains simpler for a single setup: there is no additional CLI version, registry setup, or managed-file ownership to track. OCX preserves the ability to edit installed files, but local edits make it important to review update previews rather than assume registry changes can be applied unattended.

Profile isolation separates configurations; it is not a security sandbox for installed extensions. Registry provenance still matters, and hash verification checks file integrity rather than whether a component is safe to use. The compatibility split is another adoption cost: OCX 3 is a V2 preview, and migrating V1 setups with plugins calls for reviewing the retirement notes and native alternatives rather than assuming parity. OCX is MIT-licensed; check registry components' licenses separately.

Hardware & Deployment Guide

For an OpenCode V1 installation, select OCX 2.0.15 explicitly with npm install -g ocx@2.0.15. The 2.0.15 release also provides a macOS/Linux install script and downloadable binaries with SHA256 checksums. The 3.0.0-alpha.1 prerelease is available through npm install -g ocx@next across platforms, including Windows. OCX 3 targets OpenCode 2.0.3 or later within the V2 series.

To evaluate the preview from source, install Bun and OpenCode V2, run bun install --frozen-lockfile and bun run --cwd packages/cli build, then invoke bun packages/cli/dist/index.js. Profile management runs locally; fetching components depends on access to the configured registry. There is no separate database, container stack, or GPU prerequisite in the installation path. Inference capacity should be sized for the chosen OpenCode workload, not for OCX.

Profile storage: Plain directories under ~/.config/ocx/profiles/ or $XDG_CONFIG_HOME/ocx/profiles/.
Session selection: Set a default with ocx profile use work or override it with ocx oc -p personal.
Install scope: Copy registry components into project .opencode/ with --project or target a named profile with --profile work.
Update review: Use ocx update --all --project --dry-run to preview changes and ocx verify --project to check file hashes.
Migration: Preview a V1 import into a new profile without modifying the source profile.
Versioning: OCX 2.0.15 remains the OpenCode V1 path; OCX 3 alpha targets OpenCode 2.0.3 or later within V2.
Best For

OpenCode users who switch among work, personal, and review profiles, or teams distributing editable components that need reviewable updates.

Skip If

You have one stable native configuration, need runtime isolation for untrusted extensions, or expect OCX 3 to work with OpenCode V1.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
bun install --frozen-lockfile
bun run --cwd packages/cli build
alias ocx="bun \"$PWD/packages/cli/dist/index.js\""

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
ocx ★982—TypeScriptMITA TypeScript CLI for portable OpenCode profiles and editable registry components
obsidian-skills56.2k+1.7kShellMITAgent Skills plugins for editing Obsidian files and working with vaults
rtk88.7k+684RustApache-2.0A local Rust CLI wrapper that trims command output before coding agents read it.
oh-my-claudecode41.2k+108TypeScriptMITTeam-first orchestration for Claude Code, from parallel execution to verificatio

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/kdcokenny/ocx.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

kdcokenny/ocx Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about ocx

How does OCX integrate with OpenCode at launch?

Create a profile with ocx profile add work, select it with ocx profile use work, and launch OpenCode with ocx oc. Use ocx oc -p personal to select a different profile for one session. OpenCode loads the selected configuration and extensions; OCX handles profile selection and file management.

Does OCX add GPU, VRAM, or server requirements?

OCX is a TypeScript CLI, and the source preview uses Bun. No dedicated GPU or VRAM requirement is specified for OCX. Its profile and registry operations are separate from model inference; size the OpenCode workload and any model runtime independently.

Can a company use OCX internally and publish its own registry?

OCX is MIT-licensed, which permits commercial use and distribution subject to the license's notice requirements. Profiles live on the local filesystem, and organizations can publish their own registries. The OCX license does not automatically cover third-party components installed from those registries.

When is OCX preferable to managing OpenCode configuration directly?

Use native OpenCode configuration directly when you maintain one setup and rarely share or update extensions. OCX is more useful when you switch among profiles, distribute components through a registry, or need to preview updates and verify installed files. If you're still on OpenCode V1, use OCX 2.0.15 rather than the OCX 3 preview.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining kdcokenny/ocx? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature kdcokenny/ocx on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare