@lousy-agents/cli

中文文档
5.22.24发布于 2026/11/02BSD-2-Clause-PatentES Module构建来源已验证

CLI scaffolding tool that sets up projects with structure, instructions, and feedback loops for AI coding assistants

原始使用文档
文档目录3 节
  1. Quick Start
  2. Documentation
  3. Reference Examples

@lousy-agents/cli

CLI scaffolding for Lousy Agents.

Use this package to bootstrap new projects with testing, linting, AI assistant instructions, and GitHub Copilot setup.

Quick Start

npx @lousy-agents/cli init

Common follow-up commands:

# Generate Copilot setup workflow in an existing repository
npx @lousy-agents/cli copilot-setup

# Create new resources such as custom agents
npx @lousy-agents/cli new

# Validate skills, agents, and instruction files
npx @lousy-agents/cli lint

# Diagnose multi-harness agentic configuration
npx @lousy-agents/cli doctor
npx @lousy-agents/cli doctor --format json --ci

Documentation

Reference Examples

版本与发布记录

@lousy-agents/cli 共发布 205 个版本,首次发布于 2026/01/26;过去 12 个月发布了 205 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
5.22.24latest2026/11/021 天前
5.22.232026/11/012 天前
5.22.222026/10/313 天前
5.22.212026/10/313 天前
5.22.202026/10/303 天前
5.22.192026/10/304 天前

关于 @lousy-agents/cli 的常见问题

@lousy-agents/cli 是什么?

CLI脚手架工具,为AI编码助手设置具有结构,指令和反馈循环的项目

如何安装 @lousy-agents/cli?

在项目目录运行 npm install @lousy-agents/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 cli、lousy-agents,可以用 npx cli 直接运行。

@lousy-agents/cli 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/lousy-agents__cli 是否存在。

@lousy-agents/cli 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@lousy-agents/cli 可以商用吗?

@lousy-agents/cli 使用 BSD-2-Clause-Patent 许可。声明的许可为 BSD-2-Clause-Patent,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@lousy-agents/cli 还在维护吗?

最新版本 5.22.24 发布于 2026/11/02(1 天前);至今共发布 205 个版本,其中过去 12 个月发布了 205 个;首次发布于 2026/01/26。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。