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
- Claude Code: 15 native, 0 emulated, 0 lost. Checks validated by the publisher: nothing to guard.
- Codex: 37 native, 1 emulated, 9 lost. Checks validated by the publisher: nothing to guard.
- GitHub Copilot: 13 native, 1 emulated, 1 lost. Checks validated by the publisher: nothing to guard.
- Any agent: 13 native, 0 emulated, 2 lost. Its guards are written as instructions: nothing enforces them.
What Codex rebuilds or loses (10)
audit-dependencies: $ARGUMENTSlost, Codex does not substitute $ARGUMENTS; the agent reads the request insteadgenerate-translations: allowed-toolslost, Claude Code frontmatter that Codex does not read; the skill's text is unchangedtriage-ci-flake: allowed-tools, disable-model-invocationlost, Claude Code frontmatter that Codex does not read; the skill's text is unchangedanalyze-issue: argument-hintlost, Claude Code frontmatter that Codex does not read; the skill's text is unchangedanalyze-issue: $ARGUMENTSlost, Codex does not substitute $ARGUMENTS; the agent reads the request insteadrespond-to-discussion-features: $ARGUMENTSlost, Codex does not substitute $ARGUMENTS; the agent reads the request insteadtriage: argument-hint, allowed-toolslost, Claude Code frontmatter that Codex does not read; the skill's text is unchangedtriage: $ARGUMENTSlost, Codex does not substitute $ARGUMENTS; the agent reads the request insteadPostToolUse [Write] → post-write-format.shrebuilt, 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 checked18 rule(s) for Skill, WebFetch, WebSearchlost, 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.shrebuilt, 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 patch42 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 applyPostToolUse [Write] → post-write-format.shlost, 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]runspost-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-dependenciesUse when fixing dependency vulnerabilities, running pnpm audit, or when the audit-dependencies CI check failsgenerate-translationsUse when new translation keys are added to packages to generate new translations stringspayload-accessibilityUse 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-demoUse when a Payload pull request needs a concise visual walkthrough for reviewers.triage-ci-flakeUse 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 testsui4Manually invoked skill for reskinning Payload UI components. Requires Figma URL. Usage: /ui4ui4-convert-testsUse when UI changes are complete and e2e tests need updating. Analyzes what changed in UI components and systematically finds/fixes affected tests.ui4-reviewReview UI4 CSS migrations for proper token usage. Checks that CSS variables are used instead of hardcoded values.analyze-issueAnalyze a GitHub issue and create a resolution planrespond-to-discussion-features---triageTriage a GitHub issue and present findings on validity, code locations, and optionally create a failing test or resolution plan.
MCP servers 2
playwrightstdiopayloadstreamable-http
Notes from the publisher
- Nothing here blocks. The one hook formats a file after it is written, so there is no guard to prove.
- **The format hook needs
jqand the project'spnpmscripts.** Without them it does nothing. - Payload also turns on a Claude Code plugin and a plugin marketplace. Those are settings of one agent, not part of a harness, and are not carried over.
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...
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.