← 返回 Skills 市场
bytesagain-lab

Dockerlabs

作者 bytesagain-lab · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
182
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install dockerlabs
功能描述
Learn Docker hands-on with tutorials on containers and orchestration. Use when studying Docker, practicing networking, exploring swarm mode.
使用说明 (SKILL.md)

Dockerlabs

Devtools toolkit for Docker-related workflows — check, validate, generate, format, lint, explain, convert, template, diff, preview, fix, and report on Docker configurations. All entries are logged locally with timestamps for full traceability.

Commands

Command Description
dockerlabs check \x3Cinput> Check a Docker configuration or record a check entry
dockerlabs validate \x3Cinput> Validate a Docker setup or record a validation entry
dockerlabs generate \x3Cinput> Generate Docker artifacts or record a generation entry
dockerlabs format \x3Cinput> Format Docker files or record a format entry
dockerlabs lint \x3Cinput> Lint Dockerfiles or record a lint entry
dockerlabs explain \x3Cinput> Explain Docker concepts or record an explanation entry
dockerlabs convert \x3Cinput> Convert Docker configurations or record a conversion entry
dockerlabs template \x3Cinput> Manage Docker templates or record a template entry
dockerlabs diff \x3Cinput> Diff Docker configurations or record a diff entry
dockerlabs preview \x3Cinput> Preview Docker setups or record a preview entry
dockerlabs fix \x3Cinput> Fix Docker issues or record a fix entry
dockerlabs report \x3Cinput> Generate reports or record a report entry
dockerlabs stats Show summary statistics across all entry types
dockerlabs export \x3Cfmt> Export all data (json, csv, or txt)
dockerlabs search \x3Cterm> Search across all log entries
dockerlabs recent Show the 20 most recent activity entries
dockerlabs status Health check — version, data dir, entry count, disk usage
dockerlabs help Show help with all available commands
dockerlabs version Show current version (v2.0.0)

Each command (check, validate, generate, format, lint, explain, convert, template, diff, preview, fix, report) works in two modes:

  • No arguments: displays the 20 most recent entries from that command's log
  • With arguments: records the input with a timestamp and appends to the command's log file

Data Storage

All data is stored locally at ~/.local/share/dockerlabs/. Each action is logged to its own file (e.g., check.log, lint.log, generate.log). A unified history.log tracks all operations. Use export to back up your data anytime in JSON, CSV, or plain text format.

Requirements

  • bash 4+ (uses set -euo pipefail)
  • Standard Unix utilities (wc, du, grep, tail, sed, date)

When to Use

  • Tracking Docker configuration checks, validations, and linting results
  • Logging Docker file generation, conversion, and formatting operations
  • Keeping an audit trail of Docker troubleshooting and fixes
  • Exporting Docker operation history for reporting or compliance
  • Searching past Docker operations by keyword

Examples

# Record a Dockerfile lint result
dockerlabs lint "Dockerfile uses latest tag — pin to specific version"

# Record a validation check
dockerlabs validate "docker-compose.yml syntax OK, 3 services defined"

# Generate a template entry
dockerlabs generate "multi-stage build for Node.js app"

# View recent lint entries
dockerlabs lint

# Search for entries mentioning "nginx"
dockerlabs search nginx

# Export all data as JSON
dockerlabs export json

# Check overall health
dockerlabs status

# View summary stats
dockerlabs stats

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

安全使用建议
This skill appears to be a local logging/utility tool and not malicious, but review a few points before installing or running it: 1) Metadata mismatches: SKILL.md lists runtime: python3 and a Requirement for bash 4+, while the included executable is a Bash script — the script is the real runtime. 2) Local file writes: the tool creates and appends logs under ~/.local/share/dockerlabs; exported files (json/csv/txt) will contain those entries. Avoid recording sensitive secrets into the logs, and inspect existing files if you are concerned. 3) No network/credential use was found, but you should still review scripts/script.sh yourself (or run it in a sandbox) before invoking. 4) The registry lists no homepage; the SKILL.md advertises BytesAgain and an email address — if provenance matters, verify the author (bytesagain.com) before trusting long-term use. 5) There is a minor bug risk (the JSON export uses a literal "\n]" append which may produce invalid JSON) — test exports if you rely on them. If you want higher assurance, run the tool in a disposable container or VM and inspect the created files and behavior.
功能分析
Type: OpenClaw Skill Name: dockerlabs Version: 2.0.0 The Dockerlabs skill is a simple bash-based logging utility designed to record and track Docker-related activities in local log files located at ~/.local/share/dockerlabs/. While the command names (e.g., lint, validate, fix) suggest active analysis, the script (scripts/script.sh) only performs basic text appending, searching, and exporting of user-provided strings. There is no evidence of network activity, credential theft, or unauthorized command execution.
能力评估
Purpose & Capability
The skill's name/description describe a local Docker learning/logging toolkit, and the included script implements that behavior (local logs under ~/.local/share/dockerlabs). However there is a metadata mismatch: SKILL.md lists runtime: python3 and a Requirements line (bash 4+ and standard Unix utilities), while the shipped executable is a Bash script. Registry metadata earlier showed no required binaries — this is inconsistent but likely sloppy metadata rather than malicious.
Instruction Scope
SKILL.md and scripts instruct only local operations: recording entries, searching logs, exporting to JSON/CSV/TXT, and reporting status. The runtime instructions and the script stay within the stated purpose and only read/write files under the user's home data directory. There are no instructions to read unrelated system files or send data externally.
Install Mechanism
There is no install spec (instruction-only), which is low risk. A code file (scripts/script.sh) is included; running it will create and modify files under ~/.local/share/dockerlabs. This is expected, but users should be aware the skill includes executable shell code that will run locally if invoked.
Credentials
The skill requests no environment variables or credentials. The script uses $HOME to place logs under ~/.local/share/dockerlabs — this is proportional to its purpose. There are no requests for unrelated secrets, cloud keys, or config paths.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges. It only writes to its own data directory and does not modify other skills or system-wide configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dockerlabs
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dockerlabs 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
publish v2.0.0
元数据
Slug dockerlabs
版本 2.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Dockerlabs 是什么?

Learn Docker hands-on with tutorials on containers and orchestration. Use when studying Docker, practicing networking, exploring swarm mode. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 182 次。

如何安装 Dockerlabs?

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

Dockerlabs 是免费的吗?

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

Dockerlabs 支持哪些平台?

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

谁开发了 Dockerlabs?

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

💬 留言讨论