skill_optimizer_skill

This skill analyzes Claude Code skills for compliance and token efficiency, guiding improvements and generating an optimized, ready-to-deploy SKILL.md.
  • Python

8

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill bahayonghang/my-claude-code-settings --skill skill_optimizer

  • SKILL.md1.3 KB

Overview

This skill analyzes Claude Code skills for compliance, structure, and token efficiency. It automates detection of critical, recommended, and optional fixes and produces an optimized skill manifest that preserves intent while reducing token cost. The skill also produces a token budget comparison showing before/after savings.

How this skill works

It runs a static analysis script against a skill directory, then reads canonical checklist and pattern resources to cross-reference findings. The tool classifies issues into Critical, Recommended, and Optional, and creates concrete before/after fixes for each finding. Finally, it generates an optimized skill manifest constrained to allowed frontmatter fields and a concise body under the specified token budget.

When to use it

  • Before submitting a skill for review to ensure compliance and efficiency
  • When preparing a skill for production to reduce model invocation cost
  • When consolidating multiple fixes into a prioritized remediation plan
  • During audits to create a clear before/after token budget report

Best practices

  • Run analysis on the canonical skill directory that contains the skill manifest and resources
  • Address Critical issues first, then Recommended, and optionally Optional items
  • Keep the manifest body imperative, directive, and under the token budget limit
  • Move long reference material into resources to keep the manifest concise
  • Use the token budget table to guide trimming of prompts and examples

Example use cases

  • Automating a pre-release compliance check that enforces frontmatter field rules
  • Reducing token usage for high-traffic skills to lower runtime costs
  • Consolidating audit findings into an actionable remediation list with before/after examples
  • Generating a compact, production-ready skill manifest that preserves original behavior

FAQ

A valid skill directory containing the skill manifest and resource files.

Will the optimizer change behavior?

It preserves intent but trims and restructures content for compliance and token efficiency; all changes are presented as before/after fixes.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
skill_optimizer skill by bahayonghang/my-claude-code-settings | VeilStrat