work-on-issue

work-on-issue is a skill for Claude Code, Codex from theonedev/tod. It costs 31 tokens per session (826 once invoked), scanned A, original, MIT.

A workflow for implementing a OneDev issue, where OneDev is a tool for managing software projects and coding tasks. It prepares the work environment, reads relevant context, and carries out the issue's code changes.

In plain words
What is it for?
Use it to start, resume, or continue work on an issue in the matching repository, including preparing the checkout, changing code, and drafting an issue update.
Why use it?
It gives issue work a defined process and preserves unfinished changes and draft comments for a later submission step.

Skill for Claude CodeCodex

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

Good fit Use it to start, resume, or continue work on an issue in the matching repository, including preparing the checkout, changing code, and drafting an issue update.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/theonedev/tod/work-on-issue"><img src="https://agentmods.dev/badge/skills/theonedev/tod/work-on-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 826 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.00031 $0.00826
Opus 5.5 $0.00012 $0.00330
Sonnet 5.5 $0.00006 $0.00165
Haiku 4.5 $0.00003 $0.00083

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

Security

Grade A, and why

work-on-issue 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/work-on-issue/SKILL.md · 73 lines

How it starts

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

Work on a OneDev issue

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

Decide what to do

  • Read tod issue get <issue> and tod issue get-comments <issue>. Identify yourself with tod get-login-name and attribute onBehalfOf entries to the named user.
  • Follow any specific request. If the request just names the issue, use its title, description, state, fields, and discussion to determine what still needs work. When the prompt supplies an event timestamp, check activity around and since it. Treat assignment fields listed in the prompt as confirmed, including group assignments. Reply to issue discussion only when it concerns you and needs a response. Mention someone when you need their response.
  • Check prior replies and existing fixes before duplicating work. If needed, find related PRs with tod pr list --project <issue-project> --query 'includes issue "<issue>"'.
  • Inspect linked images and files with tod download <original-url> <output-file>. Save downloads outside the working tree.

Do the work

Use the current checkout for discussion and investigation. For edits that require the issue branch, run tod issue checkout --for-write <issue> to prepare the branch and upstream. Respect a request to keep the current checkout.

For build investigation or repair, identify the relevant build reference from the request or issue and read tod build get <build> and tod build get-log <build> before choosing a fix.

  • Follow required dependency failures recursively when they failed on the same commit. Report a cancelled dependency as a blocker. If the dependency ran on a different commit, report it as the cause of the current failure.
  • Take the exact report name inside brackets on the failure line, preserving spaces and casing. Quote it as one argument and read the report before editing.
    • [<report>]: found problems with severity <severity> or higher → tod build get-code-problems <build> "<report>" <severity>.
    • [<report>]: <count> not passed test cases → tod build get-unit-test-report <build> "<report>". Use --artifact <path> > <output-file> to retrieve a referenced test artifact.
  • Inspect .onedev-buildspec.yml for job configuration issues. Run tod build get-spec-schema before editing it. Use tod build get-changes-since-success <build> if prior success helps diagnose the failure.

Read the full file on GitHub · 73 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 f21f696e8803
  2. 16d ago Changed · -110 lines · +2 tokens per session 4516e98e9f68
  3. 2mo ago Changed · -1 lines c5b888fca5bf
  4. 2mo ago Changed · +3 lines 6b3713d73597
  5. 3mo ago Changed 25aef3084998
  6. 3mo ago First seen · 181 lines · 29 tokens per session scan A 5f62debaddd3

Subscribe to this mod's changes

work-on-issue is a skill published in the GitHub repository theonedev/tod (17 stars, last pushed 5d ago), licensed MIT. It adds 31 tokens to every session and 826 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

work-on-issue compared with skills from other repositories

work-on-issue next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
work-on-issuetheonedev/todSkill175d agoMITA31Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code