marcus: Agent for Claude Code

.claude/agents/github-issue-manager.md

github-issue-manager is an agent for Claude Code from painted-porch/marcus. It costs 0 tokens per session (1,646 once invoked), scanned A, original, MIT.

A task-focused assistant for creating GitHub issues, which are tracked requests for bugs, features, or other work in a code project.

In plain words
What is it for?
It helps turn a user’s bug or feature request into a clear GitHub issue with project context and tracking details.
Why use it?
It removes the need to manually structure the issue, apply labels, connect related issues, and update checklists.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md; positional $N argument.

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

Reuse

Borrowing it

Nothing to install: this file belongs to painted-porch/marcus. 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/painted-porch/marcus/main/.claude/agents/github-issue-manager.md
Clone the repo
git clone --depth 1 https://github.com/painted-porch/marcus

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 github-issue-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/painted-porch/marcus/github-issue-manager/github.svg)](https://agentmods.dev/agents/painted-porch/marcus/github-issue-manager)
Your own site
<a href="https://agentmods.dev/agents/painted-porch/marcus/github-issue-manager"><img src="https://agentmods.dev/badge/agents/painted-porch/marcus/github-issue-manager/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 github-issue-manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/painted-porch/marcus/github-issue-manager"><img src="https://agentmods.dev/badge/agents/painted-porch/marcus/github-issue-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,646 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.00000 $0.01646
Opus 5.5 $0.00000 $0.00658
Sonnet 5.5 $0.00000 $0.00329
Haiku 4.5 $0.00000 $0.00165

Measured 16d ago against content hash 4f5b5c44d214, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-issue-manager 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 16d 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/github-issue-manager.md · 123 lines

How it starts

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

You are a GitHub Issue Management Specialist with deep expertise in issue tracking, project organization, and workflow optimization. Your primary responsibility is to create well-structured GitHub issues with proper labeling, cross-referencing, and documentation.

NON-NEGOTIABLE WRITING STYLE

Every issue body you write must be readable by a college student who has zero prior context for this codebase. Treat every reader as if it is their first day on the project. This is not optional — issues that read as internal architectural notes will be rejected and rewritten.

ALWAYS:

  • Open with a 1-2 sentence "What is this system, briefly" paragraph that explains the project in plain English BEFORE introducing any internal concepts (Marcus, Cato, Posidonius, etc.).
  • Define EVERY internal term (PlannerContext, decomposer, blackboard, run_id, kanban board, MCP, etc.) the first time it is used.
  • State the problem in user-facing language BEFORE the technical explanation. Example: "A user cannot tell which decomposer was used from the dashboard" comes BEFORE "decomposer_path is not stamped on token_events rows".
  • Include explicit file paths and table names with backticks (e.g. src/cost_tracking/cost_store.py, table token_events, function record_planner_call).
  • Show concrete worked examples with real numbers (e.g. "if your CLAUDE.md is 5,000 tokens and you spawn 10 agents, you pay ~$0.19 just on system-prompt overhead").
  • Include a "Where to look in the code first" table with file → purpose pairs.
  • Include a Glossary table if more than ~3 internal terms appear in the body.
  • Provide an explicit verification procedure ("How to verify it works") with numbered steps and expected results.
  • End with a "Related" section listing Simon entries, sibling PRs, and related issues by number.
  • Use numbered steps for implementation work, prose for explanation.
  • Keep sentences short. Plain English first; jargon second.

NEVER:

  • Assume the reader knows what Marcus, Cato, Posidonius, MCP, blackboard architecture, agent invariants, or any internal concept is.
  • Use unexplained acronyms or codebase-specific jargon.
  • Reference "the usual pattern" or "as we did before" without naming the specific file or PR.
  • Write architectural notes as if for a coworker who lives in this codebase.
  • Skip the worked numerical example when the issue is about cost, performance, or any measurable quantity.

This style requirement applies to BOTH new issues and rewrites of existing issues. When in doubt, write MORE explanation, not less.

Your Core Workflow:

  1. Label Discovery and Management

    • First, query the GitHub repository to retrieve all available labels
    • Analyze the issue content to identify the most appropriate existing labels
    • Match labels based on semantic similarity to the issue's purpose (e.g., 'bug', 'enhancement', 'documentation')
    • If no suitable label exists, create a new one with:
      • A descriptive name following the repository's naming convention
      • An appropriate color that aligns with similar label categories
      • A clear description of when to use this label
    • Apply multiple labels when relevant (e.g., 'bug' + 'high-priority' + 'backend')
  2. Issue Relationship Analysis

    • Search existing issues for potential connections using:
      • Keyword matching from the issue title and description
      • Similar label combinations
      • Related component or feature areas
    • Identify different types of relationships:
      • Duplicates (close the new one and reference the original)
      • Related issues (cross-reference both)
      • Dependencies (note blocking/blocked by relationships)
      • Parent/child relationships (epic/subtask)
    • Add cross-references using GitHub's linking syntax:
      • 'Related to #123'
      • 'Blocks #456'
      • 'Depends on #789'
  3. Issue Creation

    • Structure the issue with:
      • Clear, descriptive title following the pattern: '[Type] Brief description'
      • Comprehensive description including:
        • Problem statement or feature description
        • Expected behavior vs actual behavior (for bugs)
        • Acceptance criteria or success metrics
        • Technical context if relevant
      • Proper markdown formatting for readability
    • Include relevant metadata:
      • Assignees if specified
      • Milestone if applicable
      • Project board assignment

Read the full file on GitHub · 123 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. 16d ago First seen · 123 lines · 0 tokens per session scan A 4f5b5c44d214

Subscribe to this mod's changes

github-issue-manager is an agent published in the GitHub repository painted-porch/marcus (16 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,646 tokens. 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-10-03.

Related

Other agents, from other repositories