respond-to-discussion-features

respond-to-discussion-features is a command for Claude Code from payloadcms/payload. It costs 0 tokens per session (1,171 once invoked), scanned A, original, MIT.

A command for finding open GitHub discussions whose requested features were delivered in recent releases. It compares release notes with community feature requests and drafts replies.

In plain words
What is it for?
Use it to review recent releases, match shipped features to discussions in the “Feature Requests & Ideas” category, and prepare response comments.
Why use it?
It helps maintainers tell people when a requested feature is already available, without manually searching releases and discussions.

Command for Claude Code

About the project

Payload is an open-source, full-stack framework for Next.js that provides a TypeScript backend and an administration panel for managing application data and content. Developers use it as a headless content management system or as the backend and application framework for their own projects. The catalogue add-ons help agents work with Payload projects and their development workflows.

payloadcms/payload · 44,575 stars · on GitHub

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 commands/payloadcms/payload/respond-to-discussion-features
Clone the repo
git clone --depth 1 https://github.com/payloadcms/payload

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 respond-to-discussion-features

README.md
[![agentmods](https://agentmods.dev/badge/commands/payloadcms/payload/respond-to-discussion-features.svg)](https://agentmods.dev/commands/payloadcms/payload/respond-to-discussion-features)
Your own site
<a href="https://agentmods.dev/commands/payloadcms/payload/respond-to-discussion-features"><img src="https://agentmods.dev/badge/commands/payloadcms/payload/respond-to-discussion-features.svg" alt="Measured on agentmods" 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,171 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.00000 $0.01171
Opus 5 $0.00000 $0.00585
Sonnet 5 $0.00000 $0.00234
Haiku 4.5 $0.00000 $0.00117

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

Security

Grade A, and why

respond-to-discussion-features 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 5d 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/commands/respond-to-discussion-features.md · 136 lines

How it starts

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

Respond to Community

Find open GitHub discussions in "Feature Requests & Ideas" that have been resolved by recent releases, and generate draft comments to post.

Arguments

  • $ARGUMENTS - Time period to analyze (default: 2months)
  • Accepts: Ndays, Nweeks, Nmonths, or ISO date YYYY-MM-DD

Process

Step 1: Setup & Fetch Releases

  1. Parse time period from $ARGUMENTS (default: 2months)
  2. Create TodoWrite with: Fetch releases | Parse release notes | Fetch discussions | Match features to discussions | Generate output
  3. Run gh release list --repo payloadcms/payload --limit 30 to get recent releases
  4. Filter to releases within the time period
  5. For each release, fetch notes: gh release view <tag> --repo payloadcms/payload --json body -q '.body'

Step 2: Parse Release Notes

  1. Extract feature and fix entries from each release:
    • Lines containing feat: or feat(
    • Lines containing fix: or fix(
  2. For each entry, capture:
    • PR title (the description text)
    • PR number (from #NNNN pattern)
    • Package scope if present (from feat(scope): pattern)
    • Version it shipped in
  3. Build keyword list from titles (feature names, package names, key terms)

Step 3: Fetch Discussions

  1. Use GraphQL to paginate through all open Feature Request discussions:
gh api graphql -f query='
{
  repository(owner: "payloadcms", name: "payload") {
    discussions(first: 100, states: OPEN, categoryId: "MDE4OkRpc2N1c3Npb25DYXRlZ29yeTMyMzY4NTUx", orderBy: {field: CREATED_AT, direction: DESC}) {
      pageInfo { hasNextPage endCursor }
      nodes {
        number
        title
        url
        createdAt
        body
      }
    }
  }
}'
  1. Continue paginating with after: "<endCursor>" until all discussions fetched
  2. Store: number, title, URL, createdAt, body (for matching)

Step 4: Match Features to Discussions

For each feature/fix from releases:

  1. Search discussion titles and bodies for keyword matches
  2. Consider semantic variations (e.g., "groupBy" matches "group by", "group-by")
  3. Filter: only include if discussion was created BEFORE the feature's release date
  4. Score matches by keyword overlap
  5. Flag ambiguous matches as "Needs Verification"

Read the full file on GitHub · 136 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. 5d ago First seen · 136 lines · 0 tokens per session scan A 53d38ee7cdf7

Subscribe to this mod's changes

respond-to-discussion-features is a command published in the GitHub repository payloadcms/payload (44,575 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,171 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-08-30.