Agent skill

Cache Codebase

by kurealnum in kurealnum/dotfiles

“Caches a codebase to reduce token usage”

— description from SKILL.md by kurealnum
No licenceAuto-check passedAI & LLM Engineering

Install Cache Codebase

skills CLI
$ npx skills add kurealnum/dotfiles --skill cache-codebase -a claude-code

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

GitHub CLI
$ gh skill install kurealnum/dotfiles cache-codebase --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/kurealnum/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cache-codebase .claude/skills/cache-codebase && 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
cache-codebase
GitHub stars
290
Token cost
~817 tokens
SKILL.md length
416 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

  • Works in 2 steps: Update the date modified → Reread the real file and update all…
  • SKILL.md covers When to activate, Caching, Reading the cache and When to avoid the cache, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Cache Codebase is a skill in kurealnum/dotfiles (290 stars). Its SKILL.md is about 817 tokens. No licence found.

Workflow steps

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

  1. Update the date modified
  2. Reread the real file and update all other fields

What it can do on your machine

Read from SKILL.md and the folder at commit bcd8741. 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 (its code samples are markdown).

    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

Cache Codebase loads about 817 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 416 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 416 words (~817 tokens).

“Reduce token usage by reading off a minimized version of a given codebase.”

— opening of SKILL.md by kurealnum
name
cache-codebase

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/cache-codebase of kurealnum/dotfiles.

Open the folder on GitHubat commit bcd8741

Compare with similar skills

Cache Codebase 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.

Cache Codebase compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cache Codebase this skillkurealnum/dotfiles290—~817Automated safety check: PassNone
Context Compressionguanyang/open-agent-hub9732 repos~4.6kAutomated safety check: PassMIT
Bounty Hunter1sadjlk/bounty-hunter-skill2821 repos~761Automated safety check: PassMIT
Skill Shortenerluongnv89/asm953—~3.8kAutomated safety check: NotesMIT
Fleet Auditoralexgreensh/token-optimizer2.5k—~1.7kAutomated safety check: PassCustom licence
Context Auditundefined-ui/second-brain-os999—~810Automated safety check: PassMIT

Similar skills

  • Context Compression

    guanyang/open-agent-hub

    This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve…

    973 GitHub starsUsed in 2 repos~4.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Bounty Hunter

    1sadjlk/bounty-hunter-skill

    A professional AI bounty hunter persona named Atlas. An agent skill from 1sadjlk/bounty-hunter-skill.

    282 GitHub starsUsed in 1 repo~761 tokens
    AI & LLM EngineeringAuto-check passed
  • Skill Shortener

    luongnv89/asm

    Refactor a too-long SKILL.md by progressive disclosure: measure token cost, classify every section KEEP/CUT/MOVE, shorten the body into references/ and scripts/, verify nothing was lost.

    953 GitHub stars~3.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Fleet Auditor

    alexgreensh/token-optimizer

    Cross-system agent token/cost audit (Claude Code, Codex, OpenClaw, Hermes, OpenCode): idle burns, model misrouting, config bloat, with dollar savings.

    2.5k GitHub stars~1.7k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Context Audit

    undefined-ui/second-brain-os

    Audit an agent's context layout against the four places: system prompt, tools, history, tail.

    999 GitHub stars~810 tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed
  • Headroom

    momori777/Artemis

    SmartCrusher + CCR context compression — crunch large JSON arrays, tool outputs, and search results to save tokens.

    377 GitHub stars~562 tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check passed

More from kurealnum/dotfiles

All 13 skills in this repo
  • Continuous Learning V2

    kurealnum/dotfiles

    Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

    290 GitHub starsUsed in 4 repos~3.1k tokens
    Auto-check passed
  • Frontend Patterns

    kurealnum/dotfiles

    Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

    290 GitHub starsUsed in 19 repos~3.7k tokens
    Auto-check passed
  • Coding Standards

    kurealnum/dotfiles

    Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

    290 GitHub starsUsed in 17 repos~2.9k tokens
    Auto-check passed
  • Python Patterns

    kurealnum/dotfiles

    Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.

    290 GitHub starsUsed in 8 repos~4.1k tokens
    Auto-check passed
  • Twitter Algorithm Optimizer

    kurealnum/dotfiles

    Analyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights.

    290 GitHub starsUsed in 8 repos~3.2k tokens
    Auto-check passed
  • DB Migrations

    kurealnum/dotfiles

    A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…

    290 GitHub stars~820 tokensUpdated 5 mo ago
    Auto-check passed

Questions about Cache Codebase

How do I install Cache Codebase in Claude Code?

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

How do I install Cache Codebase in Codex?

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

Can I use Cache Codebase 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 kurealnum/dotfiles --skill cache-codebase -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cache-codebase, .gemini/skills/cache-codebase, .github/skills/cache-codebase and .opencode/skills/cache-codebase in your project.

What does Cache Codebase need to run?

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

Does Cache Codebase 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 Cache Codebase 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 Cache Codebase use?

No licence was found for Cache Codebase or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Cache Codebase use?

About 817 tokens (SKILL.md is roughly 3.3k 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 Cache Codebase?

Skills that share tags, products or a category with Cache Codebase: Context Compression (guanyang/open-agent-hub, 973 stars), Bounty Hunter (1sadjlk/bounty-hunter-skill, 282 stars), Skill Shortener (luongnv89/asm, 953 stars) and Fleet Auditor (alexgreensh/token-optimizer, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cache Codebase?

kurealnum (a GitHub user) maintains it in kurealnum/dotfiles, which has 290 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on April 13, 2026.

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