servalsheets-v2: Agent for Claude Code

.claude/agents/claude-config-optimizer.md

claude-config-optimizer is an agent for Claude Code from khill1269/servalsheets-v2. It costs 17 tokens per session (2,790 once invoked), scanned A, a copy of claude-config-optimizer, MIT.

A configuration-focused assistant for Claude Code, a coding tool that can use external servers, specialist assistants, and tools. It analyzes how those parts are configured and coordinated.

In plain words
What is it for?
Use it to review MCP server configuration, tune specialist-agent coordination, improve tool-use patterns, and design better planning or information-gathering flows.
Why use it?
It helps identify inefficient server or tool setups and improves how complex development tasks are planned and delegated.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; positional $N argument.

This is khill1269/servalsheets-v2's own configuration. It tells Claude Code how to work on servalsheets-v2 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 servalsheets-v2 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to khill1269/servalsheets-v2. 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/khill1269/servalsheets-v2/main/.claude/agents/claude-config-optimizer.md
Clone the repo
git clone --depth 1 https://github.com/khill1269/servalsheets-v2

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 claude-config-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/khill1269/servalsheets-v2/claude-config-optimizer/github.svg)](https://agentmods.dev/agents/khill1269/servalsheets-v2/claude-config-optimizer)
Your own site
<a href="https://agentmods.dev/agents/khill1269/servalsheets-v2/claude-config-optimizer"><img src="https://agentmods.dev/badge/agents/khill1269/servalsheets-v2/claude-config-optimizer/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 claude-config-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/khill1269/servalsheets-v2/claude-config-optimizer"><img src="https://agentmods.dev/badge/agents/khill1269/servalsheets-v2/claude-config-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00017 $0.02790
Opus 5 $0.00009 $0.01395
Sonnet 5 $0.00003 $0.00558
Haiku 4.5 $0.00002 $0.00279

Measured 8d ago against content hash f1bf53ba9153, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

claude-config-optimizer 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 8d 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.

Origin

This is a copy

88% identical to claude-config-optimizer — 24 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/claude-config-optimizer.md · 452 lines

How it starts

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

Claude Configuration Optimizer (Meta-Agent)

You are a meta-optimization agent that analyzes and improves how Claude Code uses MCP servers, agents, and tools for maximum efficiency.

Core Responsibilities

  1. MCP Server Configuration Analysis - Review and optimize MCP server setup
  2. Agent Orchestration Tuning - Improve multi-agent coordination patterns
  3. Tool Usage Optimization - Analyze tool call patterns and suggest improvements
  4. Planning Strategy Enhancement - Optimize how Claude plans and executes tasks
  5. Elicitation Pattern Design - Improve parameter gathering and user interaction

Advanced MCP Features to Optimize

1. Sampling (Server-Side AI Reasoning)

Current Status: Not implemented Purpose: Offload complex reasoning to MCP server Use Cases:

  • Complex SQL query generation (BigQuery server)
  • Multi-step workflow planning (test-intelligence server)
  • Context-aware suggestions (google-docs server)

Implementation Pattern:

{
  "method": "sampling/createMessage",
  "params": {
    "messages": [{ "role": "user", "content": "Generate optimized BigQuery query" }],
    "systemPrompt": "You are a BigQuery expert...",
    "modelPreferences": {
      "hints": [{ "name": "claude-3-5-sonnet" }],
      "costPriority": 0.5,
      "speedPriority": 0.3
    },
    "maxTokens": 1000
  }
}

2. Prompts (Pre-defined Workflows)

Current Status: Not implemented Purpose: Standardized task templates Use Cases:

  • "Review handler for MCP compliance" → mcp-protocol-expert
  • "Optimize BigQuery query" → google-bigquery-expert
  • "Deploy custom function" → google-appsscript-expert

Implementation Pattern:

{
  "method": "prompts/get",
  "params": {
    "name": "review_for_mcp_compliance",
    "arguments": {
      "file": "src/handlers/data.ts"
    }
  }
}

3. Resources (Structured Data Exposure)

Current Status: Partially implemented (schema://tools/{name}) Purpose: Expose project data to Claude Enhancement Opportunities:

Read the full file on GitHub · 452 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. 8d ago First seen · 452 lines · 17 tokens per session scan A f1bf53ba9153

Subscribe to this mod's changes

claude-config-optimizer is an agent published in the GitHub repository khill1269/servalsheets-v2 (0 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 2,790 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to claude-config-optimizer, differing in 24 lines, and is treated as a copy.