npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@limecloud/qcloop-skill-cli

v0.6.0

Published

qcloop 技能 JSON CLI,供 AI agent 创建、启动、观察批量 QA loop

Readme

@limecloud/qcloop-skill-cli

qcloop 技能 JSON CLI,面向 Codex / Claude Code / Gemini CLI / Kiro CLI 等 AI agent。它封装本机 qcloop Web/API,让 agent 可以稳定执行:

doctor -> guide -> job create/run -> job wait/status/report -> item answer/retry/cancel -> queue metrics -> template CRUD

默认连接 http://127.0.0.1:3000,可以通过 QCLOOP_BASE_URL--base-url 覆盖。

安装

npm install -g @limecloud/qcloop-skill-cli

也可以临时使用:

npx @limecloud/qcloop-skill-cli doctor

常用命令

qcloop-skill doctor
qcloop-skill guide --full --raw
qcloop-skill job list --limit 20
qcloop-skill job create --file /tmp/qcloop-job.json --run
qcloop-skill job create --file /tmp/qcloop-job.json --cwd "$PWD" --glob "docs/**/*.md" --run
qcloop-skill job create --file /tmp/qcloop-job.json --git-diff HEAD --run
qcloop-skill job wait <job_id> --timeout 1800
qcloop-skill job status <job_id> --include-items
qcloop-skill job report <job_id> --format markdown
qcloop-skill item answer <item_id> --answer "允许继续,但不要提交" --resume
qcloop-skill item retry <item_id>
qcloop-skill item cancel <item_id> --reason "本项暂不处理"
qcloop-skill queue metrics
qcloop-skill template list
qcloop-skill template create --file /tmp/qcloop-template.json
qcloop-skill job run <job_id> --mode retry_unfinished
qcloop-skill job cancel <job_id> --reason "不再需要继续"
qcloop-skill skill list
qcloop-skill api GET /api/jobs

JSON 约定

成功时 stdout 输出:

{
  "ok": true,
  "command": "job status",
  "data": {}
}

失败时 stderr 输出:

{
  "ok": false,
  "error_code": "CONNECTION_FAILED",
  "error_message": "...",
  "retryable": true,
  "hint": "先打开 qcloop 应用..."
}

job status / job wait 会汇总 counts,并展开失败、已耗尽或待确认 item 的最后一次 stderr、verifier feedbackconfirmation_question。如果返回 needs_confirmation=true,外层 AI 应向人类提问,再用 item answer ... --resume 写回答案继续。

局部处理优先用 item retry / item cancel,不要因为一个 item 失败重建整个批次。长跑托管时可定期调用 queue metrics 判断队列是否仍有 active worker、是否存在 stale running。常见批处理配置可用 template list/show/create/update/delete 复用。

job create 除了读取 payload JSON,也支持让 AI 从当前工作区导入文件型 items:

  • --items-dir <dir>:递归导入目录下文件,默认跳过 .gitnode_modulesdist 等目录。
  • --glob "**/*.md":按 glob 导入,可重复传多次。
  • --git-diff HEAD:导入 git diff --name-only HEAD 对应文件。

导入的 item 会保存为结构化 JSON 字符串,包含 nametargetcwdsourceexpected,方便 worker prompt 自动理解上下文。

发布

cd packages/qcloop-skill-cli-npm
npm publish --access public