← Back to the Hub

payload 0.1.0

How the Payload repository runs its agents: format on write, triage commands for issues and CI flakes, and review skills.

Owner: Baudrier AI · MIT · from payloadcms/payload at 7f2d2ff

Claude Code nothing to guardCodex nothing to guardGitHub Copilot nothing to guard

Install

$ uv tool install baudrier # once

$ baudrier install payload --dry # look first: nothing is written

$ baudrier install payload # for the agents your repository uses; or --to claude|codex|copilot|generic

It shows what it will write, hook scripts first, and asks before it writes.

Last step: paste the line the install prints last into your agent, opened in your repository. It fits the harness to your repository. Don’t skip it. For Claude Code:

Read .baudrier/harness/payload/FINISH_SETUP.claude.md and follow it.

For another agent, the file ends in .codex.md, .copilot.md or .generic.md.

What each agent keeps

What Codex rebuilds or loses (10)
  • audit-dependencies: $ARGUMENTS lost, Codex does not substitute $ARGUMENTS; the agent reads the request instead
  • generate-translations: allowed-tools lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged
  • triage-ci-flake: allowed-tools, disable-model-invocation lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged
  • analyze-issue: argument-hint lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged
  • analyze-issue: $ARGUMENTS lost, Codex does not substitute $ARGUMENTS; the agent reads the request instead
  • respond-to-discussion-features: $ARGUMENTS lost, Codex does not substitute $ARGUMENTS; the agent reads the request instead
  • triage: argument-hint, allowed-tools lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged
  • triage: $ARGUMENTS lost, Codex does not substitute $ARGUMENTS; the agent reads the request instead
  • PostToolUse [Write] → post-write-format.sh rebuilt, Codex edits files with apply_patch: the adapter rebuilds a Write or Edit payload per file and blocks the patch if the hook blocks one of them. Deleting a file is not checked
  • 18 rule(s) for Skill, WebFetch, WebSearch lost, Codex rules cover shell commands only. Nothing is less protected: Codex follows its own approval settings for these tools. The rules: Skill(superpowers:brainstorming), Skill(superpowers:executing-plans), Skill(superpowers:requesting-code-review), Skill(superpowers:subagent-driven-development), Skill(superpowers:systematic-debugging), Skill(superpowers:testing-anti-patterns), Skill(superpowers:using-git-worktrees), Skill(superpowers:writing-plans), Skill(superpowers:writing-skills), WebFetch(domain:docs.aws.amazon.com), WebFetch(domain:docs.claude.com), WebFetch(domain:github.com), WebFetch(domain:payloadcms.com), WebFetch(domain:pure.md), WebFetch(domain:raw.githubusercontent.com), WebFetch(domain:www.anthropic.com), WebFetch(domain:www.npmjs.com), WebSearch
What GitHub Copilot rebuilds or loses (2)
  • PostToolUse [Write] → post-write-format.sh rebuilt, Copilot names its edit arguments differently (path, file_text, old_str, new_str): the adapter rebuilds the Write or Edit payload the hook expects, file by file for a patch
  • 42 rule(s) lost, Copilot keeps allow and ask rules outside the repository (--allow-tool, its own approvals). Nothing is less protected: Copilot asks as it always does. The rules: Bash(gh issue view:*), Bash(gh pr view:*), Bash(gh release view:*), Bash(gh run list:*), Bash(gh run view:*), Bash(git branch:*), Bash(git describe:*), Bash(git diff:*), Bash(git log:*), Bash(git ls-files:*), Bash(git remote:*), Bash(git rev-parse:*), Bash(git show:*), Bash(git status), Bash(pnpm --version), Bash(pnpm audit:*), Bash(pnpm install), Bash(pnpm list:*), Bash(pnpm run:*), Bash(pnpm turbo:*), Bash(pnpm view:*), Bash(pnpm why:*), Bash(pwd), Bash(which:*), Skill(superpowers:brainstorming), Skill(superpowers:executing-plans), Skill(superpowers:requesting-code-review), Skill(superpowers:subagent-driven-development), Skill(superpowers:systematic-debugging), Skill(superpowers:testing-anti-patterns), Skill(superpowers:using-git-worktrees), Skill(superpowers:writing-plans), Skill(superpowers:writing-skills), WebFetch(domain:docs.aws.amazon.com), WebFetch(domain:docs.claude.com), WebFetch(domain:github.com), WebFetch(domain:payloadcms.com), WebFetch(domain:pure.md), WebFetch(domain:raw.githubusercontent.com), WebFetch(domain:www.anthropic.com), WebFetch(domain:www.npmjs.com), WebSearch
What Any agent rebuilds or loses (2)
  • 42 rule(s) lost, your agent's own approval settings apply
  • PostToolUse [Write] → post-write-format.sh lost, no hook system is assumed for this agent: the hook does not run. Install for Claude Code, Codex or GitHub Copilot to enforce it

