Containers 标志

Containers

社区
Lynricsy
containers

Builds Docker images and writes Compose files, Kubernetes manifests, Helm charts and Kustomize. Use when writing or reviewing a Dockerfile, compose.yaml, Kubernetes manifest, Helm chart or devcontainer.json, an image is too large or rebuilds slowly, or a pod is stuck in CrashLoopBackOff, ImagePullBackOff or Pending, including a one-line Dockerfile tweak.

概览

发布者Lynricsy
代码仓库HyperSkills
技能名称containers
星标数
26
复刻数
0
附带文件
33
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 33 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Lynricsy 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Containers AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Lynricsy/HyperSkills/tree/main/skills/containers
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Lynricsy/HyperSkills.git /tmp/HyperSkills
mkdir -p .claude/skills
cp -r /tmp/HyperSkills/skills/containers .claude/skills/containers
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Containers,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Containers。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Containers 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

containers

Scope

Covers the container artefacts a repository owns and the runtime behaviour they declare: Dockerfiles and the build that produces an image, image hardening and supply-chain metadata, Compose files for local development, Kubernetes workload manifests, Helm charts and Kustomize overlays, devcontainer.json, and the diagnosis of a workload that will not start or will not drain.

Written against Docker Engine 29 with BuildKit, the Compose Specification as shipped in Compose v5, Kubernetes 1.37 (current stable), Helm 4 and Kustomize 5. Rules needing a server newer than 1.29 carry a gate such as (1.33+).

Not covered:

  • Terraform, OpenTofu and HCL — module structure, count versus for_each, state moves, provider configuration. Use the terraform skill.
  • Build, scan and publish pipelines on GitHub Actions — workflow syntax, permissions, OIDC to a registry, SHA pinning of actions. Use the github skill. This skill covers what the build does, not the workflow that runs it.
  • The application code inside the container. Use the go, python, nodejs-backend, java-spring or csharp-dotnet skill; this skill only covers what the language runtime imposes on the image (entrypoint and signals, where dependencies live, what the runtime stage actually needs).
  • Managed cluster control planes — EKS, AKS and GKE node pools, cloud IAM and workload identity, provider load balancers and CSI drivers, cluster upgrades through the provider API. Use the aws, azure or gcp skill for those. Everything here still holds for a workload running on a managed cluster.
  • Service meshes (Istio, Linkerd, Cilium Service Mesh) and their CRDs; GitOps controllers (Argo CD, Flux). Not covered by any skill in this library.
  • Observability pipelines and dashboards — Prometheus Operator, OpenTelemetry Collector, log shipping, alert rules. Use the observability skill. This skill stops at what a manifest declares (probes, terminationGracePeriodSeconds, resource fields).

Paths below are relative to this skill's directory.

Read first

references/kubernetes-api-versions.md, before writing or reviewing any Kubernetes manifest, chart template or overlay. It carries the removed-API table, the version gate for every field this skill recommends, and the validation commands that work without a cluster. Generated manifests reproduce API versions the server stopped serving years ago, and a removed version is a hard rejection, not a warning.

