Agent skill

Commandkit Cache

by neplexlabs in neplexlabs/commandkit

Implement deterministic caching with @commandkit/cache. An agent skill from neplexlabs/commandkit.

MITAuto-check passedDatabases

Install Commandkit Cache

skills CLI
$ npx skills add neplexlabs/commandkit --skill commandkit-cache -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install neplexlabs/commandkit commandkit-cache --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/neplexlabs/commandkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/commandkit-cache .claude/skills/commandkit-cache && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commandkit-cache
GitHub stars
165
Token cost
~506 tokens
SKILL.md length
136 words
Files
7 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Implement deterministic caching with @commandkit/cache. An agent skill from neplexlabs/commandkit.

  • Works in 5 steps: Register cache() plugin. → Add 'use cache' to deterministic async… → Design tags and TTLs with clear resource… → …
  • Use cache directives
  • SKILL.md covers Activation guidance, Required filesystem expectations, Execution workflow and Guardrails, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Commandkit Cache is an agent skill from neplexlabs/commandkit. Implement deterministic caching with @commandkit/cache. Use for 'use cache' directives, cacheTag/cacheLife strategy, revalidateTag invalidation, and provider setup for memory or Redis deployments.

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `README.md`, `references/00-filesystem-structure.md` and `references/01-directive-use-cache.md`).

It sits in Databases, covering Deployment and Caching. It works with Redis. The repository describes itself as: The discord.js meta-framework with features such as AI-powered command handler, analytics, feature flags, and more. The licence is MIT.

When your agent uses it

  • Use cache directives
  • CacheTag/cacheLife strategy
  • RevalidateTag invalidation
  • Provider setup for memory

Example prompts

  • “use cache”
  • “/commandkit-cache”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Register cache() plugin.
  2. Add 'use cache' to deterministic async functions.
  3. Design tags and TTLs with clear resource boundaries.
  4. Pair writes with revalidateTag.
  5. Choose memory vs Redis based on deployment topology.

What it can do on your machine

Read from SKILL.md and the folder at commit d771e6b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commandkit Cache loads about 506 tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 53 tokens; SKILL.md has 136 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~506
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from neplexlabs/commandkit at commit d771e6b, republished under its MIT licence (© neplexlabs). 136 words, ~506 tokens.

Download SKILL.mdSave it as .claude/skills/commandkit-cache/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
commandkit-cache
description
Implement deterministic caching with @commandkit/cache. Use for 'use cache' directives, cacheTag/cacheLife strategy, revalidateTag invalidation, and provider setup for memory or Redis deployments.
version
1.2.0
author
neplextech
emoji
🗄️
tags
commandkit, cache, performance, redis

CommandKit Cache Plugin

Activation guidance

Use for read-heavy deterministic workloads and explicit invalidation design.

Required filesystem expectations

  • plugin registration in commandkit.config.ts
  • cacheable functions in commands/services/helpers
  • optional provider bootstrap module for Redis setup

Execution workflow

  1. Register cache() plugin.
  2. Add 'use cache' to deterministic async functions.
  3. Design tags and TTLs with clear resource boundaries.
  4. Pair writes with revalidateTag.
  5. Choose memory vs Redis based on deployment topology.

Guardrails

  • Do not cache mutation paths.
  • Do not cache sensitive user-specific results without strict key design.

Reference index

NameDescription
references/00-filesystem-structure.mdCache integration locations and bootstrap placement.
references/01-directive-use-cache.mdCorrect directive usage and deterministic function criteria.
references/02-cachetag-cachelife.mdTag strategy, TTL strategy, and invalidation planning.
references/03-revalidate-tag.mdMutation-side invalidation patterns.
references/04-provider-setup.mdMemory/Redis provider setup and topology guidance.

Tool index

NameDescription
N/AThis skill currently has no helper tool scripts.

© neplexlabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in skills/commandkit-cache of neplexlabs/commandkit.

  • SKILL.md
  • README.md
  • references/00-filesystem-structure.md
  • references/01-directive-use-cache.md
  • references/02-cachetag-cachelife.md
  • references/03-revalidate-tag.md
  • references/04-provider-setup.md

Open the folder on GitHubat commit d771e6b

Compare with similar skills

Commandkit Cache next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commandkit Cache compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commandkit Cache this skillneplexlabs/commandkit165—~506Automated safety check: PassMIT
Configure REST Cachestrapi-community/plugin-rest-cache155—~1.1kAutomated safety check: PassMIT
AspireifyCommunityToolkit/Aspire629—~5.3kAutomated safety check: NotesMIT
Redissickn33/agentic-awesome-skills47k2 repos~2.6kAutomated safety check: NotesMIT
Scalingericrisco/rsc-harness167—~2.8kAutomated safety check: PassMIT
AWS Cloudformation Elasticachegiuseppe-trisciuoglio/developer-kit355—~1.5kAutomated safety check: NotesMIT

