A lazygit-style TUI for visualizing OpenCode customizations
Project description
LazyOpenCode
A keyboard-driven TUI for managing OpenCode customizations.
Features
- Visual discovery of all OpenCode customizations
- Keyboard-driven navigation (lazygit-inspired)
- View commands, agents, skills, rules, MCPs, and plugins
- Filter by configuration level (global/project)
- Search within customizations
- Claude Code compatibility mode (
--claude-code)
Installation
uvx lazyopencode
Or install with pip:
pip install lazyopencode
Keyboard Shortcuts
| Key | Action |
|---|---|
j / ↓ |
Move down |
k / ↑ |
Move up |
Tab |
Next panel |
[ / ] |
Prev/Next view |
1-7 |
Jump to panel |
a |
All filter |
g |
Global filter |
p |
Project filter |
/ |
Search |
e |
Edit selected |
c |
Copy to level |
C |
Copy path |
r |
Refresh |
ctrl+u |
User Config |
? |
Help |
q |
Quit |
Configuration Paths
LazyOpenCode discovers customizations from:
| Type | Global | Project |
|---|---|---|
| Commands | ~/.config/opencode/command/ |
.opencode/command/ |
| Agents | ~/.config/opencode/agent/ |
.opencode/agent/ |
| Skills | ~/.config/opencode/skill/ |
.opencode/skill/ |
| Rules | ~/.config/opencode/AGENTS.md |
AGENTS.md |
| MCPs | ~/.config/opencode/opencode.json |
opencode.json |
| Tools | ~/.config/opencode/tool/ |
.opencode/tool/ |
| Plugins | ~/.config/opencode/plugin/ |
.opencode/plugin/ |
Claude Code Mode
Enable Claude Code compatibility to also discover customizations from ~/.claude/:
lazyopencode --claude-code
This discovers commands, agents, and skills from:
| Scope | Path |
|---|---|
| User | ~/.claude/commands/, ~/.claude/agents/ |
| Project | .claude/commands/, .claude/agents/ |
| Plugins | Installed plugins from registry |
Claude Code items are marked with 👾 and can be copied to OpenCode paths using c.
Inspired By
- LazyClaude - Similar TUI for Claude Code
- Lazygit - Keyboard-driven Git TUI
- OpenCode - AI coding agent
Development
# Clone and install
git clone https://github.com/yourusername/lazyopencode
cd lazyopencode
uv sync
# Run
uv run lazyopencode
# Run tests
uv run pytest
# Lint and format
uv run ruff check .
uv run ruff format .
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lazyopencode-0.2.3.tar.gz.
File metadata
- Download URL: lazyopencode-0.2.3.tar.gz
- Upload date:
- Size: 820.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af79f88f500cf31856bdda9ae9f7c2d334d250f1e20eb0ac617bdaf9ee3c1119
|
|
| MD5 |
2fcf333c2c7d054db0792408c07dba48
|
|
| BLAKE2b-256 |
ce87ffbd9ad438d9f4853e16e986196b1e54e7de00ca88c8ef0c2cd0aba01408
|
File details
Details for the file lazyopencode-0.2.3-py3-none-any.whl.
File metadata
- Download URL: lazyopencode-0.2.3-py3-none-any.whl
- Upload date:
- Size: 56.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98c3ffc5a1e3581b4bed4ecca7f389027e1ff4f3b29fb1c57abe078b1b7c5dff
|
|
| MD5 |
f6e6fc3c114153398857a70869e86930
|
|
| BLAKE2b-256 |
93052516946db88234f86a6f5f07ae47f212f3ca576ae8f059e42f6b4c1ce3a7
|