← 返回 Skills 市场
kklouzal

Docker Encyclopedia

作者 kklouzal · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
93
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install docker-encyclopedia
功能描述
Docker documentation-first workflow for Docker-specific questions, troubleshooting, command planning, image/build work, container/runtime operations, Compose...
使用说明 (SKILL.md)

Docker Encyclopedia

Overview

Use a docs-first workflow for Docker work. Prefer the official Docker documentation at https://docs.docker.com/, consult cached local copies under .Docker-Encyclopedia/ before re-fetching, and record useful official-doc excerpts plus environment-specific operational learnings so future work gets faster and safer.

This skill is for the Docker product/runtime layer. It should trigger for real Docker behavior, configuration, build/runtime, and operational questions — not for generic Linux admin work, generic container theory, or generic orchestration talk where Docker-specific semantics are not the real issue.

Workflow

  1. Classify the task

    • Decide whether the task is a Docker question, troubleshooting task, command-planning task, image/build task, Compose review, runtime review, or live operational task.
    • Use this skill when the request is specifically about Docker product behavior, Docker CLI semantics, Docker build/runtime behavior, Docker Compose behavior, image/container lifecycle, or Docker-specific networking/storage/registry details.
    • Do not use this skill for generic shell work, generic Linux admin, generic OCI/container theory, or Kubernetes questions unless the Docker layer is specifically in play.
  2. Check local cache first

    • Use .Docker-Encyclopedia/ as the local knowledge/cache root.
    • Check these locations first when relevant:
      • .Docker-Encyclopedia/docs/docs.docker.com/...
      • .Docker-Encyclopedia/notes/components/...
      • .Docker-Encyclopedia/notes/patterns/...
      • .Docker-Encyclopedia/inventory/...
    • If a cached page or note already answers the question well enough, use it.
  3. Consult official Docker docs before answering or touching the system

    • Before answering direct or indirect Docker questions that depend on command syntax, feature boundaries, configuration semantics, builder/runtime behavior, storage/network semantics, or version-sensitive details, consult the official docs unless the answer is already well-supported by the local cache.
    • Before performing direct Docker CLI or configuration work, consult the relevant docs first when:
      • the exact command path matters
      • build/runtime semantics are easy to misremember
      • the action could affect running containers, images, volumes, networks, registries, credentials, or host reachability
    • Do not improvise high-impact Docker commands or config changes from memory when the docs are easy to check.
  4. Cache consulted docs locally

    • When you consult a Docker docs page, save a normalized markdown/text cache copy under .Docker-Encyclopedia/docs/docs.docker.com/....
    • Mirror the official docs path structure as much as practical.
    • Cache only pages actually consulted; do not try to mirror the whole docs site eagerly.
    • Use scripts/cache_doc.py when appropriate.
  5. Separate official documentation from local observations

    • Store official-doc-derived material under .Docker-Encyclopedia/docs/....
    • Store environment-specific operational knowledge under:
      • .Docker-Encyclopedia/notes/components/
      • .Docker-Encyclopedia/notes/patterns/
      • .Docker-Encyclopedia/inventory/
    • Distinguish clearly between:
      • official documented behavior
      • observed local configuration/state
      • inferred best-practice guidance
  6. Record useful local learnings

    • After useful live work, save durable notes such as:
      • host-specific Docker layout and runtime conventions
      • recurring build/runtime/debugging patterns
      • image/registry/credential-helper gotchas
      • Compose/deployment conventions
      • safe/unsafe operational boundaries for the environment
    • Prefer concise durable notes over re-learning the same Docker details later.

Live Work Rules

  • Treat official Docker docs lookup as the default preflight for non-trivial Docker work.
  • Prefer read/inspect first when entering a Docker area you have not recently reviewed.
  • Treat image pruning, volume/network changes, Compose deployments, builder/registry config, daemon config, and credential-handling paths as high-sensitivity areas.
  • When uncertainty remains after checking cache + docs, say so and avoid bluffing.
  • When answering a question, mention when useful whether the answer comes from cached official docs, a fresh official docs lookup, or live observed environment state.

Data Root

Use this workspace-local root for cache and notes:

  • .Docker-Encyclopedia/

