decipher-gas-optimizoor: Instructions file for Claude Code

CLAUDE.md

decipher-gas-optimizoor CLAUDE.md is an instructions file for Claude Code from zaryab2000/decipher-gas-optimizoor. It costs 1,547 tokens per session, scanned A, original, MIT.

Repository instructions for a Claude Code plugin that reviews Solidity smart contracts for ways to reduce gas use, using Markdown files and a shell hook.

In plain words
What is it for?
Use them when working on the plugin's gas-analysis commands, skills, hook, or configuration, and when validating the completed plugin.
Why use it?
They explain the plugin's structure and the single validation command, so changes can be checked without adding a build or package-install step.

Instructions file for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions subagents.

This is zaryab2000/decipher-gas-optimizoor's own configuration. It tells Claude Code how to work on decipher-gas-optimizoor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything decipher-gas-optimizoor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zaryab2000/decipher-gas-optimizoor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zaryab2000/decipher-gas-optimizoor/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/zaryab2000/decipher-gas-optimizoor

Made for: Claude Code.

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 decipher-gas-optimizoor CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zaryab2000/decipher-gas-optimizoor/claude-md/github.svg)](https://agentmods.dev/instructions/zaryab2000/decipher-gas-optimizoor/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/zaryab2000/decipher-gas-optimizoor/claude-md"><img src="https://agentmods.dev/badge/instructions/zaryab2000/decipher-gas-optimizoor/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for decipher-gas-optimizoor CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zaryab2000/decipher-gas-optimizoor/claude-md"><img src="https://agentmods.dev/badge/instructions/zaryab2000/decipher-gas-optimizoor/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,547 This file is loaded in full into every session.
When invoked 1,547 The same file — it is already loaded in full.
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.01547 $0.01547
Opus 5.5 $0.00619 $0.00619
Sonnet 5.5 $0.00309 $0.00309
Haiku 4.5 $0.00155 $0.00155

Measured 1mo ago against content hash 61f58f05e946, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

decipher-gas-optimizoor CLAUDE.md 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 1mo 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.

CLAUDE.md · 155 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

decipher-gas-optimizoor is a Claude Code plugin for automated Solidity gas optimization. Zero TypeScript, zero MCP, zero npm. The entire plugin is markdown skill files, markdown command files, and one bash hook script.

Resources

For plugin/skill questions, use the claude-code-guide subagent — it has access to official documentation.

Validation

claude plugin validate .

No build step. No compilation. This is the only automated check.

Plugin Structure

.claude-plugin/          # plugin.json, marketplace.json
commands/                # 5 slash command files (analyze, compare, baseline, explain, watch)
skills/                  # 11 skill domains, each in its own subdirectory
  <domain>/SKILL.md      # ≤250 lines — the skill file
  <domain>/resources/    # PATTERNS.md, CHECKLIST.md, EXAMPLE_FINDING.md
hooks/
  hooks.json             # PostToolUse triggers on src/**/*.sol Write/Edit
  scripts/gas-regression-guard.sh
agents/                  # gas-optimizer.md
docs/                    # configuration.md, evm-gas-reference.md

Technical Reference

Frontmatter

Every skills/*/SKILL.md requires three frontmatter fields:

name: <domain-name>
description: <trigger description — see Quality Standards below>
allowed-tools: Read Bash

allowed-tools is a space-delimited string, not a YAML list.

Skill File Structure

Every skills/*/SKILL.md must follow this exact 9-section structure (unnumbered headings):

  • YAML frontmatter — name, description, allowed-tools
  • ## Purpose
  • ## When to Use
  • ## When NOT to Use
  • ## Rationalizations to Reject (high-stakes skills only)
  • ## Platform Detection
  • ## Quick Reference — decision table or tree
  • ## Workflow — numbered steps with checkboxes
  • ## Output Format — with a filled-in concrete example finding

Read the full file on GitHub · 155 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. 1mo ago First seen · 155 lines · 1,547 tokens per session scan A 61f58f05e946

Subscribe to this mod's changes

decipher-gas-optimizoor CLAUDE.md is an instructions file published in the GitHub repository zaryab2000/decipher-gas-optimizoor (7 stars, last pushed 8mo ago), licensed MIT. It adds 1,547 tokens to every session, about $0.0062 per session on Opus 5.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-31.

Related

Other instructions, from other repositories