Prompt Caching
davila7/claude-code-templates
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache prompt, response cache, cag, cache…
Computes and caches the engine-scale Pure classpath (via Maven dependency:build-classpath) for any pure-bearing project registered in config/projects.json - legend-pure, legend-engine, or a project…
$ npx skills add finos/legend-engine --skill pure-lsp-classpath -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install finos/legend-engine pure-lsp-classpath --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/finos/legend-engine.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/pure-dev/skills/pure-lsp-classpath .claude/skills/pure-lsp-classpath && 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 "pure-lsp-classpath" agent skill from https://github.com/finos/legend-engine/tree/master/plugins/pure-dev/skills/pure-lsp-classpath into .claude/skills/pure-lsp-classpath/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pure-lsp-classpath", 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/finos/legend-engine/tree/master/plugins/pure-dev/skills/pure-lsp-classpathType 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 finos/legend-engine --skill pure-lsp-classpath -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install finos/legend-engine pure-lsp-classpath --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/finos/legend-engine.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/pure-dev/skills/pure-lsp-classpath .agents/skills/pure-lsp-classpath && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pure-lsp-classpath" agent skill from https://github.com/finos/legend-engine/tree/master/plugins/pure-dev/skills/pure-lsp-classpath into .agents/skills/pure-lsp-classpath/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pure-lsp-classpath", 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 finos/legend-engine --skill pure-lsp-classpath -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install finos/legend-engine pure-lsp-classpath --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/finos/legend-engine.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/pure-dev/skills/pure-lsp-classpath .cursor/skills/pure-lsp-classpath && 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 "pure-lsp-classpath" agent skill from https://github.com/finos/legend-engine/tree/master/plugins/pure-dev/skills/pure-lsp-classpath into .cursor/skills/pure-lsp-classpath/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pure-lsp-classpath", 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/finos/legend-engine.git --path plugins/pure-dev/skills/pure-lsp-classpath--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 finos/legend-engine --skill pure-lsp-classpath -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install finos/legend-engine pure-lsp-classpath --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/finos/legend-engine.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/pure-dev/skills/pure-lsp-classpath .gemini/skills/pure-lsp-classpath && 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 "pure-lsp-classpath" agent skill from https://github.com/finos/legend-engine/tree/master/plugins/pure-dev/skills/pure-lsp-classpath into .gemini/skills/pure-lsp-classpath/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pure-lsp-classpath", 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 finos/legend-engine pure-lsp-classpathInstalls 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 finos/legend-engine --skill pure-lsp-classpath -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/finos/legend-engine.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/pure-dev/skills/pure-lsp-classpath .github/skills/pure-lsp-classpath && 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 "pure-lsp-classpath" agent skill from https://github.com/finos/legend-engine/tree/master/plugins/pure-dev/skills/pure-lsp-classpath into .github/skills/pure-lsp-classpath/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pure-lsp-classpath", 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 finos/legend-engine --skill pure-lsp-classpath -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install finos/legend-engine pure-lsp-classpath --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/finos/legend-engine.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/pure-dev/skills/pure-lsp-classpath .opencode/skills/pure-lsp-classpath && 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 "pure-lsp-classpath" agent skill from https://github.com/finos/legend-engine/tree/master/plugins/pure-dev/skills/pure-lsp-classpath into .opencode/skills/pure-lsp-classpath/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pure-lsp-classpath", 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.
pure-lsp-classpathComputes and caches the engine-scale Pure classpath (via Maven dependency:build-classpath) for any pure-bearing project registered in config/projects.json - legend-pure, legend-engine, or a project…
Pure Lsp Classpath is an agent skill from finos/legend-engine. Computes and caches the engine-scale Pure classpath (via Maven dependency:build-classpath) for any pure-bearing project registered in config/projects.json - legend-pure, legend-engine, or a project you've layered on top via PUREDEVEXTRAPROJECTSJSON - and resolves that project's dependency-ordered --repo-root set. Use before the first engine-scale LSP start in a repo, when the cached classpath is stale after pulling or rebuilding, when engine-scale boot fails on missing classpath entries, or when you need…
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 00108b7. 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:
mvngitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From 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.
Pure Lsp Classpath loads about 1.5k tokens when it runs. Until then it costs about 156 tokens; SKILL.md has 437 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 finos/legend-engine at commit 00108b7, republished under its Apache-2.0 licence (© finos). 437 words, ~1,496 tokens.
.claude/skills/pure-lsp-classpath/SKILL.md (or your agent's skills folder).The engine-scale LSP daemon needs (a) the full classpath of jars for the project you're working
in plus everything it depends on, and (b) the right --repo-roots so your edits are read from
source. Both are machine- and project-specific, so nothing can be a shipped file. This skill computes
and caches them for any pure-bearing project, respecting the dependency graph between them.
config/projects.json declares the pure-bearing projects and their dependsOn edges. Current graph:
legend-pure ← legend-enginelegend-pure (base, platform*), legend-engine (core*, → legend-pure)pure-lsp-classpath --list / pure-lsp-roots --list prints the registry + your checkout paths.
Add or adjust projects by editing config/projects.json (name, root/rootEnv, dependsOn,
module), or layer extra projects on top without editing it via PURE_DEV_EXTRA_PROJECTS_JSON
(os.pathsep-separated list of files shaped like config/projects.json; an extra entry's
dependsOn may reference legend-engine/legend-pure by name).
# Classpath (compute-if-stale, cached per project under ~/.cache/pure-dev/):
pure-lsp-classpath [project] # print cache path, computing if missing/stale
pure-lsp-classpath [project] --force # force recompute
pure-lsp-classpath [project] --path # print cache path only (never compute)
pure-lsp-classpath [project] --module M # override the Maven module to build from
# Repo-roots (dependency-ordered):
pure-lsp-roots [project] # DEFAULT: --repo-root for the FULL transitive dep chain
# (target + everything it depends on - edit anywhere)
pure-lsp-roots [project] --source X # EXACT custom set instead of the default (repeatable;
# target is always included) - everything else in the
# chain then resolves from the classpath jars, e.g.
# `pure-lsp-roots legend-engine --source legend-engine`
# source-roots only legend-engine, leaving legend-pure to
# load from jars.
pure-lsp-roots [project] --all-source # no-op alias for the default (kept for explicitness)
pure-lsp-roots [project] --json # root paths as a JSON arrayproject defaults to $PURE_DEV_PROJECT, else the project inferred from your current directory,
else you pass it explicitly. Checkout paths come from each project's rootEnv (e.g.
$LEGEND_ENGINE_ROOT) or $HOME/<root>.
The classpath is built from the highest project in the target's dependency set that has a classpath
module — its pure-ide-light (for legend-engine, legend-engine-pure-ide-light-http-server). That
one module's runtime classpath already contains every dependency-repo jar below it, so it covers the
whole stack: pure-lsp-classpath legend-engine builds from legend-engine's pure-ide-light module
(covers legend-engine + legend-pure jars). A project layered in via PURE_DEV_EXTRA_PROJECTS_JSON
with no classpath module of its own falls back the same way, to the highest dependency that has one
(then you source-root the extra project for your edits).
Caching: per-project cache ~/.cache/pure-dev/classpath-<project>.txt + a .stamp (project git
HEAD + module pom mtime). Reused until the checkout changes; recomputed on --force or staleness.
-o (offline) is tried first, retried online if needed. dependency:build-classpath output is the
os.pathsep-joined jar list --classpath-file expects.
# Work in legend-engine: DEFAULT already source-roots both legend-engine and legend-pure below it -
# no flag needed, edit anywhere in the stack:
pure-lsp-server $(pure-lsp-roots legend-engine) --classpath-file "$(pure-lsp-classpath legend-engine)" \
--port 8991 --socket-port 9100 --jvm-arg=-Dlegend.test.server.* ...
# Narrow to JUST legend-engine (legend-pure resolves from the classpath jars instead):
pure-lsp-server $(pure-lsp-roots legend-engine --source legend-engine) \
--classpath-file "$(pure-lsp-classpath legend-engine)" --port 8991 ...--repo-root overrides which .pure is read from source; the --classpath-file still supplies the
JVM's Java + every dependency-repo jar you are NOT source-rooting. (See
references/lsp-devloop-internals.md for why both are needed.)
git pull in the project or a dependency (the stamp catches most).mvn clean install that bumps a -SNAPSHOT version (jar paths change).--force.mvn install of the project, which
the dev setup already does). It resolves the dependency classpath; it does not build code.pure-ide-classpath.txt.© finos, Apache-2.0. 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/pure-dev/skills/pure-lsp-classpath of finos/legend-engine.
Open the folder on GitHubat commit 00108b7
Pure Lsp Classpath 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 |
|---|---|---|---|---|---|---|
| Pure Lsp Classpath this skillfinos/legend-engine | 112 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Prompt Cachingdavila7/claude-code-templates | 32k | 6 repos | ~452 | Automated safety check: Pass | MIT | |
| Turborepo Cachingwshobson/agents | 40k | 9 repos | ~2k | Automated safety check: Notes | MIT | |
| OmniRoute LLM Cachediegosouzapw/OmniRoute | 74k | 1 repos | ~529 | Automated safety check: Pass | MIT | |
| Cachingzebbern/claude-code-guide | 4.7k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Content-Hash File Cache Patternaffaan-m/ECC | 275k | 5 repos | ~1.4k | Automated safety check: Pass | MIT |
davila7/claude-code-templates
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache prompt, response cache, cag, cache…
wshobson/agents
Configures Turborepo pipelines and local or remote caching for monorepo builds, including Vercel remote cache, a self-hosted cache and cache-miss debugging.
diegosouzapw/OmniRoute
Documents OmniRoute's cache endpoints for reading cache statistics and clearing entries, statistics or the reasoning cache, with notes on TTL and similarity settings.
zebbern/claude-code-guide
Caching strategies — invalidation, TTL guidelines, cache keys, cache layers, and when not to cache.
affaan-m/ECC
Caches slow file processing results in Python keyed by a SHA-256 hash of the file content, so renames still hit the cache and edits invalidate it automatically.
code-yeongyu/oh-my-openagent
A skill your agent uses when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.
finos/legend-engine
Starts (or confirms) the standalone legend-engine backend - engine Server + H2 + local metadata server on fixed ports 9095/9092 - so a Pure LSP started with -Dlegend.test.
finos/legend-engine
Procedure for git-syncing and rebuilding a local legend-pure + legend-engine checkout, in dependency order, with pinned dependency versions resynced.
finos/legend-engine
Reformats a .pure file (or a block of Pure code) to a consistent house style: 2-space indentation with no column-aligned hanging indents, tight colons in type annotations, spaced pipes on…
finos/legend-engine
Compiles/checks a single .pure file against the already-running Legend Pure LSP bridge and reports diagnostics (errors/warnings) in under a second, as a fast alternative to a full mvn test/mvn…
finos/legend-engine
Attaches the pure-lsp HTTP bridge to an LSP daemon that is ALREADY running (e.g.
finos/legend-engine
Runs exactly ONE existing Pure function by path (signature, mangled id or bare path) through the running Legend Pure LSP bridge, without a go() wrapper, and returns its typed value in returnValue.
Computes and caches the engine-scale Pure classpath (via Maven dependency:build-classpath) for any pure-bearing project registered in config/projects.json - legend-pure, legend-engine, or a project…. Pure Lsp Classpath is an agent skill from finos/legend-engine.json - legend-pure, legend-engine, or a project you've layered on top via PUREDEVEXTRAPROJECTSJSON - and resolves that project's dependency-ordered --repo-root set.
Run `npx skills add finos/legend-engine --skill pure-lsp-classpath -a claude-code`. Or copy the skill folder (plugins/pure-dev/skills/pure-lsp-classpath in finos/legend-engine) into .claude/skills/pure-lsp-classpath in your project. Claude Code loads it when a task matches its description.
Run `npx skills add finos/legend-engine --skill pure-lsp-classpath -a codex`. Or copy the skill folder (plugins/pure-dev/skills/pure-lsp-classpath in finos/legend-engine) into .agents/skills/pure-lsp-classpath 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 finos/legend-engine --skill pure-lsp-classpath -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pure-lsp-classpath, .gemini/skills/pure-lsp-classpath, .github/skills/pure-lsp-classpath and .opencode/skills/pure-lsp-classpath in your project.
Going by SKILL.md and its folder, Pure Lsp Classpath needs the command-line tools its instructions call (mvn and git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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.
Pure Lsp Classpath is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k 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 Pure Lsp Classpath: Prompt Caching (davila7/claude-code-templates, 32k stars), Turborepo Caching (wshobson/agents, 40k stars), OmniRoute LLM Cache (diegosouzapw/OmniRoute, 74k stars) and Caching (zebbern/claude-code-guide, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
finos (a GitHub organization) maintains it in finos/legend-engine, which has 112 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.
Source: finos/legend-engine on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.