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.
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.
npx agentmods add commands/payloadcms/payload/respond-to-discussion-featuresgit clone --depth 1 https://github.com/payloadcms/payloadWrote 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.
[](https://agentmods.dev/commands/payloadcms/payload/respond-to-discussion-features)<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>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.
| Model | Per session | Once 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 |
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.
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 dateYYYY-MM-DD
Process
Step 1: Setup & Fetch Releases
- Parse time period from
$ARGUMENTS(default: 2months) - Create TodoWrite with: Fetch releases | Parse release notes | Fetch discussions | Match features to discussions | Generate output
- Run
gh release list --repo payloadcms/payload --limit 30to get recent releases - Filter to releases within the time period
- For each release, fetch notes:
gh release view <tag> --repo payloadcms/payload --json body -q '.body'
Step 2: Parse Release Notes
- Extract feature and fix entries from each release:
- Lines containing
feat:orfeat( - Lines containing
fix:orfix(
- Lines containing
- For each entry, capture:
- PR title (the description text)
- PR number (from
#NNNNpattern) - Package scope if present (from
feat(scope):pattern) - Version it shipped in
- Build keyword list from titles (feature names, package names, key terms)
Step 3: Fetch Discussions
- 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
}
}
}
}'
- Continue paginating with
after: "<endCursor>"until all discussions fetched - Store: number, title, URL, createdAt, body (for matching)
Step 4: Match Features to Discussions
For each feature/fix from releases:
- Search discussion titles and bodies for keyword matches
- Consider semantic variations (e.g., "groupBy" matches "group by", "group-by")
- Filter: only include if discussion was created BEFORE the feature's release date
- Score matches by keyword overlap
- Flag ambiguous matches as "Needs Verification"
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.
- 5d ago First seen · 136 lines · 0 tokens per session scan A 53d38ee7cdf7
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.
Other commands, from other repositories
sonicjs-release-engineer
You are a specialized agent that manages npm package releases and dependency updates for SonicJS. Your primary responsibilities are.
changelog
Generate a new changelog entry by reading all changeset files and creating a properly formatted entry in .changelog/v3.mdx.
sonicjs-pr-maker
You are a specialized agent that creates Pull Requests for SonicJS, monitors CI/CD pipelines, analyzes failures, and automatically fixes issues including E2E test failures.
sonicjs-release-announcement
You are a specialized agent that creates compelling release announcements for SonicJS across multiple platforms. Your primary responsibilities are.
sonicjs-blog-image
Generate professional blog post images using OpenAI's DALL-E API for the topic: $ARGUMENTS.
sonicjs-fullstack-dev
You are an expert full stack developer agent for SonicJS, a modern headless CMS built for Cloudflare's edge platform. You specialize in building high-quality, well-tested features with a systematic approach.