Cli Anything Seaclip

HKUDS/CLI-Anything/skills/cli-anything-seaclip

作者 HKUDS34f519533bc175d2fe287ab8316b0dd99bb9cc43无许可证70K 个星标收录于 2026年12月4日更新于 2026年12月4日仓库2周前更新

Command-line interface for SeaClip-Lite - A stateless CLI for managing issues, pipelines, agents, schedules, and activity on the SeaClip-Lite project management board.

仅含说明效率与工作流
AI 生成的概览

用于在 SeaClip-Lite 项目管理板上管理问题、流水线、代理、调度和动态的命令行界面。

功能
提供一个无状态命令行工具,通过 HTTP 与 SeaClip-Lite 后端通信,并直接读取 SQLite。命令按组划分:问题(列出、创建、移动、状态、删除)、流水线代理、流水线控制(启动、状态、恢复、停止)、调度配置、活动流和服务器健康检查。输出可为人类可读的表格,也可通过 --json 参数输出结构化 JSON,还支持带补全和历史记录的交互式 REPL 模式。
适用场景
当代理或操作者需要从命令行查询或修改 SeaClip-Lite 项目板状态时使用,例如列出问题、启动或停止流水线、检查后端健康状态。JSON 模式适合脚本化或代理驱动的自动化。
运行要求
需要 Python 3.10+,并通过 pip install -e . 安装;需要运行在 localhost:5200 的 SeaClip-Lite 后端,并能访问其 HTTP API 和 SQLite 数据。不附带脚本,仅提供说明。

AI 概览如何生成和校验

cli-anything-seaclip

A stateless command-line interface for SeaClip-Lite project management. Communicates via HTTP API and direct SQLite reads. No local state or session.

Installation

pip install -e .

Prerequisites:

  • Python 3.10+
  • SeaClip-Lite backend running at localhost:5200

Usage

Basic Commands

# Show help
cli-anything-seaclip --help

# Start interactive REPL mode
cli-anything-seaclip

# Run with JSON output (for agent consumption)
cli-anything-seaclip --json server health
cli-anything-seaclip --json issue list
cli-anything-seaclip --json agent list

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-seaclip
# Enter commands interactively with tab-completion and history

Command Groups

Issue

Issue management commands.

CommandDescription
listList issues (--status, --priority, --search, --limit)
createCreate a new issue (--title, --description, --priority)
moveMove issue to column (ISSUE_ID --column COL)
statusUpdate issue status (ISSUE_ID --set STATUS)
deleteDelete an issue (ISSUE_ID)

Agent

Pipeline agent commands.

CommandDescription
listList all pipeline agents

Pipeline

Pipeline control commands.

CommandDescription
startStart pipeline (--issue UUID --mode auto/manual)
statusGet pipeline status (--issue UUID)
resumeResume paused pipeline (--issue UUID)
stopStop running pipeline (--issue UUID)

Scheduler

Schedule configuration commands.

CommandDescription
listList all schedule configs
addAdd schedule (--name, --cron, --repo)
syncTrigger sync (SCHEDULE_ID)

Activity

Activity feed commands.

CommandDescription
listRecent activity (--limit N)

Server

Server utility commands.

CommandDescription
healthCheck backend health

Output Formats

All commands support dual output modes:

  • Human-readable (default): Tables, colors, formatted text
  • Machine-readable (--json flag): Structured JSON for agent consumption
# Human output
cli-anything-seaclip issue list

# JSON output for agents
cli-anything-seaclip --json issue list

For AI Agents

When using this CLI programmatically:

  1. Always use --json flag for parseable output
  2. Check return codes - 0 for success, non-zero for errors
  3. Parse stderr for error messages on failure
  4. Error responses include {"error": "message"} in JSON mode

Version

1.0.0

来源与署名

来源:HKUDS/CLI-Anything位于skills/cli-anything-seaclip提交34f5195

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

在 README 中添加徽章

向读者展示该技能已收录于 SourceWeft,徽章链接到本页。

“Listed on SourceWeft”徽章预览
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-hkuds-cli-anything-cli-anything-seaclip-skills-cli-anything-seaclip-b53f7888e440d5fa.svg)](https://sourceweft.com/skills/gh-hkuds-cli-anything-cli-anything-seaclip-skills-cli-anything-seaclip-b53f7888e440d5fa?utm_source=readme&utm_medium=badge)

举报或申请下架