Skip to content

🀯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

3.4 KB
Raw Blame

Skill & Plugin Commands

Skill Management (lh skill)

Manage agent skills (custom instructions and capabilities).

Source: apps/cli/src/commands/skill.ts

lh skill list

lh skill list [--source <source>] [--json [fields]]
Option Description
--source <source> Filter: builtin, market, user

Table columns: ID, NAME, DESCRIPTION, SOURCE, IDENTIFIER

lh skill view <id>

lh skill view <id> [--json [fields]]

Displays: Name, description, source, identifier, content.

lh skill create

lh skill create -n <name> -d <desc> -c <content> [-i <id>]
Option Description Required
-n, --name <name> Skill name Yes
-d, --description <desc> Description Yes
-c, --content <content> Skill content (prompt/instructions) Yes
-i, --identifier <id> Custom identifier No

lh skill edit <id>

Requires at least one of -c/-n/-d; errors if none specified.

lh skill edit <id> [-n <name>] [-d <desc>] [-c <content>]

lh skill delete <id>

lh skill delete <id> [--yes]

lh skill search <query>

lh skill search <query> [--json [fields]]

lh skill install <source> (alias: lh skill i)

Install a skill. Auto-detects source type from the input:

# GitHub (URL or owner/repo shorthand)
lh skill install lobehub/skill-repo
lh skill install https://github.com/lobehub/skill-repo
lh skill install lobehub/skill-repo --branch dev

# ZIP URL
lh skill install https://example.com/skill.zip

# Marketplace identifier
lh skill install my-cool-skill
lh skill i my-cool-skill
Option Description Notes
--branch <branch> Branch name (GitHub only) Optional

Detection rules:

  • https://github.com/... or owner/repo β†’ GitHub
  • Other https://... URLs β†’ ZIP URL
  • Everything else β†’ marketplace identifier

Resource Commands

lh skill resources <id>

List files/resources within a skill.

lh skill resources <id> [--json [fields]]

Displays: Path, type, size.

lh skill read-resource <id> <path>

Read a specific resource file from a skill.

lh skill read-resource <id> <path>

Output: File content or JSON metadata.


Legacy Plugin Management (lh legacy-plugin)

List, update and uninstall legacy 1.0 plugins stored in user_installed_plugins. New plugins cannot be created here: add an MCP server with lh connector add --url <url>, and re-sync an existing connection with lh connector refresh <idOrIdentifier>.

Source: apps/cli/src/commands/plugin.ts

lh legacy-plugin list

lh legacy-plugin list [--json [fields]]

Table columns: ID, IDENTIFIER, TYPE, TITLE

lh legacy-plugin uninstall <id>

lh legacy-plugin uninstall <id> [--yes]

lh legacy-plugin update <id>

Requires --manifest or --settings (at least one); errors if neither is specified.

lh legacy-plugin update <id> [--manifest <json>] [--settings <json>]