skill-enhance

skill-enhance is a skill for Claude Code from techygarg/lattice. It costs 198 tokens per session (1,495 once invoked), scanned A, original, MIT.

A workflow for improving an existing Lattice skill, which is a set of instructions for an AI coding agent. It rewrites the instructions for clearer, more consistent behavior while checking that existing behavior is preserved.

In plain words
What is it for?
Reviewing a skill, mapping its dependencies, tightening its instructions, and running quality checks before finishing.
Why use it?
It helps remove ambiguity, duplication, and gaps that can make an agent act differently from one run to another.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./tools/install.sh <your-tool>/skills/ # smoke-test the skill loads.

Part of the lattice plugin — 33 skills, 1 agent shipped together

Good fit Reviewing a skill, mapping its dependencies, tightening its instructions, and running quality checks before finishing.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/techygarg/lattice
agentmods
npx agentmods add skills/techygarg/lattice/skill-enhance

Made for: Claude Code.

Or install lattice, the plugin that ships this one along with the rest of its 33 skills, 1 agent.

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 skill-enhance

README.md
[![agentmods](https://agentmods.dev/badge/skills/techygarg/lattice/skill-enhance.svg)](https://agentmods.dev/skills/techygarg/lattice/skill-enhance)
Your own site
<a href="https://agentmods.dev/skills/techygarg/lattice/skill-enhance"><img src="https://agentmods.dev/badge/skills/techygarg/lattice/skill-enhance.svg" alt="Measured on agentmods" height="20"></a>
Per session 198 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00198 $0.01495
Opus 5 $0.00099 $0.00747
Sonnet 5 $0.00040 $0.00299
Haiku 4.5 $0.00020 $0.00150

Measured 7d ago against content hash 799e2bc5e6c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

skill-enhance 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 7d ago.

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.

dev-skills/skill-enhance/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Enhance

Core responsibility: Take one existing Lattice skill from current state to modern-capable-model grade through a fixed pipeline: baseline → dependency map (background agent) → precision rewrite with guaranteed behavior preservation → combined three-skill QA → independent verification. The skill being enhanced must end up smaller-or-equal in redundancy, fully grammatical, convention-complete, and provably non-regressive. Organizing objective: deterministic execution — every sentence has exactly one reading, every reachable state exactly one action, every cross-file reference literally true. Acceptance test: two different capable models reading any sentence would act identically on it.

Input: One skill path or name (any tier). Molecules are the primary case.

Output: Edited files + close-out report.

STOP: NEVER commit, push, stash, checkout, reset, or run build-codex-plugin.sh. Working tree only — surface install/mirror commands for the user instead.

How to verify this skill did its job:

  • Pre-capture git diff exists; every preserved behavior in it is confirmed present after rewrite
  • QA trio re-run returns no critical gaps, CLEAN or tightened-only results, and PASS
  • Independent verifier reports zero real defects
  • Scenario walk leaves no branch with two possible readings

Step 1: Scope and baseline

  1. Read PROJECT.md (single source of truth for conventions) and the target SKILL.md in full.
  2. Classify: tier (atom / molecule / refiner); if molecule, its type per PROJECT.md — generative (code-forge, refactor-safely, bug-fix) or planning/interactive (design-blueprint, architecture-compass). This governs every later rule: never transplant confirmation gates into generative molecules, never strip them from planning ones.
  3. STOP: capture the full git diff of target + likely-touched files BEFORE any edit, written to a temp file whose path you will hand to the Step 5 verifier. This baseline is the preservation oracle for Steps 3-5. Without it, "did we drop anything?" is unanswerable.

Read the full file on GitHub · 80 lines

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. 7d ago First seen · 80 lines · 198 tokens per session scan A 799e2bc5e6c7

Subscribe to this mod's changes

skill-enhance is a skill published in the GitHub repository techygarg/lattice (185 stars, last pushed 2d ago), licensed MIT. It adds 198 tokens to every session and 1,495 once invoked, about $0.0010 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

name-your-business

Generate, refine, compare, and when needed validate distinctive names for startups, AI products, developer tools, protocols, open-source projects, apps, product families, local businesses, services, companies, nonprofits, and other organizations. Use when asked to name or rename a business, brand, product, venture…

tamdogood/builder-essential-skills · 156 tokens

top-one-percent

Teach any topic deeply from first principles and build evidence-based paths toward exceptional capability. Use when a user asks to understand, explain, learn, or deep-dive into a topic; asks why or how something works, why it matters, how alternatives compare, or what different perspectives reveal; requests current…

tamdogood/builder-essential-skills · 111 tokens

paper-opportunity-radar

Run a cumulative daily or retrospective sweep of research papers on a chosen topic, audit their claims, methods, integrity signals, and independent support, then identify overlooked but feasible project or business opportunities in a detailed source-grounded report. Use when asked to monitor papers every day, mine…

tamdogood/builder-essential-skills · 98 tokens

repo-system-map

Analyze a software repository at the latest remote main commit and turn its implemented architecture into a citation-backed interactive isometric system map with a legend, selectable infrastructure buildings, dependency and payload flows, and plain-language learner explanations. For eligible public GitHub…

tamdogood/builder-essential-skills · 123 tokens

build-scenario-tests

Inspect an unfamiliar repository, turn a focused Markdown behavior scenario into a deterministic test in the repository's native test stack, run it, and preserve traceability between intent and code. Use when asked to add scenario tests, compile acceptance criteria or Given/When/Then Markdown into executable tests…

tamdogood/builder-essential-skills · 104 tokens

create-marketing-kit

Create truthful, human-centered marketing campaigns for an app or product, including positioning, channel copy, original artwork, editable layouts, README banners, and selective website integration. Use when asked to make launch materials, promotional artwork, social assets, campaign kits, ads, or marketing content…

tamdogood/builder-essential-skills · 106 tokens