# LobeHub CLI Development

Guides development of the LobeHub command-line tool, its commands and architecture.

- Repository: https://github.com/lobehub/lobehub (83676 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add lobehub/lobehub --skill cli -g -a claude-code -y`
Codex: `npx skills add lobehub/lobehub --skill cli -g -a codex -y`
Cursor: `npx skills add lobehub/lobehub --skill cli -g -a cursor -y`
Gemini CLI: `npx skills add lobehub/lobehub --skill cli -g -a gemini-cli -y`

## Description

LobeHub CLI (@lobehub/cli) development guide, commands, subcommands, architecture.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# LobeHub CLI Development Guide

## Overview

LobeHub CLI (`@lobehub/cli`) is a command-line tool for managing and interacting with LobeHub services. Built with Commander.js + TypeScript.

- **Package**: `apps/cli/`
- **Entry**: `apps/cli/src/index.ts`
- **Binaries**: `lh`, `lobe`, `lobehub` (all aliases for the same CLI)
- **Build**: tsup
- **Runtime**: Node.js / Bun

## Architecture

The rest: https://github.com/lobehub/lobehub/blob/HEAD/.agents/skills/cli/SKILL.md
