sync-skill-cache

sync-skill-cache is a skill for Claude Code, Codex from hyhmrright/logic-lens. It costs 103 tokens per session (504 once invoked), scanned A, original, MIT.

A maintenance skill that copies edited Logic-Lens skills into the installed plugin cache used by content evaluations.

In plain words
What is it for?
Use it after editing a skill or shared guide, before running content evaluations, and to check that the working files and cache match.
Why use it?
Without this synchronization, tests may evaluate an older cached version instead of the files you changed.

Skill for Claude CodeCodex

Part of the logic-lens plugin — 11 skills, 6 commands, 3 agents, 2 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hyhmrright/logic-lens/sync-skill-cache
Any agent
npx skills add hyhmrright/logic-lens --skill sync-skill-cache
Clone the repo
git clone --depth 1 https://github.com/hyhmrright/logic-lens

Made for: Claude Code, Codex.

Or install logic-lens, the plugin that ships this one along with the rest of its 11 skills, 6 commands, 3 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sync-skill-cache

README.md
[![agentmods](https://agentmods.dev/badge/skills/hyhmrright/logic-lens/sync-skill-cache.svg)](https://agentmods.dev/skills/hyhmrright/logic-lens/sync-skill-cache)
Your own site
<a href="https://agentmods.dev/skills/hyhmrright/logic-lens/sync-skill-cache"><img src="https://agentmods.dev/badge/skills/hyhmrright/logic-lens/sync-skill-cache.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 504 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.00504
Opus 5 $0.00051 $0.00252
Sonnet 5 $0.00021 $0.00101
Haiku 4.5 $0.00010 $0.00050

Measured 5d ago against content hash 5818174e89aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

sync-skill-cache scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/sync-cache.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/sync-skill-cache/SKILL.md · 38 lines

What it actually says

sync-skill-cache

content-evals invoke each skill through Claude Code's plugin mechanism, which loads from ~/.claude/plugins/cache/logic-lens-marketplace/logic-lens/<version>/skills/not the repo's skills/. Editing skills/ changes nothing the eval sees until you copy it into the cache. This is the single most expensive footgun in the iteration loop: skip it and you grade the previous skill while believing you tested your change.

Steps

  1. Sync + verify from the repo root:

    bash .claude/skills/sync-skill-cache/scripts/sync-cache.sh
    

    The script reads the active version from package.json, rsyncs skills/ into the matching cache dir (--delete, so removed files are removed in the cache too), then diffs the two to confirm they are byte-identical. It prints OK … on success.

  2. If it prints DRIFT or a missing-cache error: do not run evals. The two common causes:

    • The cache dir for the current package.json version doesn't exist (plugin not installed at this version) — reinstall/refresh the plugin, or check you didn't just bump the version without refreshing the cache.
    • rsync was blocked — rerun and read the diff list it prints.
  3. Verify-only mode (no copy) to answer "is the cache fresh?":

    bash .claude/skills/sync-skill-cache/scripts/sync-cache.sh --check
    

This skill is the mandatory gate between editing a skill and grading it. The iterate-skill orchestrator calls it automatically; run it by hand whenever you edit a skill outside that loop.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 38 lines · 103 tokens per session scan A 5818174e89aa

Subscribe to this mod's changes

sync-skill-cache is a skill published in the GitHub repository hyhmrright/logic-lens (22 stars, last pushed 7d ago), licensed MIT. It adds 103 tokens to every session and 504 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

river-review-code

コードの可読性、保守性、型安全性を検証する。他の専門エージェントに該当しない場合のデフォルトフォールバック先。.

s977043/river-review · 51 tokens

Standard Review Policy for Midstream

Applies standard AI review policy guidelines for midstream (implementation) phase reviews.

s977043/river-review · 23 tokens

review-loop

Cross-LLM iterative code review loop. Spawns a peer reviewer (Codex, Claude, or Gemini CLI) to review code changes, then iterates until both agents agree on the final code state. Code gets modified during the loop — the final output is improved code + consensus report. Use when: "review loop", "peer review", "cross…

stone16/harness-engineering-skills · 130 tokens

harness

Cybernetics-based multi-agent orchestration for complex tasks. Coordinates a Planner → Generator → Evaluator → Retro pipeline with clean-context sub-agents, per-checkpoint drift prevention, and persistent retro learning. Recommended workflow: Claude Code plans the spec (Session 1), Codex executes autonomously (Session…

stone16/harness-engineering-skills · 130 tokens

auto-verify

This skill suggests using /verify for software engineering tasks that would benefit from systematic verification.

vertti/se-cove-claude-plugin · 0 tokens

meta-tags-optimizer

Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…

nowork-studio/notfair-plugin · 91 tokens