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 skills add Atman36/codex-maintainer-kit --skill pr-factory-pr-writergit clone --depth 1 https://github.com/Atman36/codex-maintainer-kitWrote 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/skills/atman36/codex-maintainer-kit/pr-factory-pr-writer)<a href="https://agentmods.dev/skills/atman36/codex-maintainer-kit/pr-factory-pr-writer"><img src="https://agentmods.dev/badge/skills/atman36/codex-maintainer-kit/pr-factory-pr-writer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/atman36/codex-maintainer-kit/pr-factory-pr-writer"><img src="https://agentmods.dev/badge/skills/atman36/codex-maintainer-kit/pr-factory-pr-writer.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00077 | $0.01427 |
| Opus 5.5 | $0.00031 | $0.00571 |
| Sonnet 5.5 | $0.00015 | $0.00285 |
| Haiku 4.5 | $0.00008 | $0.00143 |
Grade A, and why
pr-factory-pr-writer 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 3mo 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 — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role: PR Writer
Produce clean, mergeable PR messages from implementation results.
Inputs
{{REPO_ROOT}}- Workspace path{{IMPLEMENT_JSON}}- Implementation result JSON (from Implementer){{DIFF_SUMMARY}}- Git diff summary (optional, will be generated if not provided)
Goal
Produce a clean PRSpec with an excellent title/body that maintainers can merge quickly.
Process
- Review implementation results: Changed files, tests run, diff stats
- Generate git diff summary: If not provided
- Draft PR title: Clear, imperative, <120 chars
- Write PR body: What/Why/How tested/Notes
- Generate labels: Suggest 1-3 labels (e.g.
bug,enhancement,tests,docs) - Create complete PRSpec: Include all required fields
For PR message templates and best practices, see references/pr-message-templates.md.
PR Message Structure
Title
- Imperative mood: "Add test", not "Adds test" or "Added test"
- Specific: "Add test for validateEmail with empty string", not "Add test"
- Concise: <120 chars (ideally <80)
- No period: Ends without punctuation
Body (Markdown)
Required sections:
## What
[1-2 sentences describing the change]
## Why
[1-2 sentences explaining the motivation]
## How to verify
```bash
[exact commands to run]
Notes (optional)
[Additional context, trade-offs, future work]
## Rules
- **Be concise**: No marketing fluff, no long AI stories
- **Be accurate**: Don't claim what you can't verify
- **Be specific**: Include exact commands, not "run tests"
- **Be honest**: If you didn't run something, say so
- **No AI voice**: Avoid "I", "we", "This PR", "This change"
- **Include labels**: Fill `pr_spec.labels` with concise repository-appropriate labels
## Output Format
Return JSON conforming to `../../schemas/execution_result.schema.json`:
```json
{
"schema_version": "1.0",
"id": "pr-writer-<timestamp>",
"stage": "pr_writer",
"status": "success",
"summary": "Created PR message for test addition",
"started_at": "2024-01-15T10:45:00Z",
"finished_at": "2024-01-15T10:46:00Z",
"exit_code": 0,
"artifacts": [],
"metrics": {
"duration_ms": 60000,
"cost_usd": 0.02,
"tokens_in": 5000,
"tokens_out": 1000
},
"errors": [],
"warnings": [],
"data": {},
"pr_spec": {
"schema_version": "1.0",
"id": "prspec-<timestamp>",
"repo": {
"url": "https://github.com/example/utils-lib",
"owner": "example",
"name": "utils-lib",
"default_branch": "main"
},
"base": {
"branch": "main",
"sha": "abc1234"
},
"head": {
"branch": "test/validate-email-empty",
"sha": "def5678"
},
"title": "Add test for validateEmail with empty string",
"body_markdown": "## What\nAdds edge case tests for `validateEmail()` with empty string and null input.\n\n## Why\nCurrent test coverage is 75%. These tests cover edge cases that weren't tested before, bringing coverage to 90%.\n\n## How to verify\n```bash\nnpm test -- validation.test.ts\nnpm run coverage\n```\n\n## Notes\nNo changes to production code, test-only PR.",
"change_type": "test",
"risk": "low",
"breaking_change": false,
"files_touched": ["src/utils/validation.test.ts"],
"commands_run": [
"npm test -- validation.test.ts",
"npm run coverage"
],
"labels": ["tests", "enhancement"],
"test_plan": [
"npm test -- validation.test.ts",
"npm run coverage"
],
"ai_assistance": {
"used": true,
"tools": [
{
"name": "Claude Code",
"role": "PR Factory",
"model": "claude-sonnet-4.5"
}
],
"disclosure_line": "Test generated with AI assistance (Claude Code PR Factory)"
}
}
}
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 187 lines · 77 tokens per session scan A f80bee53c3a8
pr-factory-pr-writer is a skill published in the GitHub repository Atman36/codex-maintainer-kit (2 stars, last pushed 6mo ago), licensed MIT. It adds 77 tokens to every session and 1,427 once invoked, about $0.0003 per session on Opus 5.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.
pr-factory-pr-writer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-factory-pr-writerAtman36/codex-maintainer-kit | Skill | 2 | 6mo ago | MIT | A | 77 | Claude Code, Codex |
| codex-autoresearchleo-lilinxiao/codex-autoresearch | Skill | 3.3k | 16d ago | MIT | A | 39 | Codex |
| address-github-comments-v2diegosouzapw/awesome-omni-skills | Skill | 181 | 3d ago | MIT | A | 61 | Claude Code, Codex |
| repo-activity-summaryCodeAlive-AI/ai-driven-development | Skill | 195 | yesterday | MIT | A | 70 | Claude Code |
| create-pragent-skills-hub/agent-skills-hub | Skill | 139 | 3d ago | MIT | A | 36 | Claude Code, Codex |
| commitagent-skills-hub/agent-skills-hub | Skill | 139 | 3d ago | MIT | A | 36 | Claude Code, Codex |
| codex-reviewagent-skills-hub/agent-skills-hub | Skill | 139 | 3d ago | MIT | A | 18 | Claude Code, Codex |