API cost & performance scanner — identify expensive operations and optimization opportunities

MITAuto-check passed

Install Optimize

skills CLI
$ npx skills add atelier-fashion/adlc-toolkit --skill optimize -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install atelier-fashion/adlc-toolkit optimize --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/atelier-fashion/adlc-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/optimize .claude/skills/optimize && rm -rf skills-src

Use ~/.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/

Facts

Skill name
optimize
GitHub stars
171
Token cost
~714 tokens
SKILL.md length
320 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

API cost & performance scanner — identify expensive operations and optimization opportunities

  • Works in 4 steps: Determine Focus → Launch Scanner Agents → Build Optimization Report → …
  • SKILL.md covers Ethos, Context, Input and Prerequisites, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Optimize is an agent skill from atelier-fashion/adlc-toolkit. API cost & performance scanner — identify expensive operations and optimization opportunities

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Shared SDLC skills and templates for Claude Code. The licence is MIT.

Example prompts

  • “/optimize”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Determine Focus
  2. Launch Scanner Agents
  3. Build Optimization Report
  4. Prioritized Recommendations

What it can do on your machine

Read from SKILL.md and the folder at commit 3a48c27. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Optimize loads about 714 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 320 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~714

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from atelier-fashion/adlc-toolkit at commit 3a48c27, republished under its MIT licence (© atelier-fashion). 320 words, ~714 tokens.

