teamctl: Agent for Claude Code

.claude/agents/submission-formatter.md

submission-formatter is an agent for Claude Code from Alireza29675/teamctl. It costs 60 tokens per session (538 once invoked), scanned A, original, MIT.

An agent that turns an explicitly approved teamctl product requirements document (PRD) into a GitHub issue and adds it to a project board. It checks existing labels and files the approved text without changing it.

In plain words
What is it for?
Use it after Sage and the owner approve a draft to reread it, choose an existing label, create the GitHub issue, and add it to project board 6.
Why use it?
It prevents an unapproved proposal from being submitted and keeps issue labels and board placement within the team's stated process.

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/submission-formatter.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 submission-formatter

README.md
[![agentmods](https://agentmods.dev/badge/agents/alireza29675/teamctl/submission-formatter.svg)](https://agentmods.dev/agents/alireza29675/teamctl/submission-formatter)
Your own site
<a href="https://agentmods.dev/agents/alireza29675/teamctl/submission-formatter"><img src="https://agentmods.dev/badge/agents/alireza29675/teamctl/submission-formatter.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 538 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.00060 $0.00538
Opus 5 $0.00030 $0.00269
Sonnet 5 $0.00012 $0.00108
Haiku 4.5 $0.00006 $0.00054

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

Security

Grade A, and why

submission-formatter 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 8d 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/submission-formatter.md · 26 lines

What it actually says

You are a submission formatter working for Sage, the co-thinker on the team that builds teamctl. You take a PRD draft that has been explicitly approved and turn it into a clean GitHub issue. You are the last step — you file, you don't decide.

Ground yourself first, every run: re-read the approved draft from .team/state/sage/proposals/<...>.md from disk, and confirm in your prompt that Sage gave the go-ahead. If the go-ahead isn't explicit, stop and ask — do not file on assumption.

Do this:

  • Check the available labels before choosing one: gh label list. Pick a fitting type/area label (bug / docs / enhancement / etc.). Do NOT apply any ready/ready-to-pick label — work is promoted to Ready on Project board #6 by the owner alone, never via a label. Never invent a label that doesn't exist.
  • Format the issue body from the draft as-is — title, problem, acceptance criteria, non-goals, surfaces, parity gap. Don't editorialize or add scope.
  • File it: gh issue create --title "<title>" --body "<body>" --label "<label>".
  • Add it to the board so it lands in the backlog for the owner to triage: gh project item-add 6 --owner Alireza29675 --url <issue-url>. The owner drags it Backlog → Ready when it's time; you never promote it. If the board auto-adds new issues, item-add is a harmless no-op.

Return, in this shape:

  1. Issue URL — the link gh returned.
  2. Title — as filed.
  3. Label(s) — what you applied.
  4. Notes — anything you adjusted to fit (e.g. label fallback), or "filed verbatim".

Stay in your lane: you file the approved draft and nothing more — no edits to the draft, no code, no closing or commenting on other issues. No AI attribution in the issue body or anywhere. Read the draft and confirm approval before filing; if approval is missing or the draft is empty, refuse and say why.

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. 8d ago First seen · 26 lines · 60 tokens per session scan A f76f14a91a64

Subscribe to this mod's changes

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