agent-cli
Add agent-friendly --json NDJSON output to Python CLI scripts, or scaffold a complete cli_utils package for a project. Use this skill when the user wants to make scripts machine-readable for AI agents, add --json flags, convert print statements to structured JSON, build a CLI helper library, create an open-source CLI-for-agents package, add structured logging, or make CLI output machine-readable. Also use when the user mentions NDJSON, structured CLI output, agent-friendly CLI, non-interactive scripts, or JSON I/O for automation.
适合你,如果你在开发 Python 命令行工具,想让输出能被其他程序或 AI 代理解析。
/ 通过 npx 安装 校验哈希
npx oh-my-skill add glebis/claude-skills/agent-cli/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- glebis/claude-skills/agent-cli/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify glebis/claude-skills/agent-cli安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
330GitHub stars
~2.6K最小装载
~5.1K含声明引用
~5.7K文本包总量
索引托管
怎么用
商店整理自技能原文 · 版本 2482fd1 · 表述以原文为准它做什么
装上后,Claude能帮你把Python脚本的输出改成机器可读的NDJSON格式,或为项目搭建一个完整的cli_utils工具包。
什么时候触发
当用户想让脚本支持--json参数、让CLI输出结构化数据、或需要创建可发布的CLI工具包时触发。
装好后可以这样说
Claude会扫描并替换print语句。
会搭建项目结构、测试和CI。
转换输出为NDJSON事件。
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…