Download SKILL.mdSave it as .claude/skills/optimize/SKILL.md (or your agent's skills folder).
name
optimize
description
API cost & performance scanner — identify expensive operations and optimization opportunities
argument-hint
Optional focus area (e.g., "ai", "caching", "queries", "latency")

/optimize — API Cost & Performance Scanner

You are scanning this project's API and infrastructure for cost and performance optimization opportunities.

Ethos

!test -s .adlc/ETHOS.md && cat .adlc/ETHOS.md || echo No ethos found — run /init to vendor .adlc/ETHOS.md

Context

  • Architecture: !cat .adlc/context/architecture.md || echo No architecture context found
  • Project overview: !cat .adlc/context/project-overview.md || echo No project overview found

Input

Focus: $ARGUMENTS

Prerequisites

Before proceeding, verify that .adlc/context/architecture.md and .adlc/context/project-overview.md exist. If any of these files are missing, stop and tell the user: "The .adlc/ structure hasn't been initialized. Run /init first to set up the project context."

Instructions

Step 1: Determine Focus
  1. If given a focus area, prioritize that dimension
  2. If no argument, scan all dimensions
  3. Read .adlc/context/architecture.md for current caching and optimization patterns
Step 2: Launch Scanner Agents

Launch 3 formal scanner agents in parallel using the Agent tool. Each agent is defined in ~/.claude/agents/ with its full scanning checklist and model selection (sonnet for deep analysis).

  1. api-cost-scanner agent — provide the focus scope and architecture.md for caching context
  2. db-perf-scanner agent — provide the focus scope
  3. latency-scanner agent — provide the focus scope

Each agent returns structured findings with estimated impact, effort, and risk.

Step 3: Build Optimization Report
Cost Summary
ServiceEst. Monthly UsageEst. Monthly CostTop Optimization
Claude SonnetX calls$X...
Claude HaikuX calls$X...
Gemini FlashX calls$X...
SerpAPIX calls$X...
FirestoreX reads/writes$X...
GCSX operations$X...
Performance Hotspots

Rank endpoints by estimated latency, highlighting:

  • Sequential operations that could be parallel
  • Missing caches
  • N+1 query patterns
  • Unnecessary data fetching
Optimization Opportunities

For each opportunity:

  • What: Description of the optimization
  • Impact: Cost savings or latency reduction estimate
  • Effort: Small / Medium / Large
  • Risk: Low / Medium / High (chance of breaking something)
Step 4: Prioritized Recommendations
  1. Rank optimizations by impact/effort ratio
  2. Group into quick wins (small effort, high impact) and strategic improvements
  3. Suggest which items warrant a full ADLC requirement (candidates for /spec)

© atelier-fashion, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in optimize of atelier-fashion/adlc-toolkit.

Open the folder on GitHubat commit 3a48c27

Compare with similar skills

Optimize 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.

Optimize compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Optimize this skillatelier-fashion/adlc-toolkit171—~714Automated safety check: PassMIT
Cost Optimizeruvnet/ruflo74k—~997Automated safety check: NotesMIT
Gke Cost Optimizationgoogle/skills21k—~2.1kAutomated safety check: PassApache-2.0
Cloud Cost Optimizationwshobson/agents40k14 repos~1.7kAutomated safety check: PassMIT
LLM Cost Optimizationsickn33/agentic-awesome-skills47k1 repos~2.5kAutomated safety check: PassMIT
Az Cost Optimizegithub/awesome-copilot40k1 repos~3.2kAutomated safety check: PassMIT

Similar skills

  • Cost Optimize

    ruvnet/ruflo

    Analyze token usage patterns and recommend cost optimizations with estimated savings

    74k GitHub stars~997 tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Official

    Optimizes GKE costs, rightsizes workloads, and configures Spot VMs, CUDs, cost allocation, and resource quotas.

    21k GitHub stars~2.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Cuts cloud spend across AWS, Azure, GCP and OCI with cost tagging, rightsizing, commitment and spot pricing models, and architecture changes.

    40k GitHub starsUsed in 14 repos~1.7k tokens
    DevOps & CloudAuto-check passed
  • LLM Cost Optimization

    sickn33/agentic-awesome-skills

    Reduce LLM API and infrastructure costs through model selection, prompt caching, batching, caching, quantization, and self-hosting strategies.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Az Cost Optimize

    github/awesome-copilot

    Official

    Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.

    40k GitHub starsUsed in 1 repo~3.2k tokens
    DevOps & CloudAuto-check passed
  • AWS Cost Optimize

    github/awesome-copilot

    Official

    Analyze AWS resources used in the app (IaC files and/or resources in a target account/region) and optimize costs - creating GitHub issues for identified optimizations.

    40k GitHub stars~2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from atelier-fashion/adlc-toolkit

All 16 skills in this repo
  • Canary

    atelier-fashion/adlc-toolkit

    Canary deployment with smoke tests — deploy to a zero-traffic revision, run health checks, and promote on success.

    171 GitHub stars~2.2k tokensUpdated 11 days ago
    Auto-check passed
  • Sprint

    atelier-fashion/adlc-toolkit

    Parallel pipeline orchestrator — launch multiple /proceed sessions concurrently across REQs, monitor progress, and report status.

    171 GitHub stars~9.8k tokensUpdated 11 days ago
    Auto-check passed
  • Template Drift

    atelier-fashion/adlc-toolkit

    Detect drift across ALL the sync surfaces /init vendors into a project — .adlc/templates/.md, .adlc/partials/.sh, .adlc/ETHOS.md, and the workflow runtime (.adlc/workflows/adlc-sprint.workflow.js +…

    171 GitHub stars~9k tokensUpdated 11 days ago
    Auto-check passed
  • Proceed

    atelier-fashion/adlc-toolkit

    End-to-end ADLC pipeline that takes a requirement from spec through to deployed.

    171 GitHub stars~14k tokensUpdated 11 days ago
    Auto-check: warnings
  • Init

    atelier-fashion/adlc-toolkit

    Bootstrap .adlc/ structure in a new repo or subdirectory. An agent skill from atelier-fashion/adlc-toolkit.

    171 GitHub stars~4.1k tokensUpdated 11 days ago
    Auto-check passed
  • Manifest

    atelier-fashion/adlc-toolkit

    Remote-derived view of all in-flight ADLC work — open PRs and pushed feat/REQ- branches across every session — with a coarse component/domain overlap report.

    171 GitHub stars~4.8k tokensUpdated 11 days ago
    Auto-check passed

Questions about Optimize

What does Optimize do?

API cost & performance scanner — identify expensive operations and optimization opportunities. Optimize is an agent skill from atelier-fashion/adlc-toolkit.

How do I install Optimize in Claude Code?

Run `npx skills add atelier-fashion/adlc-toolkit --skill optimize -a claude-code`. Or copy the skill folder (optimize in atelier-fashion/adlc-toolkit) into .claude/skills/optimize in your project. Claude Code loads it when a task matches its description.

How do I install Optimize in Codex?

Run `npx skills add atelier-fashion/adlc-toolkit --skill optimize -a codex`. Or copy the skill folder (optimize in atelier-fashion/adlc-toolkit) into .agents/skills/optimize in your project. Codex loads it when a task matches its description.

Can I use Optimize in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add atelier-fashion/adlc-toolkit --skill optimize -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/optimize, .gemini/skills/optimize, .github/skills/optimize and .opencode/skills/optimize in your project.

What does Optimize need to run?

SKILL.md names no scripts, command-line tools or credentials: Optimize is instructions for the agent only.

Does Optimize access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Optimize safe to install?

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.

What licence does Optimize use?

Optimize is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Optimize use?

About 714 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Optimize?

Skills that share tags, products or a category with Optimize: Cost Optimize (ruvnet/ruflo, 74k stars), Gke Cost Optimization (google/skills, 21k stars), Cloud Cost Optimization (wshobson/agents, 40k stars) and LLM Cost Optimization (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Optimize?

atelier-fashion (a GitHub organization) maintains it in atelier-fashion/adlc-toolkit, which has 171 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on September 28, 2026.

Source: atelier-fashion/adlc-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.