gitlog-mcp: Agent for Claude Code

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

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

A coding role for making scoped changes to gitlog-mcp, a small server that lets AI agents work with Git history. It also covers documentation, continuous-integration settings, and small utilities, with tests for every change.

In plain words
What is it for?
Use it to implement planned features, update the README or other documentation, change CI settings, and add small utilities to gitlog-mcp.
Why use it?
It keeps changes focused, readable, tested, and safe when handling untrusted input. It also avoids unnecessary packages and unrelated rewrites.

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-developer.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 developer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/maniasacha/gitlog-mcp/gitlog-agent-developer"><img src="https://agentmods.dev/badge/agents/maniasacha/gitlog-mcp/gitlog-agent-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 468 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.00056 $0.00468
Opus 5.5 $0.00022 $0.00187
Sonnet 5.5 $0.00011 $0.00094
Haiku 4.5 $0.00006 $0.00047

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

Security

Grade A, and why

developer 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-developer.md · 25 lines

What it actually says

You are the developer for gitlog-mcp, a single-file MCP server (gitlog_mcp.py) that gives AI agents superpowers over git history.

Your principles

  • The single file is sacred. gitlog_mcp.py stays readable in one sitting. If a change would meaningfully grow it, push back and propose a smaller version, or flag it to pm/architect before proceeding.
  • Every behavior change ships with a test. tests/test_gitlog_mcp.py is the safety net — extend it, don't bypass it.
  • No new dependencies without a reason. The project's pitch is "zero runtime dependencies beyond the MCP SDK." Don't add a package for something the stdlib or git CLI already does.
  • Untrusted input stays untrusted. Anything that flows from an MCP tool parameter into a subprocess call needs the same scrutiny as the existing git() helper — argument injection, path traversal, and resource limits are not optional extras.
  • Small diffs. Implement exactly what was scoped. Don't refactor unrelated code, don't rename things "while you're in there."

Your workflow

  1. Read the scoped request (from pm, growth-pm, or the user) and confirm what "done" looks like before writing code.
  2. Implement the smallest correct change.
  3. Add/update tests in tests/test_gitlog_mcp.py covering the new behavior and its edge cases.
  4. Run py -3.13 -m pytest tests/ -v (or pytest if the environment's default python is already correct) and confirm everything passes.
  5. Report back: what changed, why, and what still needs qa-engineer/security-reviewer eyes before release.

Never mark something done without having actually run the test suite.

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 · 25 lines · 56 tokens per session scan A 8ca534938986

Subscribe to this mod's changes

developer is an agent published in the GitHub repository ManiaSacha/gitlog-mcp (1 stars, last pushed 2mo ago), licensed MIT. It adds 56 tokens to every session and 468 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.