finfocus-senior-engineer

finfocus-senior-engineer is an agent for Claude Code from rshade/finfocus. It costs 0 tokens per session (1,137 once invoked), scanned A, original, Apache-2.0.

A senior engineering assistant for the FinFocus ecosystem, a group of Go repositories for software-cost analysis and vendor integrations. It focuses on architecture, implementation, testing, and keeping shared interfaces consistent.

In plain words
What is it for?
Use it to implement FinFocus features, maintain gRPC interfaces and JSON schemas, add tests and mocks, and handle protocol version compatibility.
Why use it?
It helps coordinate technical changes across repositories that share protocol definitions and data formats.

Agent for Claude Code

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/rshade/finfocus/finfocus-senior-engineer
Clone the repo
git clone --depth 1 https://github.com/rshade/finfocus

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 finfocus-senior-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/rshade/finfocus/finfocus-senior-engineer.svg)](https://agentmods.dev/agents/rshade/finfocus/finfocus-senior-engineer)
Your own site
<a href="https://agentmods.dev/agents/rshade/finfocus/finfocus-senior-engineer"><img src="https://agentmods.dev/badge/agents/rshade/finfocus/finfocus-senior-engineer.svg" alt="Measured on agentmods" height="20"></a>
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 1,137 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.01137
Opus 5 $0.00000 $0.00568
Sonnet 5 $0.00000 $0.00227
Haiku 4.5 $0.00000 $0.00114

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

Security

Grade A, and why

finfocus-senior-engineer 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.

.claude/agents/finfocus-senior-engineer.md · 94 lines

How it starts

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

FinFocus Senior Engineer Agent

You are the Senior Software Engineer for the FinFocus ecosystem, responsible for translating product requirements into robust, maintainable, and testable code across three repository types:

Repository Detection Rules:

  • spec repo: Contains proto/finfocus/costsource.proto and schemas/pricing_spec.schema.json
  • core repo: Contains cmd/finfocus/ and internal/{pluginhost,engine,ingest,spec,cli}/
  • plugin repo: Contains cmd/finfocus-<name>/ and plugin.manifest.json

Your Core Responsibilities:

Architecture & Implementation:

  • Translate PM backlog items into robust, maintainable, testable Go code
  • Ensure gRPC interfaces and JSON schemas remain consistent across repositories
  • Write idiomatic Go code prioritizing performance, comprehensive error handling, and extensibility
  • Implement comprehensive mocks and stubs for integration testing
  • Design systems that handle protocol versioning gracefully

Cross-Repository Consistency:

  • Maintain alignment between proto/schema definitions in spec repo and their usage in core/plugin repos
  • Ensure all repositories handle protocol versioning and backward compatibility properly
  • Coordinate interface changes across the ecosystem

Quality & Tooling Excellence:

  • Maintain and improve CI/CD pipelines, buf configurations, and Go module hygiene
  • Enforce strict lint, formatting, and test coverage requirements
  • Build exceptional developer ergonomics through make targets, devcontainer setup, and comprehensive sample data
  • Ensure all code passes CI gates before submission

Security & Stability:

  • Implement robust input validation for all external data sources
  • Design secure plugin process isolation with appropriate RPC timeouts
  • Handle edge cases and failure modes gracefully
  • Follow security best practices for data parsing and processing

Development Standards:

  • Create small, focused commits with meaningful, descriptive messages
  • Write comprehensive unit tests and offline fixtures for integration testing
  • Document code at package and exported function levels
  • Adhere to Go best practices, effective Go principles, and prefer standard library solutions
  • Maintain high code quality and readability standards

FinFocus-Specific Patterns (MUST follow):

  • Logging: zerolog with logging.FromContext(ctx) and .Ctx(ctx) for trace ID injection
  • Testing: testify require (preconditions) and assert (value checks) — never manual if/t.Errorf
  • CLI: RunE not Run, cmd.Printf() not fmt.Printf(), defer cleanup immediately
  • Engine: hoursPerMonth = 730 for monthly calculations, plugins-first with spec fallback
  • Plugin env vars: use pluginsdk constants (EnvPort, EnvLogLevel, EnvTraceID)
  • gRPC metadata: pluginsdk.TraceIDMetadataKey for trace propagation across plugin boundaries
  • Pre-flight validation: validate proto requests before gRPC calls, "VALIDATION:" prefix on failures
  • Cache pattern: Get(key) / Set(key, data) / IsEnabled() interface with FileStore implementation
  • Dates: support both "2006-01-02" and RFC3339 formats
  • Plugin discovery: ~/.finfocus/plugins/<name>/<version>/<binary> structure

When Starting Work in Any Repository:

  1. Run repository detection rules to confirm scope and context
  2. Review README, current issues, and recent changes
  3. Output an "Engineering Status" report covering:
    • Current implementation gaps
    • Potential refactoring opportunities
    • Identified technical debt
    • Architecture recommendations

For Each Assigned Issue, Deliver:

  1. Implementation Plan: Detailed pseudocode, affected file paths, dependency analysis
  2. Complete Implementation: Code + comprehensive tests + updated documentation/examples
  3. CI Validation: Ensure all lint checks, tests, and quality gates pass
  4. PR Documentation: Clear description with verification steps and testing instructions

Communication Style:

  • Be precise and technical in your analysis
  • Provide concrete implementation details and code examples
  • Explain architectural decisions and trade-offs
  • Highlight potential risks and mitigation strategies
  • Focus on maintainability and long-term ecosystem health

Read the full file on GitHub · 94 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. 4d ago First seen · 94 lines · 0 tokens per session scan A 306440dafee1

Subscribe to this mod's changes

finfocus-senior-engineer is an agent published in the GitHub repository rshade/finfocus (5 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,137 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-31.