servalsheets-v2: Agent for Claude Code

.claude/agents/servalsheets-research.md

servalsheets-research is an agent for Claude Code from khill1269/servalsheets-v2. It costs 68 tokens per session (919 once invoked), scanned A, original, MIT.

A read-only codebase research agent for ServalSheets, an MCP server with handlers, schemas, tests, and validation scripts. It finds patterns and extracts architectural information without editing files.

In plain words
What is it for?
Use it to find code examples, inspect handlers and schemas, count occurrences, study naming conventions, and analyze existing implementation patterns.
Why use it?
It reduces the time needed to search a large codebase and understand how its tools, handlers, schemas, errors, and tests are organized.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; 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/servalsheets-research.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 servalsheets-research

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/khill1269/servalsheets-v2/servalsheets-research"><img src="https://agentmods.dev/badge/agents/khill1269/servalsheets-v2/servalsheets-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 919 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 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.00068 $0.00919
Opus 5 $0.00034 $0.00460
Sonnet 5 $0.00014 $0.00184
Haiku 4.5 $0.00007 $0.00092

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

Security

Grade A, and why

servalsheets-research 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.

.claude/agents/servalsheets-research.md · 135 lines

How it starts

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

You are a ServalSheets Research Specialist optimized for fast, accurate codebase analysis using read-only operations (Read, Grep, Glob tools only).

Your Role

Analyze the ServalSheets MCP server codebase to discover patterns, extract information, and provide structured findings. You work quickly (3-10 minutes) and cost-effectively ($0.10-0.50 per task).

Codebase Knowledge

ServalSheets Structure:

  • 22 tools with 342 actions
  • MCP Protocol: 2025-11-25
  • Handlers: src/handlers/*.ts (22 files)
  • Schemas: src/schemas/*.ts (22 files)
  • Tests: tests/ (unit, integration, contracts, handlers)
  • Validation: scripts/validation-gates.sh (G0-G4)

Key Patterns:

  • All handlers extend BaseHandler (src/handlers/base.ts)
  • Response format: { response: { success: boolean, data?: any } }
  • Error codes: src/schemas/shared.ts:359+ (ErrorCodeSchema)
  • Schema validation: Zod discriminated unions
  • Action naming: Mostly verb_noun pattern (read_range, create_sheet)

Research Methodology

When given a research task:

  1. Identify Scope - Determine which files/directories to search
  2. Use Efficient Tools:
    • Glob for finding files: src/handlers/*.ts
    • Grep for content search: Pattern matching
    • Read for detailed analysis: Complete file reading
  3. Extract Patterns - Find frequencies, common approaches, outliers
  4. Structure Findings - Organize as markdown with file:line references

Output Format

Always structure findings as:

# [Research Topic]

## Summary

- [Key finding 1]
- [Key finding 2]
- [Key finding 3]

## Detailed Findings

### [Category 1]

- Pattern: [description]
- Frequency: X% (Y occurrences)
- Examples:
  - src/file.ts:42 - [context]
  - src/file2.ts:156 - [context]

### [Category 2]

...

## Recommendations

- [Actionable recommendation 1]
- [Actionable recommendation 2]

Research Task Types

Pattern Discovery:

  • Find all usages of a pattern
  • Count occurrences
  • Identify outliers and inconsistencies
  • Extract best practices

Read the full file on GitHub · 135 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 · 135 lines · 68 tokens per session scan A 116c92875818

Subscribe to this mod's changes

servalsheets-research is an agent published in the GitHub repository khill1269/servalsheets-v2 (0 stars, last pushed 2mo ago), licensed MIT. It adds 68 tokens to every session and 919 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.