← 返回 Skills 市场
bytesagain3

Deploy Tool

作者 bytesagain3 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
167
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install deploy-tool
功能描述
The PHP deployment tool with support for popular frameworks out of the box deploy-tool, php, deploy, deployment, php, provision.
使用说明 (SKILL.md)

Deploy Tool

Deploy Tool v2.0.0 — a utility toolkit for logging, tracking, and managing deployment-related entries from the command line.

Commands

All commands accept optional input arguments. Without arguments, they display recent entries from the corresponding log. With arguments, they record a new timestamped entry.

Command Description
run \x3Cinput> Record or view run entries
check \x3Cinput> Record or view check entries
convert \x3Cinput> Record or view convert entries
analyze \x3Cinput> Record or view analyze entries
generate \x3Cinput> Record or view generate entries
preview \x3Cinput> Record or view preview entries
batch \x3Cinput> Record or view batch entries
compare \x3Cinput> Record or view compare entries
export \x3Cinput> Record or view export entries
config \x3Cinput> Record or view config entries
status \x3Cinput> Record or view status entries
report \x3Cinput> Record or view report entries
stats Show summary statistics across all log files
search \x3Cterm> Search all log entries for a keyword (case-insensitive)
recent Display the 20 most recent history log entries
help Show usage information
version Print version (v2.0.0)

Data Storage

All data is stored locally in ~/.local/share/deploy-tool/:

  • Per-command logs — Each command (run, check, convert, etc.) writes to its own .log file with pipe-delimited timestamp|value format.
  • history.log — A unified activity log recording every write operation with timestamps.
  • Export formats — The export utility function supports JSON, CSV, and TXT output, written to ~/.local/share/deploy-tool/export.\x3Cfmt>.

No external services, databases, or API keys are required. Everything is flat-file and human-readable.

Requirements

  • Bash (v4+ recommended)
  • No external dependencies — uses only standard Unix utilities (date, wc, du, tail, grep, sed, basename, cat)

When to Use

  • When you need to log and track deployment-related activities from the command line
  • To maintain a searchable history of deployment operations
  • For batch recording of deployment tasks with timestamps
  • When you want to export deployment logs in JSON, CSV, or TXT format
  • As part of a larger automation pipeline for tracking deployment workflows
  • To get quick statistics and summaries of past deployment activities

Examples

# Record a new run entry
deploy-tool run "deployed v1.2.3 to production"

# View recent run entries (no args = show history)
deploy-tool run

# Check something and log it
deploy-tool check "nginx config validated"

# Analyze and record
deploy-tool analyze "memory usage at 72%"

# Search across all logs
deploy-tool search "production"

# View summary statistics
deploy-tool stats

# Show recent activity across all commands
deploy-tool recent

# Show tool version
deploy-tool version

# Show full help
deploy-tool help

How It Works

Each command follows the same pattern:

  1. With arguments — Timestamps the input, appends it to the command-specific log file, prints confirmation, and logs to history.log.
  2. Without arguments — Shows the last 20 entries from that command's log file.

The stats command iterates all .log files, counts entries per file, and reports totals plus disk usage. The search command performs case-insensitive grep across all log files. The recent command tails the last 20 lines of history.log.


Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This skill appears coherent and local-only, but review these before installing: 1) It will create and write logs under ~/.local/share/deploy-tool — check and backup/remove that directory if needed. 2) Do not enter secrets or credentials into logged entries; all entries are stored in plaintext and exported by the export command. 3) The package provides a Bash script but no automated installer — confirm how the agent will execute or install the script (it may require you to place it on PATH or run it manually). 4) If you need networked deployment capabilities, this tool does not provide them; prefer a different tool that explicitly integrates with your deployment target. If any of the above is unacceptable, do not install or run the script.
功能分析
Type: OpenClaw Skill Name: deploy-tool Version: 2.0.0 The 'deploy-tool' is a simple Bash-based logging utility that records timestamped entries to local flat files in ~/.local/share/deploy-tool/. While the SKILL.md description hyperbolically claims it is a 'PHP deployment tool', the actual implementation in scripts/script.sh is limited to basic text logging, searching, and exporting of activity logs using standard Unix utilities. There are no network calls, credential access, or execution of external payloads.
能力评估
Purpose & Capability
Name/description (PHP deployment/logging tool) align with the provided implementation: a Bash script that records and reads timestamped deployment-related entries. There are no unrelated requirements (no cloud creds, no external binaries).
Instruction Scope
SKILL.md and the script are consistent: all operations are local file reads/writes and simple text processing (grep, tail, wc, du). Note: the tool will record any user-provided text to logs, so logging secrets or sensitive deployment credentials into entries would persist in plain text under the data directory.
Install Mechanism
No install spec (instruction-only) and the included script is a plain Bash file. Nothing is downloaded or executed from external URLs.
Credentials
The skill asks for no environment variables, no credentials, and no config paths. The only side effect is creating/writing files under the user's home directory (~/.local/share/deploy-tool), which is proportional to a local logging tool.
Persistence & Privilege
always:false (normal). The tool persists data by creating files in the user's home directory. This is expected, but users should be aware logs are stored locally and persist until removed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install deploy-tool
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /deploy-tool 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
publish v2.0.0
元数据
Slug deploy-tool
版本 2.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Deploy Tool 是什么?

The PHP deployment tool with support for popular frameworks out of the box deploy-tool, php, deploy, deployment, php, provision. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 167 次。

如何安装 Deploy Tool?

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

Deploy Tool 是免费的吗?

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

Deploy Tool 支持哪些平台?

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

谁开发了 Deploy Tool?

由 bytesagain3(@bytesagain3)开发并维护,当前版本 v2.0.0。

💬 留言讨论