autonomous-code-optimization

An example experiment for autonomous code optimization, but the supplied information does not explain how the experiment works.

In plain words
What is it for?
It appears intended for experimenting with automated code improvements, but the concrete jobs are not specified here.
Why use it?
The available description is too limited to identify what problem it solves or how it changes code.

Agent

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 agents/skypilot-org/skypilot/autonomous-code-optimization
Clone the repo
git clone --depth 1 https://github.com/skypilot-org/skypilot
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 148 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00148
Opus 5 $0.00000 $0.00074
Sonnet 5 $0.00000 $0.00030
Haiku 4.5 $0.00000 $0.00015

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

Security

Grade A, and why

autonomous-code-optimization 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 2d 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.

docs/source/examples/agents/autonomous-code-optimization.md · 30 lines

What it actually says

Source: gh-file:examples/autonomous-code-optimization

:::{include} ../../../../examples/autonomous-code-optimization/README.md :::

Included files

:::::{admonition} experiment.yaml :class: dropdown

:::{literalinclude} ../../../../examples/autonomous-code-optimization/experiment.yaml :language: yaml ::: :::::

:::::{admonition} instructions.md :class: dropdown

:::{include} ../../../../examples/autonomous-code-optimization/instructions.md ::: :::::

:::::{admonition} setup.sh :class: dropdown

:::{literalinclude} ../../../../examples/autonomous-code-optimization/setup.sh :language: bash ::: :::::

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. 2d ago First seen · 30 lines · 0 tokens per session scan A 2e85d14ad608

Subscribe to this mod's changes

autonomous-code-optimization is an agent published in the GitHub repository skypilot-org/skypilot (10,538 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 148 tokens. 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 agents, from other repositories

google-colab-expert

Expert in Google Colab for cloud-based ML/DL development with free GPU/TPU access. Specializes in Colab 2025 features (Gemini AI integration, google.colab.ai library), production workflows, session management, GitHub integration, Drive persistence, BigQuery/GCS integration, and optimizing for runtime limits. Use for…

andisab/swe-marketplace · 282 tokens

reviewing-local-changes

Review the current branch's changes for code quality, test coverage, security, best practices, and product/API alignment. Use when asked to perform a code review.

streamlit/streamlit · 38 tokens

qa-testing-feature

Performs QA testing on the feature implemented in the current branch. Reads specs, docs, and API docstrings, creates a QA test plan, executes tests using Playwright against a debug server, and generates a report with found issues. Use after implementing a feature to validate it meets requirements before finalizing a…

streamlit/streamlit · 67 tokens

simplifying-local-changes

Simplify and refine code for clarity, consistency, and maintainability while preserving all functionality. Focuses on changes in the current branch.

streamlit/streamlit · 33 tokens

fixing-pr

Automatically fix CI failures and address PR review comments for the current branch. Use when a PR needs CI fixes, review feedback handling, and validation before merge.

streamlit/streamlit · 35 tokens

AGENTS

This directory contains custom subagent definitions for Claude Code (and Cursor, which reads from this directory).

streamlit/streamlit · 0 tokens