Agent skill

HTTP Cache

by gustavscirulis in gustavscirulis/snapgrid

Generates an HTTP caching layer with Cache-Control parsing, ETag/conditional requests, and offline fallback.

Custom licenceAuto-check: notesBackend & APIs

Install HTTP Cache

skills CLI
$ npx skills add gustavscirulis/snapgrid --skill http-cache -a claude-code

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

GitHub CLI
$ gh skill install gustavscirulis/snapgrid http-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/gustavscirulis/snapgrid.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/skills/generators/http-cache .claude/skills/http-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
http-cache
GitHub stars
117
Used in
1 other repo
Token cost
~1.5k tokens
SKILL.md length
357 words
Files
3
Skills in repo
118
Repo updated
First seen
Licence
Custom licence

At a glance

Generates an HTTP caching layer with Cache-Control parsing, ETag/conditional requests, and offline fallback.

  • Works in 7 steps: Project Context Detection → Networking Layer Detection → Conflict Detection → …
  • User wants to add response caching
  • SKILL.md covers When This Skill Activates, Pre-Generation Checks, Configuration Questions and Generation Process, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

HTTP Cache is an agent skill from gustavscirulis/snapgrid. Generates an HTTP caching layer with Cache-Control parsing, ETag/conditional requests, and offline fallback. Use when user wants to add response caching, offline support, or reduce API calls.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `http-cache-patterns.md` and `templates.md`).

It sits in Backend & APIs, covering Caching. The repository describes itself as: SnapGrid is an open-source Mac app for collecting, organizing, and analyzing UI screenshots. It uses AI to automatically detect UI components and patterns, making it a powerful…

When your agent uses it

  • User wants to add response caching
  • Offline support
  • Reduce API calls

Example prompts

  • “Use the http-cache skill to generate an HTTP caching layer with Cache-Control parsing, ETag/conditional requests, and offline fallback”
  • “/http-cache”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Project Context Detection
  2. Networking Layer Detection
  3. Conflict Detection
  4. Read Templates
  5. Create Core Files
  6. Create Integration Files
  7. Determine File Location

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • Bash
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).

    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

HTTP Cache loads about 1.5k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 357 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 357 words (~1,454 tokens).

“Generate a production HTTP caching layer that integrates with your existing networking code. Supports Cache-Control directives, ETag/Last-Modified conditional requests, stale-while-revalidate, and offline fallback.”

— opening of SKILL.md by gustavscirulis, Custom licence
name
http-cache
allowed-tools
Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files in .claude/skills/skills/generators/http-cache of gustavscirulis/snapgrid.

  • SKILL.md
  • http-cache-patterns.md
  • templates.md

Open the folder on GitHubat commit eb7eaf4

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in gustavscirulis/snapgrid, which our catalogue first saw on October 7, 2026.

Compare with similar skills

HTTP 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.

HTTP Cache compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
HTTP Cache this skillgustavscirulis/snapgrid1171 repos~1.5kAutomated safety check: NotesCustom licence
Stripe Projectsfossasia/eventyay1.7k5 repos~2kAutomated safety check: NotesApache-2.0
FoundatioFoundatioFx/Foundatio2.1k—~3.9kAutomated safety check: PassApache-2.0
Wp Block Themesgambitph/Stackable3503 repos~985Automated safety check: PassGPL-3.0
Wp Performancegambitph/Stackable3503 repos~1.5kAutomated safety check: PassGPL-3.0
Effect Portable Patternsmillionco/expect3.6k—~3.7kAutomated safety check: PassCustom licence