Similar skills

  • Configure REST Cache

    strapi-community/plugin-rest-cache

    Choose and write a Strapi REST Cache configuration for a specific use case.

    155 GitHub stars~1.1k tokensUpdated 10 days ago
    DatabasesAuto-check passed
  • Aspireify

    CommunityToolkit/Aspire

    WORKFLOW SKILL - Wire Aspire AppHosts or repair TypeScript AppHost toolchains.

    629 GitHub stars~5.3k tokensUpdated yesterday
    DatabasesAuto-check: notes
  • Redis

    sickn33/agentic-awesome-skills

    Configure Redis for caching and data storage. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~2.6k tokens
    DatabasesAuto-check: notes
  • Scaling

    ericrisco/rsc-harness

    A skill your agent uses when traffic is growing or about to spike and the system bends under concurrency — deciding what to add and in what order (cache, connection pool, async queue, read replica…

    167 GitHub stars~2.8k tokensUpdated today
    DatabasesAuto-check passed
  • AWS Cloudformation Elasticache

    giuseppe-trisciuoglio/developer-kit

    Provides AWS CloudFormation patterns for ElastiCache Redis or Memcached infrastructure, including subnet groups, parameter groups, security controls, and cross-stack outputs.

    355 GitHub stars~1.5k tokensUpdated 28 days ago
    DatabasesAuto-check: notes
  • Redis Core

    redis/agent-skills

    Official

    Core Redis modeling guidance — choose the right data structure (String, Hash, List, Set, Sorted Set, JSON, Stream, Vector Set) and use consistent colon-separated key names.

    165 GitHub starsUsed in 2 repos~759 tokens
    DatabasesAuto-check passed

More from neplexlabs/commandkit

All 13 skills in this repo
  • Commandkit

    neplexlabs/commandkit

    Build and maintain Discord bots with CommandKit core conventions.

    165 GitHub stars~1k tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit AI

    neplexlabs/commandkit

    Build AI-powered command flows with @commandkit/ai. An agent skill from neplexlabs/commandkit.

    165 GitHub stars~547 tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit Analytics

    neplexlabs/commandkit

    Instrument CommandKit bots with @commandkit/analytics. An agent skill from neplexlabs/commandkit.

    165 GitHub stars~485 tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit I18n

    neplexlabs/commandkit

    Implement localization with @commandkit/i18n and i18next. An agent skill from neplexlabs/commandkit.

    165 GitHub stars~546 tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit Plugin Development

    neplexlabs/commandkit

    Create CommandKit plugins for runtime and compiler extension points.

    165 GitHub stars~709 tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit Queue

    neplexlabs/commandkit

    Build queue-based messaging workflows with @commandkit/queue.

    165 GitHub stars~458 tokensUpdated 11 days ago
    Auto-check passed

Works with

Questions about Commandkit Cache

What does Commandkit Cache do?

Implement deterministic caching with @commandkit/cache. An agent skill from neplexlabs/commandkit. Commandkit Cache is an agent skill from neplexlabs/commandkit. Implement deterministic caching with @commandkit/cache.

When should I use Commandkit Cache?

Commandkit Cache fits situations like: use cache directives; cacheTag/cacheLife strategy; revalidateTag invalidation; provider setup for memory.

How do I install Commandkit Cache in Claude Code?

Run `npx skills add neplexlabs/commandkit --skill commandkit-cache -a claude-code`. Or copy the skill folder (skills/commandkit-cache in neplexlabs/commandkit) into .claude/skills/commandkit-cache in your project. Claude Code loads it when a task matches its description.

How do I install Commandkit Cache in Codex?

Run `npx skills add neplexlabs/commandkit --skill commandkit-cache -a codex`. Or copy the skill folder (skills/commandkit-cache in neplexlabs/commandkit) into .agents/skills/commandkit-cache in your project. Codex loads it when a task matches its description.

Can I use Commandkit Cache in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add neplexlabs/commandkit --skill commandkit-cache -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commandkit-cache, .gemini/skills/commandkit-cache, .github/skills/commandkit-cache and .opencode/skills/commandkit-cache in your project.

What does Commandkit Cache need to run?

SKILL.md names no scripts, command-line tools or credentials: Commandkit Cache is instructions for the agent only.

Does Commandkit Cache access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Commandkit Cache safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commandkit Cache use?

Commandkit Cache is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commandkit Cache use?

About 506 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Commandkit Cache?

Skills that share tags, products or a category with Commandkit Cache: Configure REST Cache (strapi-community/plugin-rest-cache, 155 stars), Aspireify (CommunityToolkit/Aspire, 629 stars), Redis (sickn33/agentic-awesome-skills, 47k stars) and Scaling (ericrisco/rsc-harness, 167 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commandkit Cache?

neplexlabs (a GitHub organization) maintains it in neplexlabs/commandkit, which has 165 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 26, 2026.

Source: neplexlabs/commandkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.