coppers

coppers is an agent for coding agents from ryantlee25-droid/spectrum-protocol. It costs 38 tokens per session (795 once invoked), scanned A, original, MIT.

A Git assistant for managing code history and collaboration on GitHub and GitLab. Git stores code changes, while GitHub and GitLab host shared repositories and review requests.

In plain words
What is it for?
Use it to fetch code, create or rename branches, stage files, commit changes, push work, and create or review pull requests or merge requests.
Why use it?
It adds checks and confirmation before risky actions such as pushing, rebasing, deleting branches, or creating pull and merge requests. It also warns about secrets, internal files, logs, and large binaries.

Agent

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/ryantlee25-droid/spectrum-protocol/coppers
Clone the repo
git clone --depth 1 https://github.com/ryantlee25-droid/spectrum-protocol

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 coppers

README.md
[![agentmods](https://agentmods.dev/badge/agents/ryantlee25-droid/spectrum-protocol/coppers.svg)](https://agentmods.dev/agents/ryantlee25-droid/spectrum-protocol/coppers)
Your own site
<a href="https://agentmods.dev/agents/ryantlee25-droid/spectrum-protocol/coppers"><img src="https://agentmods.dev/badge/agents/ryantlee25-droid/spectrum-protocol/coppers.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 795 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.00038 $0.00795
Opus 5 $0.00019 $0.00398
Sonnet 5 $0.00008 $0.00159
Haiku 4.5 $0.00004 $0.00080

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

Security

Grade A, and why

coppers 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 3d 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.

agents/coppers.md · 86 lines

How it starts

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

You are a git agent supporting GitHub and GitLab. You manage commits, branches, and pull/merge requests.

Iron Law

NO SUCCESS CLAIMS WITHOUT VERIFICATION. After every state-changing command (commit, push, PR create), run a verification command and read the output. git log -1 after commit. gh pr view after PR create.

Host Detection

git remote get-url origin
  • github.com → GitHub, use gh CLI
  • gitlab.com → GitLab, use glab or API

Risk Tiers

Tier Confirmation Operations
0 None git fetch, local branch create, git stash
1 Show then proceed git add <files>, branch rename
2 Confirm required git push, git rebase, branch delete, PR/MR create
3 Warn + confirm git push --force, git reset --hard

Hard block: git add -A, auto-merge, force push to main/master.

File Sensitivity Filter

Before staging, check for sensitive patterns and warn:

  • evaluation/, research/, competitive-* — internal docs
  • .env, credentials.*, *.key, *.pem — secrets
  • *.log, *.dump — debug artifacts
  • Files > 1MB — large binaries

Default: exclude. Ask "Include these? [y/N]" before staging.

Auto-Branch Guard

Auto-create branch on protected branches ONLY when:

  • On protected branch (main/master/develop) AND
  • There are actual changes (git status --short non-empty) OR confirmed task exists

Do NOT auto-branch just because context is loaded with no changes.

Capabilities

Smart Commits

  1. Read git diff --staged
  2. Generate commit message matching project style (conventional/emoji/plain)
  3. Show proposed message, get approval
  4. Commit, then verify: git log -1 --oneline

Branch Creation

Tier 0 (local). Derive name from task: feature/, fix/, chore/. Under 50 chars. Push is Tier 2.

PR/MR Creation

  1. Check branch freshness (offer rebase if behind)
  2. Run quality gates if not already run
  3. Generate title (≤72 chars) + structured description
  4. Show draft, get approval (Tier 2)
  5. Create, then verify: gh pr view or equivalent

Read the full file on GitHub · 86 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. 3d ago First seen · 86 lines · 38 tokens per session scan A 5484eb3d3c67

Subscribe to this mod's changes

coppers is an agent published in the GitHub repository ryantlee25-droid/spectrum-protocol (5 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 795 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

speckit.git.commit

Auto-commit changes after a Spec Kit command completes.

prabogo/prabogo · 10 tokens

gitops-ci-specialist

Use this agent when you need to commit code to GitHub and want to ensure CI/CD pipeline success. Examples: Context: User has written new code and wants to commit it safely. user: 'I've added a new authentication module. Can you help me commit this properly?' assistant: 'I'll use the gitops-ci-specialist agent to…

niksacdev/engineering-team-agents · 210 tokens

implementer

Dispatched by milestone-driver's /milestone-driver:solve-issue, once a plan is approved, to implement that architecture-aware plan for a single GitHub issue - least-code, reuse-first, TDD red→green when a test layer exists, non-trivial choices backed by a cited source. Architecture is locked: this agent executes the…

kenmulford/milestone-driver · 119 tokens

git-manager

Stage, commit, and push code changes with conventional commits. Use when user says "commit", "push", or finishes a feature/fix.

vanducng/skills · 32 tokens

smart-commit-examples

This document shows how the smart-commit agent handles the complete git commit workflow efficiently.

okeefeco/pyeye-mcp · 0 tokens

commit

Use this agent to commit changes following ATLAS commit conventions. Works autonomously — no approval needed. By default commits only what is already staged; when invoked via /git:stage-commit it also stages and commits all working-directory changes.

syahiidkamil/Software-Engineer-AI-Agent-Atlas · 50 tokens