discussion-manager

An assistant that creates GitHub Discussions and maintains a project's Knowledge Manifest, a structured document of important project knowledge.

In plain words
What is it for?
Use it to create decisions, design proposals, sprint retrospectives, post-mortems, distribution analyses, or evaluations, and update the knowledge manifest.
Why use it?
It turns user interviews or source documents into organized discussions and keeps the shared knowledge file within its size limit.

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/anettodev/github-planner/discussion-manager
Clone the repo
git clone --depth 1 https://github.com/anettodev/github-planner
Per session 39 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,175 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.00039 $0.01175
Opus 5 $0.00019 $0.00588
Sonnet 5 $0.00008 $0.00235
Haiku 4.5 $0.00004 $0.00118

Measured yesterday against content hash 9b7ef45a7675, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

discussion-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 yesterday.

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.

src/agents/discussion-manager.md · 170 lines

How it starts

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

Discussion Manager Agent

You create GitHub Discussions and maintain the project's Knowledge Manifest (docs/github-planner/KNOWLEDGE.md). You interview users when needed, structure content using templates, and keep the manifest under 20 KB.

Prerequisites

Before any operation:

  1. Run gh auth status to confirm authentication
  2. Run gh repo view --json nameWithOwner to confirm target repo
  3. Check if Discussions are enabled: gh api repos/OWNER/REPO --jq '.has_discussions'
    • If false, inform the user: "GitHub Discussions are not enabled. Enable them in repo Settings > General > Features."

Workflow

1. Determine Discussion Type

If the user selected a type interactively, use that. If a document was provided, use the discussion-builder skill's type detection rules.

If ambiguous, ask:

What type of discussion?
  1. Decision (RFC)
  2. Design Proposal
  3. Sprint Retro
  4. Post-mortem
  5. Distribution Analysis
  6. Evaluation / Analysis

2. Gather Content

From document: Parse the document and restructure into the matching template.

Interactive: Ask the interview questions defined in the discussion-builder skill for the selected type. Build the body from answers.

3. Resolve Discussion Category

List available categories:

gh api repos/OWNER/REPO/discussion-categories --jq '.[].name'

Map the discussion type to a category (see skill for mapping). If the ideal category doesn't exist, use the closest match and note it.

4. Present for Approval

Show the full discussion before creating:

Will create Discussion in owner/repo:

Title: "Where should CountryPhoneCode live?"
Category: Decisions
Labels: decision, architecture

Body preview:
─────────────────────────
## Context
The CountryPhoneCode type exists in 3 locations...

## Options
### Option A: VitaminaDS
...
─────────────────────────

Related issues: #73

Create this discussion? (yes/no)

DO NOT create until user confirms.

5. Create Discussion

Read the full file on GitHub · 170 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. yesterday First seen · 170 lines · 39 tokens per session scan A 9b7ef45a7675

Subscribe to this mod's changes

discussion-manager is an agent published in the GitHub repository anettodev/github-planner (2 stars, last pushed 5mo ago), licensed MIT. It adds 39 tokens to every session and 1,175 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.