https://github.com/nikiforovall/lazyopencode
A lazygit-style TUI for visualizing OpenCode customizations.
https://github.com/nikiforovall/lazyopencode
opencode tui
Last synced: 18 days ago
JSON representation
A lazygit-style TUI for visualizing OpenCode customizations.
- Host: GitHub
- URL: https://github.com/nikiforovall/lazyopencode
- Owner: NikiforovAll
- License: mit
- Created: 2025-12-29T20:35:13.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-01-23T11:32:49.000Z (about 1 month ago)
- Last Synced: 2026-01-24T04:20:52.091Z (about 1 month ago)
- Topics: opencode, tui
- Language: Python
- Size: 1.16 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# 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
```bash
uvx lazyopencode
```
Or install with pip:
```bash
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/`:
```bash
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](https://github.com/NikiforovAll/lazyclaude) - Similar TUI for Claude Code
- [Lazygit](https://github.com/jesseduffield/lazygit) - Keyboard-driven Git TUI
- [OpenCode](https://opencode.ai) - AI coding agent
## Development
```bash
# 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