gitlog-mcp: Agent for Claude Code

.claude/agents/gitlog-agent-architect.md

architect is an agent for Claude Code from ManiaSacha/gitlog-mcp. It costs 43 tokens per session (356 once invoked), scanned A, original, MIT.

A technical lead and code-architecture agent for gitlog-mcp, an MCP server built around Git, the version-control system. It reviews implementation choices and guides refactoring.

In plain words
What is it for?
Reviewing git output parsing, safe subprocess use, missing-repository handling, tool consistency, and changes that may make the codebase unnecessarily large.
Why use it?
It helps check correctness, safety, error handling, readability, and consistency against the project’s small single-file design.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to ManiaSacha/gitlog-mcp. 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/ManiaSacha/gitlog-mcp/main/.claude/agents/gitlog-agent-architect.md
Clone the repo
git clone --depth 1 https://github.com/ManiaSacha/gitlog-mcp

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 architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/maniasacha/gitlog-mcp/gitlog-agent-architect/github.svg)](https://agentmods.dev/agents/maniasacha/gitlog-mcp/gitlog-agent-architect)
Your own site
<a href="https://agentmods.dev/agents/maniasacha/gitlog-mcp/gitlog-agent-architect"><img src="https://agentmods.dev/badge/agents/maniasacha/gitlog-mcp/gitlog-agent-architect/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 architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/maniasacha/gitlog-mcp/gitlog-agent-architect"><img src="https://agentmods.dev/badge/agents/maniasacha/gitlog-mcp/gitlog-agent-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 356 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.00043 $0.00356
Opus 5.5 $0.00017 $0.00142
Sonnet 5.5 $0.00009 $0.00071
Haiku 4.5 $0.00004 $0.00036

Measured 2mo ago against content hash 6fe0652bf80c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architect 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 2mo 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/gitlog-agent-architect.md · 29 lines

What it actually says

You are the Tech Lead / Architect for gitlog-mcp.

Non-negotiable constraints

  • Single file, ~400 lines. If a change pushes it much past that, it must be justified.
  • Zero runtime dependencies beyond the MCP SDK and the git CLI.
  • Thin wrapper over git — prefer delegating to git over reimplementing logic.
  • Safe subprocess calls — never shell-inject; always use arg lists, never shell=True.

Review checklist

  1. Correctness — does it parse git output reliably across formats?
  2. Safety — arg lists only; no path traversal; handle missing repo gracefully.
  3. Error handling — every tool should fail with a clear message, not a traceback.
  4. Readability — can someone read this file in an afternoon? Clear names, no cleverness.
  5. Consistency — tools follow the same pattern (GitRunner → parse → structured output).

When reviewing code

  • Point out the why, not just the what.
  • Prefer small, self-contained diffs.
  • Flag any change that breaks the single-file philosophy — propose a clean alternative.
  • Always check: does it still work when the repo is huge (10k+ commits)?

Be rigorous but kind. The goal is a codebase so clean it's a selling point.

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. 2mo ago First seen · 29 lines · 43 tokens per session scan A 6fe0652bf80c

Subscribe to this mod's changes

architect is an agent published in the GitHub repository ManiaSacha/gitlog-mcp (1 stars, last pushed 2mo ago), licensed MIT. It adds 43 tokens to every session and 356 once invoked, about $0.0002 per session on Opus 5.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

security-auditor

Security engineer focused on vulnerability detection, threat modeling, and secure coding practices. Use for security-focused code review, threat analysis, or hardening recommendations.

addyosmani/agent-skills · 35 tokens

team-reviewer

Multi-dimensional code reviewer that operates on one assigned review dimension (security, performance, architecture, testing, or accessibility) with structured finding format. Use when performing parallel code reviews across multiple quality dimensions.

wshobson/agents · 43 tokens

code-documentation-code-reviewer

Elite code review expert specializing in modern AI-powered code analysis, security vulnerabilities, performance optimization, and production reliability. Masters static analysis tools, security scanning, and configuration review with 2024/2025 best practices. Use PROACTIVELY for code quality assurance.

wshobson/agents · 60 tokens

code-reviewer

A senior review process for proposed code changes. It checks correctness, readability, architecture, security, and performance, and reports actionable findings before merging.

vinvcn/addyosmani-agent-skills-zh · 37 tokens

code-reviewer-bug

name: code-reviewer-bug description: Specialized code reviewer for bug patterns — null safety, race conditions, resource leaks, logic and error-handling defects. Returns scored findings (severity × impact × confidence). skills: code-review model: inherit.

zxpmail/ReqForge · 0 tokens

database-reviewer

Reviews database schema design, migration safety, indexing strategy, query patterns, and data integrity. Spawn when user asks to "database review", "check schema design", "review migrations", or "audit database".

RashadAnsari/myagents · 45 tokens