Hooks (run on your computer) 1

  • PostToolUse [Write] runs post-write-format.sh

Allowed 42

  • Bash(gh issue view:*)
  • Bash(gh pr view:*)
  • Bash(gh release view:*)
  • Bash(gh run list:*)
  • Bash(gh run view:*)
  • Bash(git branch:*)
  • Bash(git describe:*)
  • Bash(git diff:*)
  • Bash(git log:*)
  • Bash(git ls-files:*)
  • Bash(git remote:*)
  • Bash(git rev-parse:*)
  • Bash(git show:*)
  • Bash(git status)
  • Bash(pnpm --version)
  • Bash(pnpm audit:*)
  • Bash(pnpm install)
  • Bash(pnpm list:*)
  • Bash(pnpm run:*)
  • Bash(pnpm turbo:*)
  • Bash(pnpm view:*)
  • Bash(pnpm why:*)
  • Bash(pwd)
  • Bash(which:*)
  • Skill(superpowers:brainstorming)
  • Skill(superpowers:executing-plans)
  • Skill(superpowers:requesting-code-review)
  • Skill(superpowers:subagent-driven-development)
  • Skill(superpowers:systematic-debugging)
  • Skill(superpowers:testing-anti-patterns)
  • Skill(superpowers:using-git-worktrees)
  • Skill(superpowers:writing-plans)
  • Skill(superpowers:writing-skills)
  • WebFetch(domain:docs.aws.amazon.com)
  • WebFetch(domain:docs.claude.com)
  • WebFetch(domain:github.com)
  • WebFetch(domain:payloadcms.com)
  • WebFetch(domain:pure.md)
  • WebFetch(domain:raw.githubusercontent.com)
  • WebFetch(domain:www.anthropic.com)
  • WebFetch(domain:www.npmjs.com)
  • WebSearch

Skills 11

  • audit-dependencies Use when fixing dependency vulnerabilities, running pnpm audit, or when the audit-dependencies CI check fails
  • generate-translations Use when new translation keys are added to packages to generate new translations strings
  • payload-accessibility Use when building or assessing Payload UI, changing styles, content, interactions, focus, keyboard behavior or semantics, or working on accessibility tests or WCAG/VPAT evidence.
  • record-pr-demo Use when a Payload pull request needs a concise visual walkthrough for reviewers.
  • triage-ci-flake Use when CI tests fail on main branch after PR merge, when investigating flaky test failures, or when user provides a PR URL/number to aggregate all failing tests
  • ui4 Manually invoked skill for reskinning Payload UI components. Requires Figma URL. Usage: /ui4
  • ui4-convert-tests Use when UI changes are complete and e2e tests need updating. Analyzes what changed in UI components and systematically finds/fixes affected tests.
  • ui4-review Review UI4 CSS migrations for proper token usage. Checks that CSS variables are used instead of hardcoded values.
  • analyze-issue Analyze a GitHub issue and create a resolution plan
  • respond-to-discussion-features ---
  • triage Triage a GitHub issue and present findings on validity, code locations, and optionally create a failing test or resolution plan.

MCP servers 2

  • playwright stdio
  • payload streamable-http
Notes from the publisher

Files 56

  • 1.0 kB
  • 3.0 kB
  • 4.5 kB
  • 3.6 kB
  • 1.1 kB
  • 1.7 kB
  • 11.1 kB
  • 43 B
  • 4.3 kB
  • 5.8 kB
  • 3.4 kB
  • 6.2 kB
  • 18.6 kB
  • 9.0 kB
  • 3.5 kB
  • 2.2 kB
  • 21.1 kB
  • 9.7 kB
  • 19.5 kB
  • 12.6 kB
  • 3.7 kB
  • 19.8 kB
  • 1.3 kB
  • 2.6 kB
  • 5.0 kB
  • 8.3 kB
  • 7.4 kB
  • 1.2 kB
  • 2.0 kB
  • 229 B
  • 1.3 kB
  • 17.7 kB
  • 15.9 kB
  • 8.7 kB
  • 23.9 kB
  • 2.3 kB
  • 13.2 kB
  • 4.4 kB
  • 5.4 kB
  • 9.1 kB
  • 8.4 kB
  • 26.8 kB
  • 41.2 kB
  • 11.5 kB
  • 11.6 kB
  • 6.8 kB
  • 7.8 kB
  • 13.1 kB
  • 6.8 kB
  • 5.1 kB
  • 17.7 kB
  • 43 B
  • 3.3 kB
  • 14.1 kB
  • 9.6 kB
  • 23.3 kB
Loading hooks/post-write-format.sh...

All files as JSON · card.json

MIT (recognised from the licence file), its licence file travels with every install; from payloadcms/payload at 7f2d2ff, absorbed on 2026-11-26. The files are the source repository authors' work, copied unchanged; Baudrier AI is not affiliated with that project.