Commandkit Cache
neplexlabs/commandkit
Implement deterministic caching with @commandkit/cache. An agent skill from neplexlabs/commandkit.
Choose and write a Strapi REST Cache configuration for a specific use case.
$ npx skills add strapi-community/plugin-rest-cache --skill configure-rest-cache -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install strapi-community/plugin-rest-cache configure-rest-cache --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/strapi-community/plugin-rest-cache.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/rest-cache-helper/skills/configure-rest-cache .claude/skills/configure-rest-cache && rm -rf skills-srcUse ~/.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/
Install the "configure-rest-cache" agent skill from https://github.com/strapi-community/plugin-rest-cache/tree/main/plugins/rest-cache-helper/skills/configure-rest-cache into .claude/skills/configure-rest-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configure-rest-cache", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/strapi-community/plugin-rest-cache/tree/main/plugins/rest-cache-helper/skills/configure-rest-cacheType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add strapi-community/plugin-rest-cache --skill configure-rest-cache -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install strapi-community/plugin-rest-cache configure-rest-cache --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/strapi-community/plugin-rest-cache.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/rest-cache-helper/skills/configure-rest-cache .agents/skills/configure-rest-cache && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "configure-rest-cache" agent skill from https://github.com/strapi-community/plugin-rest-cache/tree/main/plugins/rest-cache-helper/skills/configure-rest-cache into .agents/skills/configure-rest-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configure-rest-cache", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add strapi-community/plugin-rest-cache --skill configure-rest-cache -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install strapi-community/plugin-rest-cache configure-rest-cache --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/strapi-community/plugin-rest-cache.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/rest-cache-helper/skills/configure-rest-cache .cursor/skills/configure-rest-cache && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "configure-rest-cache" agent skill from https://github.com/strapi-community/plugin-rest-cache/tree/main/plugins/rest-cache-helper/skills/configure-rest-cache into .cursor/skills/configure-rest-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configure-rest-cache", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/strapi-community/plugin-rest-cache.git --path plugins/rest-cache-helper/skills/configure-rest-cache--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add strapi-community/plugin-rest-cache --skill configure-rest-cache -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install strapi-community/plugin-rest-cache configure-rest-cache --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/strapi-community/plugin-rest-cache.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/rest-cache-helper/skills/configure-rest-cache .gemini/skills/configure-rest-cache && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "configure-rest-cache" agent skill from https://github.com/strapi-community/plugin-rest-cache/tree/main/plugins/rest-cache-helper/skills/configure-rest-cache into .gemini/skills/configure-rest-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configure-rest-cache", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install strapi-community/plugin-rest-cache configure-rest-cacheInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add strapi-community/plugin-rest-cache --skill configure-rest-cache -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/strapi-community/plugin-rest-cache.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/rest-cache-helper/skills/configure-rest-cache .github/skills/configure-rest-cache && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "configure-rest-cache" agent skill from https://github.com/strapi-community/plugin-rest-cache/tree/main/plugins/rest-cache-helper/skills/configure-rest-cache into .github/skills/configure-rest-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configure-rest-cache", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add strapi-community/plugin-rest-cache --skill configure-rest-cache -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install strapi-community/plugin-rest-cache configure-rest-cache --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/strapi-community/plugin-rest-cache.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/rest-cache-helper/skills/configure-rest-cache .opencode/skills/configure-rest-cache && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "configure-rest-cache" agent skill from https://github.com/strapi-community/plugin-rest-cache/tree/main/plugins/rest-cache-helper/skills/configure-rest-cache into .opencode/skills/configure-rest-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configure-rest-cache", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
configure-rest-cacheChoose and write a Strapi REST Cache configuration for a specific use case.
Configure REST Cache is an agent skill from strapi-community/plugin-rest-cache. Choose and write a Strapi REST Cache configuration for a specific use case. Use when setting up @strapi-community/plugin-rest-cache, deciding what to cache and for how long, picking between the memory and redis providers, caching authenticated or per-locale responses, or tuning cache keys.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Caching. It works with Redis. The repository describes itself as: Speed-up HTTP requests with LRU cache. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit af0e7d8. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
strapi-community.github.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Configure REST Cache loads about 1.1k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 456 words of instructions outside code blocks.
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.
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.
The full file from strapi-community/plugin-rest-cache at commit af0e7d8, republished under its MIT licence (© strapi-community). 456 words, ~1,061 tokens.
.claude/skills/configure-rest-cache/SKILL.md (or your agent's skills folder).Do not write a configuration before establishing the four things below. Most bad cache configurations are bad because one of them was assumed.
maxAge is a backstop for
changes nothing observed, not the primary mechanism.Ask the user these if the answers are not already evident from their project.
Each of these is a complete, copy-pasteable configuration with the trade-offs written out. Prefer sending the user to the matching one over inventing a config from scratch.
| Situation | Recipe |
|---|---|
| Public, read-heavy content API | public-content |
| Per-user or token-authenticated responses | authenticated |
| Several instances behind a load balancer | multi-instance |
| Only a few slow endpoints | expensive-routes |
| i18n, or heavy filter/pagination/populate use | i18n-and-query |
| Preview or draft workflows | previews-drafts |
Full option reference: https://strapi-community.github.io/plugin-rest-cache/guide/reference/config.html
Durations are milliseconds. maxAge: 3600 is 3.6 seconds. One hour is
3600000. Write the value with a comment saying what it is in human units.
Never set hitpass: false without keys.useAuth: true. Together they
cache authenticated traffic keyed per caller. hitpass: false alone means two
callers authorised for the same route share one entry, and whoever misses first
decides what everybody else sees. The server logs a warning at boot if you do
this, and the admin panel flags the content type — but by then it is already
serving.
Custom route paths must include the API prefix, exactly as Strapi
registered them: /api/articles/slug/:slug.
Match keysPrefix to your Redis keyPrefix if the connection sets one.
A mismatch means the plugin enumerates nothing, and every purge silently does
nothing.
Have the user turn on enableXCacheHeaders, then:
curl -sI http://localhost:1337/api/articles | grep -i x-cache # MISS
curl -sI http://localhost:1337/api/articles | grep -i x-cache # HITThen edit that content in the admin panel and request again — it should be
MISS, proving invalidation works.
HITPASS means the request bypassed the cache; with the default hitpass a
browser session will always do that. Test with curl.
If any of that does not behave, switch to the diagnose-rest-cache skill.
Both ./config/plugins.js and ./config/plugins.ts are supported. Match
whichever the project already uses, and keep the plugin's block under the
rest-cache key with everything inside config.
© strapi-community, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/rest-cache-helper/skills/configure-rest-cache of strapi-community/plugin-rest-cache.
Open the folder on GitHubat commit af0e7d8
Configure REST 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Configure REST Cache this skillstrapi-community/plugin-rest-cache | 155 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Commandkit Cacheneplexlabs/commandkit | 165 | — | ~506 | Automated safety check: Pass | MIT | |
| Redissickn33/agentic-awesome-skills | 47k | 2 repos | ~2.6k | Automated safety check: Notes | MIT | |
| Scalingericrisco/rsc-harness | 174 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Caching Strategy Selectorrevfactory/harness-100 | 1.3k | — | ~925 | Automated safety check: Pass | Apache-2.0 | |
| Redis Coreredis/agent-skills | 165 | 2 repos | ~759 | Automated safety check: Pass | MIT |
neplexlabs/commandkit
Implement deterministic caching with @commandkit/cache. An agent skill from neplexlabs/commandkit.
sickn33/agentic-awesome-skills
Configure Redis for caching and data storage. An agent skill from sickn33/agentic-awesome-skills.
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…
revfactory/harness-100
캐싱 전략(Cache Aside, Write Through, Write Behind 등) 선택 매트릭스와 Redis/Memcached 활용, TTL 설계, 캐시 무효화 패턴 가이드.
redis/agent-skills
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.
redis/agent-skills
Redis client and connection guidance covering connection pooling, multiplexing, pipelining, client-side caching with RESP3, avoiding slow commands (KEYS, SMEMBERS, HGETALL), and tuning socket…
strapi-community/plugin-rest-cache
Add a new cache provider package to this repository, or modify an existing one.
strapi-community/plugin-rest-cache
Publish this plugin to npm - a production release, a pre-release, or an experimental build from a branch.
strapi-community/plugin-rest-cache
Diagnose why Strapi REST Cache is not caching, is serving stale content, or is caching the wrong thing.
strapi-community/plugin-rest-cache
Verify a change to this plugin before opening a PR. An agent skill from strapi-community/plugin-rest-cache.
Works with
Categories
Choose and write a Strapi REST Cache configuration for a specific use case. Configure REST Cache is an agent skill from strapi-community/plugin-rest-cache. Choose and write a Strapi REST Cache configuration for a specific use case.
Configure REST Cache fits situations like: setting up @strapi-community/plugin-rest-cache; deciding what to cache and for how long; picking between the memory and redis providers; caching authenticated.
Run `npx skills add strapi-community/plugin-rest-cache --skill configure-rest-cache -a claude-code`. Or copy the skill folder (plugins/rest-cache-helper/skills/configure-rest-cache in strapi-community/plugin-rest-cache) into .claude/skills/configure-rest-cache in your project. Claude Code loads it when a task matches its description.
Run `npx skills add strapi-community/plugin-rest-cache --skill configure-rest-cache -a codex`. Or copy the skill folder (plugins/rest-cache-helper/skills/configure-rest-cache in strapi-community/plugin-rest-cache) into .agents/skills/configure-rest-cache in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add strapi-community/plugin-rest-cache --skill configure-rest-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/configure-rest-cache, .gemini/skills/configure-rest-cache, .github/skills/configure-rest-cache and .opencode/skills/configure-rest-cache in your project.
Going by SKILL.md and its folder, Configure REST Cache needs the command-line tools its instructions call (curl).
SKILL.md names 1 domain. As links in the text: strapi-community.github.io. This is read from the text; nothing was executed.
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.
Configure REST Cache is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Configure REST Cache: Commandkit Cache (neplexlabs/commandkit, 165 stars), Redis (sickn33/agentic-awesome-skills, 47k stars), Scaling (ericrisco/rsc-harness, 174 stars) and Caching Strategy Selector (revfactory/harness-100, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
strapi-community (a GitHub organization) maintains it in strapi-community/plugin-rest-cache, which has 155 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 28, 2026.
Source: strapi-community/plugin-rest-cache on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.