Core rules

  1. Establish versions before applying a gated rule: docker version, kubectl version, helm version, and the cluster's minor version. Half the container guidance in circulation predates BuildKit-by-default, Compose v2 and Kubernetes 1.25.
  2. A credential passed as ARG / --build-arg is leaked, whether or not the stage that used it is shipped and whether or not the file it wrote was deleted. BuildKit keeps build-argument values in the build record of every build, and writes them into the provenance attestation whenever it is generated with mode=max (the default mode=min omits them). Use RUN --mount=type=secret,id=<name> and read /run/secrets/<name>; the mount exists only for that instruction and lands in no layer, record or attestation. [verified]
  3. docker history is the wrong check for a leak. On an image built with a bare ARG, docker history and docker inspect .Config.Env both return nothing while the token sits in cleartext in the build record (docker buildx history inspect <build-ref>, refs from docker buildx history ls) and in any mode=max attestation. For the attestation, build with --provenance=mode=max and grep docker buildx imagetools inspect <ref> --format '{{json .Provenance}}' for the credential pattern rather than the argument name; a default mode=min attestation reads clean either way. [verified]
  4. Order a Dockerfile by rate of change: copy the dependency manifest, install, then copy the source. COPY . . before the install re-runs the install on every source edit, because COPY invalidates on the copied files' metadata. [verified]
  5. Every image needs a .dockerignore (or a <dockerfile>.dockerignore) that excludes at least .git, the host dependency directory and local env files. Without one the whole working tree is uploaded as build context and COPY . . bakes it in — measured here as 73.5 MB of .git and host node_modules inside the image. [verified]
  6. The runtime stage starts from a different, smaller image than the build stage. Default to distroless, scratch for a statically linked binary, or the -slim variant when a libc and a package manager are genuinely needed. Fall back to Alpine only when you must exec into the container to debug, and accept its cost: musl changes DNS resolution behaviour and breaks glibc-compiled wheels and native modules.
  7. COPY --from=build /app /app ships the entire builder working tree — sources, dev dependencies, caches. Copy named artefacts, not directories you did not curate.
  8. Reference base images and deployed images by digest, or at minimum a full patch version. A tag is mutable: node:20 moves weekly, and with imagePullPolicy: IfNotPresent two nodes can run different code under one tag, which also makes kubectl rollout undo meaningless.
  9. Use exec-form CMD/ENTRYPOINT (CMD ["node", "dist/index.js"]). Shell form runs the process under /bin/sh -c, which does not forward SIGTERM, so the container is SIGKILLed at the end of the grace period instead of shutting down. BuildKit warns about this as JSONArgsRecommended. [verified]
  10. Set a non-root USER in the runtime stage and make the Kubernetes side enforce it with runAsNonRoot: true. A USER line alone is advisory — a manifest can override it with runAsUser: 0.
  11. Compose files carry no top-level version:. It is obsolete: Compose always validates against the current schema and warns when the key is present. [official]
  12. depends_on: [db] waits for the container to be created, not for the process to accept connections. Use the long form with condition: service_healthy plus a real healthcheck on the dependency, and condition: service_completed_successfully for a migration or seed container that must finish first.
  13. A one-shot service (migrate, seed, fixtures) belongs behind profiles: so a plain docker compose up does not run it, and behind a service_completed_successfully dependency so that when it does run, everything else waits for it. Profiles alone change "always runs" into "never runs".
  14. Shadow a bind-mounted dependency directory with a container-owned volume (- /app/node_modules on top of - .:/app), otherwise the host's platform-specific build replaces the image's. Better still, replace the whole-tree bind mount with develop.watch (action: sync for sources, action: rebuild for the dependency manifest) and run docker compose watch; sync pushes changed files instead of paying bind-mount I/O on every read.
  15. Liveness answers "is this process wedged?", readiness answers "can it serve right now?", startup answers "has it finished booting?". A liveness probe that touches a database or another service converts that dependency's outage into a simultaneous restart of every replica, and the restarts prevent recovery. Dependency checks go in readiness.
  16. While a startup probe is running, liveness and readiness are suspended. Any workload with a slow boot needs one; size it as failureThreshold × periodSeconds > worst observed startup. Keep timeoutSeconds < periodSeconds, and never set failureThreshold: 1 on liveness — one slow response then kills the container.
  17. Always set a memory limit; it is the only defence against one container taking the node down, and exceeding it is an OOMKill, not throttling. Prefer leaving CPU unlimited unless the workload is batch, multi-tenant or deliberately Guaranteed: a CPU limit is enforced by CFS quota, so the container is throttled at the ceiling inside every scheduling window even when the node is idle. Note the trade-off — without equal requests and limits the pod is Burstable and is evicted before Guaranteed pods under node pressure. [community]
  18. A PodDisruptionBudget whose budget is zero (minAvailable equal to replicas) makes the eviction API refuse forever, so a node drain hangs rather than fails. Express the budget as maxUnavailable: 1 so it tracks replica-count changes, and set unhealthyPodEvictionPolicy: AlwaysAllow (1.27+) so unready pods cannot wedge the drain either.
  19. Default a web workload's rollout to maxSurge: 1, maxUnavailable: 0 — capacity is added before it is removed. maxUnavailable: 50% with maxSurge: 0 removes half the fleet for the entire rollout, which is exactly when load arrives at the rest.
  20. The restricted Pod Security Standard needs all of runAsNonRoot: true, allowPrivilegeEscalation: false, capabilities.drop: [ALL] and seccompProfile.type: RuntimeDefault; the first three alone are rejected by an enforce: restricted namespace. Add readOnlyRootFilesystem: true and automountServiceAccountToken: false as well: neither is required by the standard, and both remove a real escalation path.
  21. A literal secret in env.value is readable by anyone who can get deployment or get pod in the namespace, and it is in version control. Use valueFrom.secretKeyRef, and treat a secret that reached a manifest as compromised — rotate it rather than only removing it.
  22. Kubernetes pod-to-pod networking is flat by default: every pod can reach every other pod until a NetworkPolicy selects it. A namespace with no policy is not "using the default policy", it is unsegmented.
  23. Helm distributes configuration to other people — versioning, dependencies, a published chart. Kustomize expresses the differences between your own environments with no templating. Choose one per artefact; the only sane combination is Kustomize post-processing someone else's rendered chart.
  24. kubectl apply --dry-run=client is not offline validation: it fetches the OpenAPI schema and performs RESTMapper discovery, so it fails outright with no reachable cluster (even with --validate=false). The gates that work locally are kubeconform -kubernetes-version <x.y.z> -strict, kubectl kustomize, helm template and helm lint. [verified]
  25. Diagnose from the object, not from the symptom name. kubectl describe pod plus kubectl get events --sort-by=.lastTimestamp distinguishes the four causes that all surface as "Pending" and the five that all surface as "CrashLoopBackOff". Quote the evidence before naming a root cause.

