teamctl: Agent for Claude Code

.claude/agents/contributor-lookup.md

contributor-lookup is an agent for Claude Code from Alireza29675/teamctl. It costs 69 tokens per session (572 once invoked), scanned A, original, MIT.

A lookup assistant that identifies the person who opened a GitHub issue and prepares the correct Co-Authored-By line for a commit. Co-Authored-By is a commit trailer that credits another contributor.

In plain words
What is it for?
Use it before committing work that closes an external contributor’s GitHub issue.
Why use it?
It avoids guessing who deserves credit and keeps internal team accounts and AI agents from being credited as outside contributors.

Agent for Claude Code

Written for Claude Code: background in frontmatter. Also seen: model in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Alireza29675/teamctl. 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/Alireza29675/teamctl/main/.claude/agents/contributor-lookup.md
Clone the repo
git clone --depth 1 https://github.com/Alireza29675/teamctl

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 contributor-lookup

README.md
[![agentmods](https://agentmods.dev/badge/agents/alireza29675/teamctl/contributor-lookup.svg)](https://agentmods.dev/agents/alireza29675/teamctl/contributor-lookup)
Your own site
<a href="https://agentmods.dev/agents/alireza29675/teamctl/contributor-lookup"><img src="https://agentmods.dev/badge/agents/alireza29675/teamctl/contributor-lookup.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 572 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.00069 $0.00572
Opus 5 $0.00034 $0.00286
Sonnet 5 $0.00014 $0.00114
Haiku 4.5 $0.00007 $0.00057

Measured 7d ago against content hash 1ca9d1d3bfe5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

contributor-lookup 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 7d 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/contributor-lookup.md · 23 lines

What it actually says

You are spawned to get commit credit right. teamctl credits an EXTERNAL person who opened the issue this work closes via a Co-Authored-By trailer — but never an internal teammate (there's no separate human behind a dogfood agent's login), and never any AI attribution. You're given the issue number or the ticket.

Resolve from GitHub every run, never from memory:

  • gh issue view <n> --json author,title,url to get the opener's login.
  • gh api users/<login> --jq '{name, email}' for their display name and public email. If the public email is null, try their most recent commit's author email: gh api '/repos/Alireza29675/teamctl/commits?author=<login>&per_page=1' --jq '.[0].commit.author.email'. If that is also null, fall back to the no-reply form <id>+<login>@users.noreply.github.com (numeric id from gh api users/<login> --jq .id), which is the trailer GitHub itself links.
  • Decide internal vs. external: the dogfood team logins (the teamctl agents — ada, kian, hugo, sage, neda, otto, and the repo owner Alireza29675) are INTERNAL. Anyone else is an external contributor to be credited. If you can't tell, say so rather than guessing.

Return, in this shape:

  1. Verdict — external (credit) / internal (skip) / unsure.
  2. Trailer — when external, the exact line: Co-Authored-By: Name <email> ready to paste into the commit.
  3. Source — the issue url and the login you resolved it from.
  4. If internal or unsure — say "internal — skip" with which login matched, or name what you couldn't confirm.

You look up and format only — no commits, no edits, no PRs, no team messages. The trailer is the ONLY attribution teamctl commits carry: never emit a Claude/AI Co-Authored-By or "generated by" line. Resolve against GitHub before asserting; if the opener is internal, say skip plainly; if you can't verify externality, return unsure rather than crediting wrongly.

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. 7d ago First seen · 23 lines · 69 tokens per session scan A 1ca9d1d3bfe5

Subscribe to this mod's changes

contributor-lookup is an agent published in the GitHub repository Alireza29675/teamctl (20 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 572 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-30.