opcode

作者 winfunc

A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.

22,388
Stars
1,729
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/winfunc/opcode

快速入门

使用 opcode 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

457013521-6133a738-d0cb-4d3e-8746-c6768c82672c

https://github.com/user-attachments/assets/6bceea0f-60b6-4c3e-a745-b891de00b8d0

[!TIP] ⭐ Star the repo and follow @getAsterisk on X for early access to asteria-swe-v0.

[!NOTE] This project is not affiliated with, endorsed by, or sponsored by Anthropic. Claude is a trademark of Anthropic, PBC. This is an independent developer project using Claude.

🌟 Overview

opcode is a powerful desktop application that transforms how you interact with Claude Code. Built with Tauri 2, it provides a beautiful GUI for managing your Claude Code sessions, creating custom agents, tracking usage, and much more.

Think of opcode as your command center for Claude Code - bridging the gap between the command-line tool and a visual experience that makes AI-assisted development more intuitive and productive.

📋 Table of Contents

🗂️ Project & Session Management

🤖 CC Agents

📊 Usage Analytics Dashboard

🔌 MCP Server Management

⏰ Timeline & Checkpoints

📝 CLAUDE.md Management

✨ Features

🗂️ Project & Session Management

  • Visual Project Browser: Navigate through all your Claude Code projects in ~/.claude/projects/

  • Session History: View and resume past coding sessions with full context

  • Smart Search: Find projects and sessions quickly with built-in search

  • Session Insights: See first messages, timestamps, and session metadata at a glance

🤖 CC Agents

  • Custom AI Agents: Create specialized agents with custom system prompts and behaviors

  • Agent Library: Build a collection of purpose-built agents for different tasks

  • Background Execution: Run agents in separate processes for non-blocking operations

  • Execution History: Track all agent runs with detailed logs and performance metrics

📊 Usage Analytics Dashboard

  • Cost Tracking: Monitor your Claude API usage and costs in real-time

  • Token Analytics: Detailed breakdown by model, project, and time period

  • Visual Charts: Beautiful charts showing usage trends and patterns

  • Export Data: Export usage data for accounting and analysis

🔌 MCP Server Management

  • Server Registry: Manage Model Context Protocol servers from a central UI

  • Easy Configuration: Add servers via UI or import from existing configs

  • Connection Testing: Verify server connectivity before use

  • Claude Desktop Import: Import server configurations from Claude Desktop

Timeline & Checkpoints

  • Session Versioning: Create checkpoints at any point in your coding session

  • Visual Timeline: Navigate through your session history with a branching timeline

  • Instant Restore: Jump back to any checkpoint with one click

  • Fork Sessions: Create new branches from existing checkpoints

  • Diff Viewer: See exactly what changed between checkpoints

📝 CLAUDE.md Management

  • Built-in Editor: Edit CLAUDE.md files directly within the app

  • Live Preview: See your markdown rendered in real-time

  • Project Scanner: Find all CLAUDE.md files in your projects

  • Syntax Highlighting: Full markdown support with syntax highlighting

📖 Usage

Getting Started

  • Launch opcode: Open the application after installation

  • Welcome Screen: Choose between CC Agents or Projects

  • First Time Setup: opcode will automatically detect your ~/.claude directory

Managing Projects

Projects → Select Project → View Sessions → Resume or Start New
  • Click on any project to view its sessions

  • Each session shows the first message and timestamp

  • Resume sessions directly or start new ones

Creating Agents

CC Agents → Create Agent → Configure → Execute
  • Design Your Agent: Set name, icon, and system prompt

  • Configure Model: Choose between available Claude models

  • Set Permissions: Configure file read/write and network access

  • Execute Tasks: Run your agent on any project

Tracking Usage

Menu → Usage Dashboard → View Analytics
  • Monitor costs by model, project, and date

  • Export data for reports

  • Set up usage alerts (coming soon)

Working with MCP Servers

Menu → MCP Manager → Add Server → Configure
  • Add servers manually or via JSON

  • Import from Claude Desktop configuration

  • Test connections before using

🚀 Installation

Prerequisites

Release Executables Will Be Published Soon

🔨 Build from Source

Prerequisites

Before building opcode from source, ensure you have the following installed:

System Requirements

  • Operating System: Windows 10/11, macOS 11+, or Linux (Ubuntu 20.04+)

  • RAM: Minimum 4GB (8GB recommended)

  • Storage: At least 1GB free space

Required Tools

Rust (1.70.0 or later)

# Install via rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Bun (latest version)

# Install bun
curl -fsSL https://bun.sh/install | bash

Git

# Usually pre-installed, but if not:
# Ubuntu/Debian: sudo apt install git
# macOS: brew install git
# Windows: Download from https://git-scm.com

Claude Code CLI

Platform-Specific Dependencies

Linux (Ubuntu/Debian)

# Install system dependencies
sudo apt update
sudo apt install -y \
  libwebkit2gtk-4.1-dev \
  libgtk-3-dev \
  libayatana-appindicator3-dev \
  librsvg2-dev \
  patchelf \
  build-essential \
  curl \
  wget \
  file \
  libssl-dev \
  libxdo-dev \
  libsoup-3.0-dev \
  libjavascriptcoregtk-4.1-dev

macOS

# Install Xcode Command Line Tools
xcode-select --install

# Install additional dependencies via Homebrew (optional)
brew install pkg-config

Windows

Build Steps

Clone the Repository

git clone https://github.com/getAsterisk/opcode.git
cd opcode

Install Frontend Dependencies

bun install

Build the Application

For Development (with hot reload)

bun run tauri dev

For Production Build

# Build the application
bun run tauri build

# The built executable will be in:
# - Linux: src-tauri/target/release/
# - macOS: src-tauri/target/release/
# - Windows: src-tauri/target/release/

Platform-Specific Build Options

Debug Build (faster compilation, larger binary)

bun run tauri build --debug

Universal Binary for macOS (Intel + Apple Silicon)

bun run tauri build --target universal-apple-darwin

Troubleshooting

Common Issues

"cargo not found" error

  • Ensure Rust is installed and ~/.cargo/bin is in your PATH

  • Run source ~/.cargo/env or restart your terminal

Linux: "webkit2gtk not found" error

  • Install the webkit2gtk development packages listed above

  • On newer Ubuntu versions, you might need libwebkit2gtk-4.0-dev

Windows: "MSVC not found" error

  • Install Visual Studio Build Tools with C++ support

  • Restart your terminal after installation

"claude command not found" error

  • Ensure Claude Code CLI is installed and in your PATH

  • Test with claude --version

Build fails with "out of memory"

  • Try building with fewer parallel jobs: cargo build -j 2

  • Close other applications to free up RAM

Verify Your Build

After building, you can verify the application works:

# Run the built executable directly
# Linux/macOS
./src-tauri/target/release/opcode

# Windows
./src-tauri/target/release/opcode.exe

Build Artifacts

The

常见问题

What is opcode?

opcode is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by winfunc. A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more. It has 22,388 GitHub stars.

Is opcode safe to use?

opcode returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install opcode?

Clone the repository with "git clone https://github.com/winfunc/opcode" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is opcode written in?

opcode is primarily written in TypeScript. It is open-source under winfunc on GitHub, so you can review or fork the full source.

Are there alternatives to opcode?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh opcode against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情