con un clic
agent
Manage AI agents: create, edit, delete, list, run, and check status
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Manage AI agents: create, edit, delete, list, run, and check status
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Set up and use 1Password CLI (op). Use when installing the CLI, enabling
Guide for adding new AI function examples, for testing specific features against the actual provider APIs.
Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes for OpenAI, Anthropic, Bedrock, Vertex, Azure, or Gemini model pricing.
Fixes broken typing checks detected by ty, make typing, or make check-repo. Use when typing errors appear in local runs, CI, or PR logs.
Add documentation for a new AI provider — usage docs, env vars, Docker
Guide for adding new AI provider packages to the AI SDK. Use when creating
| name | Agent |
| name_zh | 智能体 |
| description | Manage AI agents: create, edit, delete, list, run, and check status |
| description_zh | 管理AI智能体:创建、编辑、删除、列表、运行和检查状态 |
| category | dev-tools |
| tags | ["ai","backend","cli","frontend","javascript"] |
| source | null |
| language | en |
| needs_review | false |
| slug | agent |
| version | 1.0.0 |
| created | 2026-06-12 |
| updated | 2026-06-12 |
| inputs | [{"name":"request","type":"string","required":true,"description":"User request or task description"}] |
| output | {"format":"markdown","description":"Generated content based on the user request"} |
| author | AI-SKILL |
| license | MIT |
Use this skill when you need guidance on agent.
User request or task description.
Generated content based on the user request.
Follow the guidelines in this skill when working on related tasks.
Manage AI agents: create, edit, delete, list, run, and check status.
Source: apps/cli/src/commands/agent.ts
lh agent listList all agents.
lh agent list [-L [-k [--json [fields]] < n > ] < keyword > ]
| Option | Description | Default |
|---|---|---|
-L, --limit <n> | Maximum items | 30 |
-k, --keyword <keyword> | Filter by keyword | - |
--json [fields] | JSON output with optional field filter | - |
Table columns: ID, TITLE, DESCRIPTION, MODEL
lh agent view <agentId>View agent configuration details.
lh agent view [fields]] < agentId > [--json
Displays: Title, description, model, provider, system role, plugins, tools.
lh agent createCreate a new agent.
lh agent create [options]
| Option | Description | Required |
|---|---|---|
-t, --title <title> | Agent title | No |
-d, --description <desc> | Description | No |
-m, --model <model> | Model ID | No |
-p, --provider <provider> | Provider ID | No |
-s, --system-role <role> | System prompt | No |
--group <groupId> | Agent group ID | No |
Output: Created agent ID and session ID.
lh agent edit <agentId>Update an existing agent. Same options as create, all optional. Only specified fields are updated.
lh agent edit [-m [-s ... < agentId > [-t < title > ] < model > ] < role > ]
lh agent delete <agentId>Delete an agent.
lh agent delete < agentId > [--yes]
Requires confirmation unless --yes is provided.
lh agent duplicate <agentId>Duplicate an existing agent.
lh agent duplicate < agentId > [-t < title > ]
| Option | Description |
|---|---|
-t, --title <title> | Optional new title for the duplicate |
Output: New agent ID.
lh agent runStart an agent execution (streaming SSE).
lh agent run [options]
| Option | Description |
|---|---|
-a, --agent-id <id> | Agent ID to run |
-s, --slug <slug> | Agent slug (alternative to ID) |
-p, --prompt <text> | User prompt |
-t, --topic-id <id> | Reuse existing topic |
--no-auto-start | Don't auto-start the agent |
--json | Output full JSON event stream |
-v, --verbose | Show detailed tool call info |
--replay <file> | Replay events from saved JSON file (offline) |
Uses utils/agentStream.ts to handle Server-Sent Events:
--replay <file> reads a saved JSON event stream for offline debugging without server connection.
lh agent status <operationId>Check agent operation status.
lh agent status [fields]] [--history] [--history-limit < operationId > [--json < n > ]
| Option | Description | Default |
|---|---|---|
--json [fields] | JSON output | - |
--history | Include step history | false |
--history-limit <n> | Max history entries | 10 |
Displays: Status (running/completed/failed), steps count, tokens used, cost, error info, timestamps.
Do not use this skill for tasks outside its scope.
See the skill content above for practical examples.