gitea-update-pull

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

A tool for editing one existing Gitea pull request, including its fields and open or closed state. Gitea is a service for hosting code repositories and reviewing proposed changes.

In plain words
What is it for?
Use it to edit pull request details, close or reopen a request, mark it as work in progress, change its target branch, or update its assignees and milestone.
Why use it?
It reduces mistakes when changing a pull request by requiring the current state to be read first and by keeping actions such as closing separate from merging.

Skill for Claude CodeCodex

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

Good fit Use it to edit pull request details, close or reopen a request, mark it as work in progress, change its target branch, or update its assignees and milestone.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amonstack/gitea_mcp/gitea-update-pull
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-pull
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-pull

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/amonstack/gitea_mcp/gitea-update-pull"><img src="https://agentmods.dev/badge/skills/amonstack/gitea_mcp/gitea-update-pull.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 649 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.00135 $0.00649
Opus 5.5 $0.00054 $0.00260
Sonnet 5.5 $0.00027 $0.00130
Haiku 4.5 $0.00014 $0.00065

Measured 3mo ago against content hash 7f53134d3179, 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-pull 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.

src/assets/skills/gitea-update-pull/SKILL.md · 29 lines

What it actually says

gitea-update-pull

When to use

Trigger when the user asks to edit / close / reopen / retarget a PR, or toggle WIP — 中文请求如「关掉这个 PR(不合并)」「把 PR 标成 WIP」「改下目标分支」也 MUST 走本 skill。

Edit one pull request's fields or change its state. Tools: get_pull_request, update_pull_request.

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_pull_request({ index }) — index = PR number (URL #N → N), never the internal id.
  2. APPLY: update_pull_request({ index, ...changedFields }).

update_pull_request

  • 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.
  • CLOSE WITHOUT MERGING: update_pull_request({ index, state: "closed" }). This closes the PR but does NOT merge it — the commits stay on the head branch. Reopen later with state: "open".
  • WIP TOGGLE: to mark work-in-progress, prefix the title with WIP: or [WIP]. To mark ready, remove the prefix. Pass the full new title.
  • RETARGET: base changes the target branch. RARELY REVERSIBLE — confirm with the user before retargeting; it can invalidate reviews and conflict checks.
  • 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, PR #N == Issue #N).
  • CHECK FIRST: get_pull_request 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. 3mo ago Changed · +4 lines · +51 tokens per session 7f53134d3179
  2. 3mo ago First seen · 25 lines · 84 tokens per session scan A 3634013abbbd

Subscribe to this mod's changes

gitea-update-pull is a skill published in the GitHub repository amonstack/gitea_mcp (2 stars, last pushed 2mo ago), licensed MIT. It adds 135 tokens to every session and 649 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.

Related

gitea-update-pull compared with skills from other repositories

gitea-update-pull next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitea-update-pullamonstack/gitea_mcpSkill22mo agoMITA135Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill91k5d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.8ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k3d agoMITA51Claude Code
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex