← 返回 Skills 市场
hirofumiko

Cli Tool Template

作者 HiroFumiko · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
272
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install fumi-cli-tool-template
功能描述
コマンドラインツール(CLI)開発のためのOpenClawワークスペース設定テンプレート。CLI UX、ドキュメント優先、テスト駆動開発の原則。
使用说明 (SKILL.md)

CLIツール開発テンプレート

コマンドラインツール(CLI)開発のためのOpenClawワークスペース設定テンプレート。

含まれるテンプレート

1. SOUL.md - CLIツール開発エージェントの本質

CLI UX、ドキュメント優先、テスト駆動開発の原則。

2. IDENTITY.md - CLIツール開発エージェントのアイデンティティ

名前: CLIBot 種類: CLI開発アシスタント バイブ: 実用的、効率的、ユーザー中心 絵文字: ⚙️

3. AGENTS.md - CLIツール開発ワークスペースのルール

コード構造、引数の設計、エラーハンドリングのルール。

4. USER.md - ユーザーの情報

好みの言語、ツールチェーン、配布方法。

5. HEARTBEAT.md - 定期チェックの設定

コードレビュー、ドキュメント更新、バグ追跡。

使い方

インストール

clawhub install cli-tool-template

テンプレートの使用

# エージェントのワークスペースを作成
mkdir -p ~/.openclaw/workspace/my-cli-tool

# テンプレートをコピー
cp -r ~/.openclaw/workspace/skills/cli-tool-template/templates/* \
      ~/.openclaw/workspace/my-cli-tool/

# 各ファイルをカスタマイズ
cd ~/.openclaw/workspace/my-cli-tool
# SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md を編集

機能

CLI開発ワークフロー

  1. コマンドの定義
  2. 引数とオプションの設計
  3. 実装
  4. ユニットテスト
  5. 統合テスト
  6. ドキュメント作成
  7. パッケージング
  8. PyPI/npm公開

サポート言語・フレームワーク

  • Python (Click, Typer, Argparse)
  • Node.js (Commander.js, Yargs)
  • Go (Cobra, CLI)
  • Rust (Clap)

ベストプラクティス

  • ヘルプメッセージの明確化
  • 進捗表示の実装
  • カラーコードの使用
  • テーブル出力のサポート
  • 設定ファイルの管理
  • エラーメッセージの明確化

ドキュメント

  • README.md(インストール、使用例)
  • USAGE.md(コマンドリファレンス)
  • CONTRIBUTING.md(開発ガイド)
  • CHANGELOG.md(変更履歴)

サンプルエージェント

例1: DevOps自動化ツール

名前: DevOpsBot 目的: DevOpsタスクの自動化(デプロイ、監視、バックアップ) トーン: 効率的、信頼性重視、自動化第一

SOUL.md:

  • CLI UX over 複雑なUI
  • ドキュメント優先
  • テスト駆動開発

IDENTITY.md:

  • 名前: DevOpsBot
  • 種類: DevOps自動化アシスタント
  • バイブ: 効率的、信頼性重視、自動化第一
  • 絵文字: ⚙️

例2: システム管理ツール

名前: SysAdminBot 目的: システム管理とモニタリング トーン: 実用的、詳細、信頼性重視

SOUL.md:

  • ユーザー体験の優先
  • 明確なエラーメッセージ
  • 再現性のある動作

IDENTITY.md:

  • 名前: SysAdminBot
  • 種類: システム管理アシスタント
  • バイブ: 実用的、詳細、信頼性重視
  • 絵文字: 🔧

価格

  • 単一テンプレート: $5
  • CLIツール開発パック: $15
  • 完全バンドル(エージェントスターターキット + CLIツール): $30

サポート

質問やフィードバックは、Discordコミュニティで!


今すぐCLIツールを開発しましょう! ⚙️

安全使用建议
This skill appears to be a legitimate CLI-workspace template and does not request credentials or install code. However: 1) review AGENTS.md and HEARTBEAT.md—they instruct the agent to read memory/YYYY-MM-DD.md and MEMORY.md and to act proactively ("Don't ask permission. Just do it."). That behavior can expose sensitive local context. 2) Before installing, inspect any existing memory files and remove secrets; consider installing into an isolated workspace rather than your main ~/.openclaw/workspace. 3) If you want to limit autonomous actions, keep model invocation disabled for this skill or adjust agent policies so the skill asks before reading/writing MEMORY.md or running tests/publish actions. 4) Because the skill is instruction-only, nothing is downloaded, but you should still audit templates to ensure they match your privacy and operational expectations.
功能分析
Type: OpenClaw Skill Name: fumi-cli-tool-template Version: 1.0.0 The bundle is a comprehensive workspace template for CLI tool development, providing structured markdown files (SOUL.md, IDENTITY.md, AGENTS.md, etc.) to guide an AI agent's behavior. It promotes best practices such as test-driven development, documentation-first workflows, and clear error handling. The instructions in AGENTS.md explicitly include safety guidelines against data exfiltration and unauthorized system changes, and no malicious code, obfuscation, or harmful prompt injections were found.
能力评估
Purpose & Capability
Name/description (CLI template) match the files and templates provided. Templates and examples (SOUL/IDENTITY/AGENTS/USER/HEARTBEAT) are consistent with a workspace scaffolding for CLI development. Sample agents (DevOpsBot, SysAdminBot) are plausible examples for this template.
Instruction Scope
SKILL.md / templates explicitly instruct agents to read memory files (memory/YYYY-MM-DD.md and MEMORY.md) at session start, to perform heartbeats that run tests and checks, and include the line "Don't ask permission. Just do it." Those directives grant broad discretion to read/write workspace state and act proactively — reasonable for a workspace assistant but risky because memory files can contain sensitive context. The skill does not request credentials, but it does instruct the agent to access local files and run background checks without requiring explicit user consent each time.
Install Mechanism
Instruction-only skill with no install spec and no code files — lowest install risk. Usage instructions copy templates from the skill folder into the user's workspace; nothing is downloaded from external URLs.
Credentials
No required environment variables, binaries, or config paths are declared. The templates reference only the workspace (e.g., ~/.openclaw/workspace) and not external credentials. That is proportionate to a template.
Persistence & Privilege
always:false and no explicit persistence in manifest (good), but the instructions encourage autonomous background activity (heartbeats, proactive checks) and reading/updating MEMORY.md. Combined with normal platform autonomous invocation, this gives the skill operational autonomy over local workspace files. This is not inherently malicious but increases risk if memory files contain secrets or if you don't want the agent acting without prompts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install fumi-cli-tool-template
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /fumi-cli-tool-template 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the CLI tool development template. - Provides an OpenClaw workspace setup template focused on CLI tool development. - Includes templates for agent essentials, identity, rules, user info, and periodic checks. - Emphasizes best practices: clear help messages, error handling, documentation, and test-driven development. - Supports multiple languages and frameworks: Python, Node.js, Go, Rust. - Comes with sample agent profiles for common CLI tools. - Documentation for installation, usage, contributing, and changelog included.
元数据
Slug fumi-cli-tool-template
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Cli Tool Template 是什么?

コマンドラインツール(CLI)開発のためのOpenClawワークスペース設定テンプレート。CLI UX、ドキュメント優先、テスト駆動開発の原則。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 272 次。

如何安装 Cli Tool Template?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install fumi-cli-tool-template」即可一键安装,无需额外配置。

Cli Tool Template 是免费的吗?

是的,Cli Tool Template 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cli Tool Template 支持哪些平台?

Cli Tool Template 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cli Tool Template?

由 HiroFumiko(@hirofumiko)开发并维护,当前版本 v1.0.0。

💬 留言讨论