gitea-update-issue

gitea-update-issue is a skill for Claude Code, Codex from amonstack/gitea_mcp. It costs 113 tokens per session (489 once invoked), scanned A, original, MIT.

A tool for editing one existing issue in Gitea, a self-hosted service for managing code and issues. It can change issue fields, close or reopen the issue, and clear its assignee or milestone.

In plain words
What is it for?
Use it to edit an issue’s fields, change its open or closed state, or remove its assignees or milestone.
Why use it?
It provides a defined way to update an issue while checking its current state first, reducing the risk of changing the wrong issue or overwriting unrelated fields.

Skill for Claude CodeCodex

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

Good fit Use it to edit an issue’s fields, change its open or closed state, or remove its assignees or milestone.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amonstack/gitea_mcp/gitea-update-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 amonstack/gitea_mcp --skill gitea-update-issue
Clone the repo
git clone --depth 1 https://github.com/amonstack/gitea_mcp

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 gitea-update-issue

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/amonstack/gitea_mcp/gitea-update-issue"><img src="https://agentmods.dev/badge/skills/amonstack/gitea_mcp/gitea-update-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 489 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.
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.00113 $0.00489
Opus 5.5 $0.00045 $0.00196
Sonnet 5.5 $0.00023 $0.00098
Haiku 4.5 $0.00011 $0.00049

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

Security

Grade A, and why

gitea-update-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 1mo 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.

src/assets/skills/gitea-update-issue/SKILL.md · 26 lines

What it actually says

gitea-update-issue

When to use

Trigger when the user asks to edit / close / reopen an issue, or set its assignee/milestone — 中文请求如「关掉这个 issue」「重新打开」「把它指派给某人」「挂到 v1.2 里程碑」也 MUST 走本 skill。

Edit one issue's fields or change its state. Tools: get_issue, update_issue.

Prerequisites

  • Resolve owner+repo: pass explicitly, else GITEA_DEFAULT_OWNER/GITEA_DEFAULT_REPO, else resolve_repo (gitea-resolve-repo).
  • There is NO optimistic locking — always read current state first.

Flow

  1. READ CURRENT: get_issue({ index }) — index = issue number (URL #N → N), never the internal id.
  2. APPLY: update_issue({ index, ...changedFields }).

update_issue

  • RULES: PATCH — only fields you pass change; omit = unchanged. To CLEAR a field pass its EMPTY form, do NOT omit it: milestone: 0 clears the milestone, assignees: [] clears assignees. Use assignees (array), not the deprecated assignee. State values are open | closed.
  • NOT FOR single-label changes: labels here are IDs and REPLACE the entire set — to add/remove one label use add_issue_labels / remove_issue_label (gitea-label-issue).
  • CHECK FIRST: get_issue for current values if state may have changed since your last read; state the intended change to the user before writing.
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. 1mo ago Changed · +4 lines · +37 tokens per session 3b4191585e1a
  2. 1mo ago First seen · 22 lines · 76 tokens per session scan A c3a44253fcbe

Subscribe to this mod's changes

gitea-update-issue is a skill published in the GitHub repository amonstack/gitea_mcp (1 stars, last pushed 21d ago), licensed MIT. It adds 113 tokens to every session and 489 once invoked, about $0.0005 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.