Similar skills

  • Stripe Projects

    fossasia/eventyay

    A skill your agent uses when the user wants to provision infrastructure or third-party services using Stripe Projects.

    1.7k GitHub starsUsed in 5 repos~2k tokens
    Backend & APIsAuto-check: notes
  • Foundatio

    FoundatioFx/Foundatio

    A skill your agent uses when working with Foundatio infrastructure abstractions for .NET -- caching, queuing, messaging, file storage, distributed locking, or background jobs.

    2.1k GitHub stars~3.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Wp Block Themes

    gambitph/Stackable

    A skill your agent uses when developing WordPress block themes: theme.json (global settings/styles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style…

    350 GitHub starsUsed in 3 repos~985 tokens
    Backend & APIsAuto-check passed
  • Wp Performance

    gambitph/Stackable

    A skill your agent uses when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Query Monitor via REST headers)…

    350 GitHub starsUsed in 3 repos~1.5k tokens
    Backend & APIsAuto-check passed
  • Effect Portable Patterns

    millionco/expect

    Portable Effect patterns for robust promise execution. An agent skill from millionco/expect.

    3.6k GitHub stars~3.7k tokensUpdated 5 mo ago
    Backend & APIsAuto-check passed
  • FastAPI-Redis SDK Development

    redis/fastapi-redis-sdk

    Official

    Guides development on the fastapi-redis-sdk library itself - its connection lifecycle, dependency-injected caching, and async/sync bridging.

    404 GitHub stars~2.5k tokensUpdated 6 days ago
    Backend & APIsAuto-check: notes

More from gustavscirulis/snapgrid

All 118 skills in this repo
  • Interaction Design

    gustavscirulis/snapgrid

    Design and implement microinteractions, motion design, transitions, and user feedback patterns.

    117 GitHub starsUsed in 3 repos~2k tokens
    Auto-check passed
  • Core ML

    gustavscirulis/snapgrid

    Core ML, Create ML, Vision framework, Natural Language framework, on-device ML integration.

    117 GitHub starsUsed in 2 repos~3.8k tokens
    Auto-check: notes
  • Force Update

    gustavscirulis/snapgrid

    Generates a minimum version enforcement system with hard-block and soft-prompt update flows, App Store redirect, and remote config or App Store lookup for version checks.

    117 GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check: notes
  • Market Research

    gustavscirulis/snapgrid

    Deep market analysis for iOS/macOS apps including market sizing (TAM/SAM/SOM), growth trends, market maturity, entry barriers, distribution channels, and revenue potential.

    117 GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed
  • Account Deletion

    gustavscirulis/snapgrid

    Generates an Apple-compliant account deletion flow with multi-step confirmation UI, optional data export, configurable grace period, Keychain cleanup, and server-side deletion request.

    117 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check: notes
  • Alarmkit

    gustavscirulis/snapgrid

    AlarmKit integration for scheduling alarms and timers with custom UI, Live Activities, and snooze support.

    117 GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed

Categories

Questions about HTTP Cache

What does HTTP Cache do?

Generates an HTTP caching layer with Cache-Control parsing, ETag/conditional requests, and offline fallback. HTTP Cache is an agent skill from gustavscirulis/snapgrid. Generates an HTTP caching layer with Cache-Control parsing, ETag/conditional requests, and offline fallback.

When should I use HTTP Cache?

HTTP Cache fits situations like: user wants to add response caching; offline support; reduce API calls.

How do I install HTTP Cache in Claude Code?

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

How do I install HTTP Cache in Codex?

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

Can I use HTTP 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 gustavscirulis/snapgrid --skill http-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/http-cache, .gemini/skills/http-cache, .github/skills/http-cache and .opencode/skills/http-cache in your project.

What does HTTP Cache need to run?

SKILL.md names no scripts, command-line tools or credentials: HTTP Cache is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion.

Does HTTP 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 HTTP Cache safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does HTTP Cache use?

HTTP Cache has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does HTTP Cache use?

About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to HTTP Cache?

Skills that share tags, products or a category with HTTP Cache: Stripe Projects (fossasia/eventyay, 1.7k stars), Foundatio (FoundatioFx/Foundatio, 2.1k stars), Wp Block Themes (gambitph/Stackable, 350 stars) and Wp Performance (gambitph/Stackable, 350 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains HTTP Cache?

gustavscirulis (a GitHub user) maintains it in gustavscirulis/snapgrid, which has 117 GitHub stars. The repository holds 118 skills in this directory. The repository was last updated on April 30, 2026.

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