Workflows

write-or-slim-a-container-image

  • Measure before changing: docker image ls, then docker history <ref> to see which instruction owns the bytes. Fix the largest layer first, not the tidiest one.
  • Split build from runtime and pick the runtime base by what the process actually needs at run time (references/dockerfile.md).
  • Reorder for cache: dependency manifest → install → source → build. Add --mount=type=cache for the package manager's own cache directory.
  • Write or fix .dockerignore; prefer a deny-everything-then-allow form so a new secret file added later is excluded by default.
  • Move every build-time credential to --mount=type=secret, and remove the ARG and any ENV that carried it (references/image-security.md).
  • Add USER, exec-form CMD, and a digest or full-version base image pin.
  • Gate — the numbers and the leak checks: re-run the build, quote both sizes and the cached-versus-rebuilt step list for a source-only change, and show the build record (docker buildx history inspect) plus a --provenance=mode=max attestation grepped for the credential pattern, both returning zero.

review-a-kubernetes-manifest

  • Check every apiVersion against the target cluster's minor version first (references/kubernetes-api-versions.md). A removed version makes the rest of the review moot because the object cannot be created.
  • Read the probes as a set: which one checks dependencies, is there a startup budget, does timeoutSeconds fit inside periodSeconds (references/kubernetes-workloads.md).
  • Check resources and the resulting QoS class, then the disruption story — PDB budget, rollout parameters, spread across nodes and zones (references/kubernetes-resources.md).
  • Check the security posture against restricted PSS, plus service account, RBAC and secret handling (references/kubernetes-security.md).
  • Check the set is complete and internally consistent: a Service exists for every Ingress backend, selectors match template labels, ports line up, and the app.kubernetes.io/* labels are present. An Ingress for the retired community ingress-nginx controller is a migration finding, not a default (references/kubernetes-workloads.md).
  • Check image references are immutable and imagePullPolicy agrees with them.
  • Gate — it validates offline: kubeconform -kubernetes-version <cluster version> -strict -summary over the rendered output returns zero invalid resources, and every finding names a file:line.

set-up-a-compose-development-environment

  • Drop version:, pin every image to a version tag, and name the project.
  • Give each dependency a real healthcheck, then convert depends_on to the long form with service_healthy / service_completed_successfully (references/compose.md).
  • Put one-shot jobs behind profiles: and wire the services that need them to wait for completion.
  • Replace the whole-tree bind mount with develop.watch, or keep the bind mount and shadow the dependency directory with a volume.
  • Persist state in named volumes; publish a port to the host only when a host tool needs it, bound to 127.0.0.1.
  • Gate — a cold start works: docker compose config --quiet is silent, then docker compose down -v && docker compose up --wait reaches a healthy state with no manual step in between.

debug-a-pod-that-will-not-run

  • Get the state before theorising: kubectl get pod -o wide, kubectl describe pod, kubectl get events --sort-by=.lastTimestamp -n <ns>.
  • Read the previous container's logs, not the current one's, when it is restarting: kubectl logs <pod> --previous (references/troubleshooting.md).
  • Map the phase to its real causes — Pending is scheduling (resources, taints, affinity, unbound PVC), CrashLoopBackOff is the process (exit code, OOMKill, config, failing liveness), ImagePullBackOff is the reference or the credentials.
  • For an OOMKill read kubectl get pod -o jsonpath for lastState.terminated.reason and exitCode; exit 137 with reason OOMKilled is the limit, exit 137 without it is a SIGKILL from elsewhere.
  • Reproduce the container's own view before changing the manifest: kubectl debug with an ephemeral container, or run the image locally with the same command.
  • Gate — the fix is tied to evidence: quote the event, the exit code or the log line that names the cause, then show the same command clean after the change.

choose-and-structure-helm-or-kustomize

  • Decide by consumer, not by taste (Core rule 23), and record the decision in the repository so the next change does not re-open it.
  • For Helm: keep templates free of logic that belongs in values.yaml, give every value a default and a values.schema.json, and never template an apiVersion without a .Capabilities guard (references/helm-and-kustomize.md).
  • For Kustomize: a base that is deployable on its own, overlays that only express differences, strategic-merge patches for structure and JSON-6902 patches for list surgery.
  • Keep generated ConfigMaps and Secrets hash-suffixed so a config change actually rolls the pods.
  • Gate — render then validate: helm template or kubectl kustomize piped into kubeconform -strict, plus helm lint for a chart. Compare the rendered diff, not the template diff, when reviewing a change.

deploy-a-gpu-workload

Read references/kubernetes-gpu.md. Everything the serving process does with the card once it has one - KV cache sizing, batching, parallelism, benchmarking, scaling signals - is the model-serving skill.

  • Prove the device is offered before reading anything else: the discriminator is whether the resource key exists in allocatable at all, not whether its value is low. Capacity above Allocatable means unhealthy devices, not quota.
  • Establish whether the pool is shared, and how. A count that is a multiple of the physical card count is the time-slicing replica multiplier; check whether renameByDefault moved the resource to nvidia.com/gpu.shared, or a MIG strategy to nvidia.com/mig-<n>g.<m>gb. A wrong resource name is a permanently Pending pod with no error.
  • State the isolation the sharing method actually provides. Time-slicing gives neither memory nor fault isolation, so a memory floor per replica cannot be met that way - that needs MIG or an exclusive card.
  • Declare the GPU in limits (integer, no overcommit), then select the right card: the extended resource keeps the pod off CPU nodes but nothing keeps it off the smaller GPU without a nodeSelector/nodeAffinity on a GPU label.
  • Check the driver against the image's CUDA family, and keep driver packages out of the image - driver user-space is injected from the host at container creation.
  • Confirm the runtime path: runtimeClassName when the nvidia runtime is not the cluster default, and the NVIDIA environment variables that a non-CUDA runtime base image drops.
  • Size the startup probe from a measured GPU cold start, not from the CPU service's budget; driver init, device memory allocation and PTX JIT all land before the first successful probe.
  • Gate: kubectl apply --dry-run=server or kubeconform -strict, and name which claims are unverifiable without the cluster (device plugin state, labels, driver version) rather than asserting them.

Topic router

TopicRead whenFile
Removed and deprecated API versions by release, the version gate for every field this skill recommends, and the validation commands that work without a clusterBefore writing or reviewing any manifest, chart template or overlayreferences/kubernetes-api-versions.md
Stage structure, base-image selection, cache ordering and cache mounts, .dockerignore semantics, entrypoints and signals, multi-architecture builds, build lintWriting or slimming a Dockerfile, or a build is slowreferences/dockerfile.md
Build secrets and the provenance leak, non-root and read-only runtime, registry references and digests, scanning, SBOM and signing, what a container runtime does and does not isolateHardening an image or auditing how one was builtreferences/image-security.md
Compose file shape without version:, healthchecks and dependency conditions, profiles, develop.watch, volumes and bind-mount shadowing, networks and ports, include/extendsBuilding or fixing a local development environmentreferences/compose.md
Deployment, StatefulSet, Job and CronJob shape, Service types and Ingress, ConfigMap and Secret wiring, probes, lifecycle and graceful shutdown, rollout strategy and rollback, sidecarsWriting or reviewing a workload manifestreferences/kubernetes-workloads.md
Requests, limits and QoS, OOMKill and CFS throttling, LimitRange and ResourceQuota, HPA, PodDisruptionBudget, node affinity, taints and topology spread, in-place resizeSizing a workload, or scheduling and disruption behave oddlyreferences/kubernetes-resources.md
Extended-resource contract for GPUs, device plugin state, time-slicing/MPS/MIG and their isolation, RuntimeClass and the NVIDIA environment variables, driver/CUDA compatibility, GPU node selection, DRA, driver-upgrade drainsA workload needs a GPU, or has one and cannot see itreferences/kubernetes-gpu.md
securityContext field by field, Pod Security Standards and Pod Security Admission labels, ServiceAccount and RBAC, secret handling, NetworkPolicy, user namespacesHardening a workload or reviewing its blast radiusreferences/kubernetes-security.md
When each tool fits, chart layout and values design, capability guards and hooks, overlay and patch strategy, generators and hash suffixes, the combinations that go wrongPackaging manifests for more than one environmentreferences/helm-and-kustomize.md
Pending, CrashLoopBackOff, ImagePullBackOff, OOMKilled, Terminating, 502 from an Ingress, DNS failures — the evidence that separates their causesA workload is broken and you need the cause, not a guessreferences/troubleshooting.md
devcontainer.json review rules, the image-metadata merge that makes absence unprovable, lifecycle command ordering and prebuilds, Features, remoteUser and UID handlingWriting or reviewing a dev container or Codespaces configurationreferences/devcontainers.md

Output format

When reviewing a Dockerfile, compose file or manifest set, group findings by file and lead each with the location and the consequence:

k8s/checkout/deployment.yaml:34 - blocking - livenessProbe hits /health, which queries
  Postgres. A database blip fails the probe on all 3 replicas at once and the kubelet
  restarts them together. Move the dependency check to readinessProbe; point liveness at
  a handler that only reports process health.

Order findings by blast radius: first anything that makes the object impossible to create (a removed apiVersion, a schema error), then anything that causes an outage (probe semantics, a zero-budget PDB, a leaked credential), then correctness, then size and style. For a size or build-time finding quote the measurement (docker history line, image size, which steps were CACHED) rather than asserting an improvement, and give the before/after snippet.

Environment

  • Docker Engine 24+ with BuildKit for --mount=type=secret and --mount=type=cache; docker buildx imagetools inspect needs an image in a registry or an OCI export, and provenance attestations and multi-platform images need the containerd image store (the default on Docker Engine 29+ and Docker Desktop; an engine upgraded from an older version may still use classic storage) or a docker-container builder. Without either the build fails with "Attestation is not supported for the docker driver".
  • kubeconform is the offline schema validator used by the gates above; it is a single binary or ghcr.io/yannh/kubeconform. It needs network access the first time to fetch the schema set for the requested Kubernetes version.
  • kubectl needs a reachable cluster for anything that touches discovery, including apply --dry-run=client. kubectl create --dry-run=client -o yaml and kubectl kustomize are the two subcommands that work with no cluster at all.
  • Helm 4 is current; Helm 3 left bug-fix support in 2026 and receives security fixes only. helm template and helm lint are offline; --dry-run=server is not.
  • Say which tools are actually present rather than assuming. A review performed by reading files is still a review — state that nothing was executed.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Containers AI 技能有什么作用?

Builds Docker images and writes Compose files, Kubernetes manifests, Helm charts and Kustomize. Use when writing or reviewing a Dockerfile, compose.yaml, Kubernetes manifest, Helm chart or devcontainer.json, an image is too large or rebuilds slowly, or a pod is stuck in CrashLoopBackOff, ImagePullBackOff or Pending, including a one-line Dockerfile tweak.

为什么在 TypingMind 中使用 Containers?

因为您只需安装一次,就能搭配任何模型使用。Containers 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Containers?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Lynricsy/HyperSkills/tree/main/skills/containers。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Containers?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Containers 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Containers 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Containers AI 技能免费吗?

是的。Lynricsy 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