Optimize

Optimize is a skill for Claude Code, Codex from jSydorowicz21/Universal-AI-Infrustructure. It costs 52 tokens per session (2,012 once invoked), scanned A, original, no licence file.

An automated improvement loop that repeatedly changes a target and measures whether the result gets better. It can judge code with metrics or evaluate skills, prompts, and agents with an AI reviewer.

In plain words
What is it for?
Use it to reduce latency, improve a metric, optimize code, or refine skills, prompts, and agents through evaluation.
Why use it?
It provides a repeatable way to improve a measurable result instead of relying only on manual trial and error. It also supports optimization when the target is an instruction or agent behavior rather than code.

Skill for Claude CodeCodex

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/jsydorowicz21/universal-ai-infrustructure/optimize
Any agent
npx skills add jSydorowicz21/Universal-AI-Infrustructure --skill optimize
Clone the repo
git clone --depth 1 https://github.com/jSydorowicz21/Universal-AI-Infrustructure

Made for: Claude Code, Codex.

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 Optimize

README.md
[![agentmods](https://agentmods.dev/badge/skills/jsydorowicz21/universal-ai-infrustructure/optimize.svg)](https://agentmods.dev/skills/jsydorowicz21/universal-ai-infrustructure/optimize)
Your own site
<a href="https://agentmods.dev/skills/jsydorowicz21/universal-ai-infrustructure/optimize"><img src="https://agentmods.dev/badge/skills/jsydorowicz21/universal-ai-infrustructure/optimize.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,012 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00052 $0.02012
Opus 5 $0.00026 $0.01006
Sonnet 5 $0.00010 $0.00402
Haiku 4.5 $0.00005 $0.00201

Measured 4d ago against content hash 657c554ed67b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

LifeOS/install/skills/Optimize/SKILL.md · 181 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 4d ago First seen · 181 lines · 52 tokens per session scan A 657c554ed67b

Subscribe to this mod's changes

Optimize is a skill published in the GitHub repository jSydorowicz21/Universal-AI-Infrustructure (2 stars, last pushed 4d ago), with no licence file. It adds 52 tokens to every session and 2,012 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

lastlight-overlay

Create or customize a Last Light deployment OVERLAY (the private instance/ repo) — scaffold it, then fork built-in workflows, prompts, skills, or the agent persona (agent-context) so a deployment can override them. Use when the user wants to "create a Last Light overlay / instance repo", "customize / fork a workflow"…

nearform/lastlight · 115 tokens

motion

Build React animations with Motion (Framer Motion) - gestures (drag, hover, tap), scroll effects, spring physics, layout animations, SVG. Bundle: 2.3 KB (mini) to 34 KB (full). Use when: drag-and-drop, scroll animations, modals, carousels, parallax. Troubleshoot: AnimatePresence exit, list performance, Tailwind…

theexperiencecompany/gaia · 89 tokens

python-testing-patterns

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

theexperiencecompany/gaia · 38 tokens

audit-website

Audit websites for SEO, performance, security, technical, content, and 15 other issue cateories with 230+ rules using the squirrelscan CLI. Returns LLM-optimized reports with health scores, broken links, meta tag analysis, and actionable recommendations. Use to discover and asses website or webapp issues and health.

theexperiencecompany/gaia · 69 tokens

backlink-analyzer

Analyzes backlink profiles to understand link authority, identify toxic links, discover link building opportunities, and monitor competitor link acquisition. Essential for off-page SEO strategy.

theexperiencecompany/gaia · 36 tokens

impeccable

Create distinctive, production-grade frontend interfaces with high design quality. Generates creative, polished code that avoids generic AI aesthetics. Use when the user asks to build web components, pages, artifacts, posters, or applications, or when any design skill requires project context. Call with 'craft' for…

theexperiencecompany/gaia · 90 tokens