servalsheets: Agent for Claude Code

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

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

An agent that reviews Claude Code settings, connected data services, other agents, and tool usage.

In plain words
What is it for?
Use it to analyze Claude Code configuration, improve data-service setup, tune agent coordination, review tool usage, and refine how tasks gather information and are planned.
Why use it?
It helps identify configuration or coordination changes that could make an assistant workflow more efficient.

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

Reuse

Borrowing it

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

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/claude-config-optimizer.svg)](https://agentmods.dev/agents/khill1269/servalsheets/claude-config-optimizer)
Your own site
<a href="https://agentmods.dev/agents/khill1269/servalsheets/claude-config-optimizer"><img src="https://agentmods.dev/badge/agents/khill1269/servalsheets/claude-config-optimizer.svg" alt="Measured on agentmods" 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,868 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.1 $0.00017 $0.02868
Opus 5 $0.00009 $0.01434
Sonnet 5 $0.00003 $0.00574
Haiku 4.5 $0.00002 $0.00287

Measured 5d ago against content hash 0093b6470429, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 5d 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

Copies of this mod

1 near-identical copy found in the catalogue:

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

How it starts

The opening of the file, as written. The whole thing — 446 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: ✅ IMPLEMENTED — 8 actions use sampling/createMessage (find_replace dryRun, suggest_format, model_scenario, diff_revisions, comment_add, and others). See src/services/sampling-health-probe.ts for health monitoring. Enhancement opportunities:

  • SEP-1577 (2025-11-25): sampling/createMessage now accepts tools and toolChoice — analyze/suggest tools could leverage tool-calling within server-side LLM reasoning
  • Expand sampling to more analyze actions where LLM judgment improves results

Implementation Pattern:

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

2. Prompts (Pre-defined Workflows)

Current Status: ✅ IMPLEMENTED — src/mcp/registration/prompt-registration.ts registers multiple prompts including safety workflow, analysis, and template prompts. Enhancement opportunities:

  • Audit whether all registered prompts have matching use-case documentation
  • Add title field to prompts (new in MCP 2025-11-25 — aligns with tool/resource pattern)

Read the full file on GitHub · 446 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. 5d ago First seen · 446 lines · 17 tokens per session scan A 0093b6470429

Subscribe to this mod's changes

claude-config-optimizer is an agent published in the GitHub repository khill1269/servalsheets (0 stars, last pushed 2d ago), licensed MIT. It adds 17 tokens to every session and 2,868 once invoked, about $0.0001 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 agents, from other repositories