submit-pull-request-work

submit-pull-request-work is a skill for Claude Code, Codex from theonedev/tod. It costs 29 tokens per session (1,265 once invoked), scanned A, original, MIT.

A workflow for submitting finished changes or saved comments to an existing OneDev pull request. A pull request is a request for code review; this workflow does not create one.

In plain words
What is it for?
Use it to submit code changes, comments, approvals, requests for changes or merge actions for an existing pull request. It requires the tod command-line tool and the correct repository.
Why use it?
It preserves previously prepared review actions and applies them only when the work is ready to submit. This avoids losing comment, approval or merge details between work sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to submit code changes, comments, approvals, requests for changes or merge actions for an existing pull request. It requires the tod command-line tool and the correct repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theonedev/tod/submit-pull-request-work
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.

Any agent
npx skills add theonedev/tod --skill submit-pull-request-work
Clone the repo
git clone --depth 1 https://github.com/theonedev/tod

Made for: Claude Code, Codex.

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 submit-pull-request-work

README.md
[![agentmods](https://agentmods.dev/badge/skills/theonedev/tod/submit-pull-request-work/github.svg)](https://agentmods.dev/skills/theonedev/tod/submit-pull-request-work)
Your own site
<a href="https://agentmods.dev/skills/theonedev/tod/submit-pull-request-work"><img src="https://agentmods.dev/badge/skills/theonedev/tod/submit-pull-request-work/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.

agentmods 80×15 button for submit-pull-request-work

Your own site · 80×15
<a href="https://agentmods.dev/skills/theonedev/tod/submit-pull-request-work"><img src="https://agentmods.dev/badge/skills/theonedev/tod/submit-pull-request-work.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,265 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00029 $0.01265
Opus 5.5 $0.00012 $0.00506
Sonnet 5.5 $0.00006 $0.00253
Haiku 4.5 $0.00003 $0.00127

Measured 4d ago against content hash 3c66ecb57f7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

submit-pull-request-work 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 4d 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.

skills/submit-pull-request-work/SKILL.md · 104 lines

How it starts

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

Submit work on a OneDev pull request

Use configured tod in a checkout of the source or target project. Use the PR reference supplied by the prompt or session, or run tod pr current-reference. If the reference cannot be resolved, report the error and stop.

Take PR actions from the prompt or <saved-pr-actions> in the session. Preserve their order, exact text, and parameters. Omit comment and reply drafts with neither text nor attachments. For discussion-only, review-only, merge-only, or no-code work, or a detached HEAD, go straight to Apply PR actions and leave the checkout as it is.

Verify the source branch

Read tod pr get <pr> for status, source and target projects and branches, and PR reference and URL. Check tod project current, tod remote, and git symbolic-ref --short HEAD. Require an open PR, its source project and branch, and upstream <remote>/<source-branch> (check with git rev-parse --abbrev-ref @{upstream}). Stop on a mismatch. Fetch with git fetch --no-recurse-submodules <remote> <source-branch>.

Commit and push

Inspect the worktree and commit retrieved, changed submodules deepest first. For each submodule, inspect its diff, verify its default branch and upstream, and use tod get-commit-message-requirement to write the commit message. Commit its changes, check that it is clean, and push outstanding commits before committing its gitlink in the parent. On non-fast-forward only, use git pull --no-rebase --no-recurse-submodules <upstream-remote> <upstream-branch>, resolve conflicts, complete the merge commit, verify a clean worktree, and retry the push once. Stop on other failures and avoid force-pushing.

Inspect the final source diff. For a commit, satisfy every non-empty requirement from tod get-commit-message-requirement and tod pr get-commit-message-requirement --target-project <project> --target-branch <branch>. Write the message here. Stage and commit the completed changes, including any resolved merge in progress. Verify git status --porcelain is empty and push with git push <remote> <source-branch>. Stop on failure.

Read the full file on GitHub · 104 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. 4d ago Changed · -2 lines 3c66ecb57f7a
  2. 16d ago Changed · -116 lines · -3 tokens per session a9116cbc1b53
  3. 1mo ago Changed · +10 lines c9688407694a
  4. 2mo ago Changed · +4 lines 1db1729073c1
  5. 3mo ago Changed 30d1b101b368
  6. 3mo ago First seen · 208 lines · 32 tokens per session scan A 0bc5beeee0fb

Subscribe to this mod's changes

submit-pull-request-work is a skill published in the GitHub repository theonedev/tod (17 stars, last pushed 5d ago), licensed MIT. It adds 29 tokens to every session and 1,265 once invoked, about $0.0001 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-30.

Related

submit-pull-request-work compared with skills from other repositories

submit-pull-request-work next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
submit-pull-request-worktheonedev/todSkill175d agoMITA29Claude Code, Codex
prYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA47Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k4d agoMITA46Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex
engram-branch-prGentleman-Programming/engramSkill8.4k9d agoMITA37Claude Code, Codex
github-contributordaymade/claude-code-skillsSkill1.6ktodayMITA105Claude Code, Codex
revdiffumputun/revdiffSkill976yesterdayMITA254Claude Code