← 返回 Skills 市场
clawkk

Cache Layer

作者 clawkk · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
131
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cache-layer
功能描述
Cache layers, TTLs, invalidation, and consistency. Use when speeding reads or debugging stale data.
使用说明 (SKILL.md)

Cache Layer

Structured guidance for cache layers (TTLs, invalidation, consistency): confirm triggers, propose the stages below, and adapt if the user wants a lighter pass.

When to Offer This Workflow

Trigger conditions:

  • User mentions caching, cache invalidation, or closely related work
  • They want a structured workflow rather than ad-hoc tips
  • They are preparing a review, rollout, or stakeholder communication

Initial offer: Explain the four stages briefly and ask whether to follow this workflow or work freeform. If they decline, continue in their preferred style.

Workflow Stages

Stage 1: Clarify context & goals

Anchor on what to cache and TTL rationale. Ask what success looks like, constraints, and what must not break. Capture unknowns early.

Stage 2: Design or plan the approach

Translate goals into a concrete plan around invalidation patterns. Compare alternatives and explicit trade-offs; avoid implicit assumptions.

Stage 3: Implement, validate, and harden

Execute with verification loops tied to consistency and thundering herds. Prefer small steps, measurable checks, and rollback points where risk is high.

Stage 4: Operate, communicate, and iterate

Close the loop with monitoring hit rate and staleness: monitoring, documentation, stakeholder updates, and lessons learned for the next cycle.

Checklist Before Completion

  • Goals and constraints are explicit for cache layers
  • Risks and trade-offs are stated, not hand-waved
  • Verification steps match the change’s impact (tests, canary, peer review)
  • Operational follow-through is covered (monitoring, docs, owners)

Tips for Effective Guidance

  • Be procedural: stage-by-stage, with clear exit criteria
  • Ask for missing context (environment, scale, deadlines) before prescribing
  • Prefer checklists and concrete examples over generic platitudes
  • If the user declines the workflow, switch to freeform help without lecturing

Handling Deviations

  • If the user wants to skip a stage: confirm and continue with what they need.
  • If context is missing: ask targeted questions before strong recommendations.
  • Prefer concrete examples, trade-offs, and verification steps over generic advice.

Quality Bar

  • Each recommendation should be actionable (what to do next).
  • Call out failure modes relevant to cache layers (security, scale, UX, or ops).
  • Keep tone direct and respectful of the user’s time.
安全使用建议
This skill is a pure guidance/workflow helper and appears safe and coherent with its purpose. Because it is instruction-only, it won't execute code or access secrets by itself — still: review any recommendations before applying them, avoid pasting secrets into prompts, and if you want to prevent autonomous invocation, disable model invocation for this skill in your agent settings.
功能分析
Type: OpenClaw Skill Name: cache-layer Version: 1.0.0 The skill bundle contains only metadata and structured markdown instructions (SKILL.md) for guiding a user through cache layer design and implementation. It lacks any executable code, network requests, or malicious prompt injection, focusing entirely on architectural best practices like TTL management and cache invalidation.
能力评估
Purpose & Capability
Name and description match the SKILL.md content: it provides a staged workflow for cache design, implementation, and operation. There are no unrelated permissions, binaries, or env vars requested.
Instruction Scope
Runtime instructions are procedural guidance and questions for the user; they do not instruct the agent to read files, access credentials, call external endpoints, or perform broad system operations.
Install Mechanism
No install spec and no code files — instruction-only skill. Nothing is written to disk or downloaded during install.
Credentials
The skill requests no environment variables, credentials, or config paths; requested access is proportional (none) to the stated task.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request permanent presence or elevated privileges beyond normal skill invocation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cache-layer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cache-layer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release providing a structured, stage-based workflow for cache layer guidance. - Introduces a four-stage workflow: clarify context, plan approach, implement & validate, operate & iterate. - Includes trigger conditions to identify when to offer structured cache advice. - Provides a completion checklist to ensure thoroughness and explicitness. - Offers guidance on adapting the workflow to user preferences (structured vs freeform). - Emphasizes actionable, stage-by-stage recommendations with concrete examples and trade-off discussions.
元数据
Slug cache-layer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Cache Layer 是什么?

Cache layers, TTLs, invalidation, and consistency. Use when speeding reads or debugging stale data. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。

如何安装 Cache Layer?

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

Cache Layer 是免费的吗?

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

Cache Layer 支持哪些平台?

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

谁开发了 Cache Layer?

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

💬 留言讨论