Expected structure:

  • .Docker-Encyclopedia/docs/docs.docker.com/...
  • .Docker-Encyclopedia/notes/components/...
  • .Docker-Encyclopedia/notes/patterns/...
  • .Docker-Encyclopedia/inventory/...

Use scripts/init_workspace.py to create or repair the expected directory structure.

Note Destinations

  • Component-specific observations → .Docker-Encyclopedia/notes/components/\x3Ccomponent-name>.md
  • Reusable Docker patterns/gotchas → .Docker-Encyclopedia/notes/patterns/\x3Ctopic>.md
  • Environment-wide deployment/access info → .Docker-Encyclopedia/inventory/*.md
  • Cached official docs → .Docker-Encyclopedia/docs/docs.docker.com/...

Secrets / Sensitive Data

  • Do not store plaintext credentials, API keys, session tokens, private URLs, recovery codes, or other secrets in the encyclopedia notes/inventory tree.
  • If a note needs to mention access details, keep it high-level and redact or omit secret material.
  • Treat these workspace notes as operational memory, not as a secrets vault.

Resources

  • scripts/init_workspace.py — create or repair the .Docker-Encyclopedia/ directory tree.
  • scripts/cache_doc.py — fetch and cache a consulted official Docker docs page under .Docker-Encyclopedia/docs/....
  • references/workflow.md — detailed operating workflow and evidence-handling rules.
  • references/cache-layout.md — canonical .Docker-Encyclopedia/ directory structure.
  • references/topic-map.md — useful Docker topic groupings for faster doc lookup.

Good Outcomes

  • Answer a Docker question using cached or freshly checked official docs instead of guesswork.
  • Inspect a live Docker environment after checking the relevant docs and record any new local operational knowledge.
  • Build a growing local Docker knowledge cache that makes later work faster, safer, and more grounded.
  • Turn one-off Docker discoveries into durable notes so future work does not rediscover them from scratch.

Avoid

  • Answering Docker-specific questions purely from memory when docs are easy to consult.
  • Treating local observed behavior as if it were guaranteed official documented behavior.
  • Dumping large amounts of low-value docs into the workspace without a reason.
  • Writing component-specific observations into the official-doc cache tree.
  • Making high-impact live changes before checking the relevant docs when exact behavior matters.
安全使用建议
This skill appears coherent and limited to caching Docker docs and helping with Docker tasks. Before installing, note: (1) the skill will create and write files under a .Docker-Encyclopedia directory in the agent's working directory — avoid storing secrets there; (2) when used for live operations the agent may run docker CLI commands or inspect Docker runtime state — review any proposed commands before allowing execution, especially pruning or daemon/config changes; (3) the cache script only fetches from https://docs.docker.com and enforces URL restrictions, but you should still review the scripts to satisfy your own security posture. If you want extra caution, run the scripts manually in an isolated workspace and grant the agent access only when needed.
能力评估
Purpose & Capability
Name/description describe a docs-first Docker helper and the skill only includes tooling to fetch/cache docs and create a local .Docker-Encyclopedia workspace. No unrelated binaries, env vars, or services are requested.
Instruction Scope
SKILL.md stays focused on Docker docs, caching, and recording local observations. It does advise 'inspect live environment state' for live work (appropriate for an operational Docker helper) — this implies the agent may read Docker runtime state or run docker commands when invoked, which is expected but high-sensitivity; the instructions explicitly caution about high-impact operations and to consult docs first.
Install Mechanism
No install spec; two small Python scripts are included. They are local, simple, and don't download or execute external code beyond fetching docs from docs.docker.com when used.
Credentials
No required environment variables, credentials, or config paths are declared. The workspace and cache are written under .Docker-Encyclopedia in the current working directory, which is proportional to the documented functionality.
Persistence & Privilege
Skill is not always-enabled and uses default autonomous invocation. It only writes to its own workspace (.Docker-Encyclopedia) via provided scripts and does not alter other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install docker-encyclopedia
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /docker-encyclopedia 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug docker-encyclopedia
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Docker Encyclopedia 是什么?

Docker documentation-first workflow for Docker-specific questions, troubleshooting, command planning, image/build work, container/runtime operations, Compose... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。

如何安装 Docker Encyclopedia?

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

Docker Encyclopedia 是免费的吗?

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

Docker Encyclopedia 支持哪些平台?

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

谁开发了 Docker Encyclopedia?

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

💬 留言讨论