gitea-rerun-action

gitea-rerun-action is a skill for Claude Code, Codex from amonstack/gitea_mcp. It costs 126 tokens per session (793 once invoked), scanned A, original, MIT.

A procedure for rerunning a completed Gitea Actions workflow, either in full or only for jobs that failed. Gitea Actions is Gitea's automated build and test system.

In plain words
What is it for?
Use it to rerun a completed workflow after confirming the repository, run, scope, and user's approval.
Why use it?
It checks that the workflow has finished and can be rerun before consuming more CI time and resources.

Skill for Claude CodeCodex

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

Good fit Use it to rerun a completed workflow after confirming the repository, run, scope, and user's approval.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/amonstack/gitea_mcp/gitea-rerun-action"><img src="https://agentmods.dev/badge/skills/amonstack/gitea_mcp/gitea-rerun-action.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 793 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.00126 $0.00793
Opus 5.5 $0.00050 $0.00317
Sonnet 5.5 $0.00025 $0.00159
Haiku 4.5 $0.00013 $0.00079

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

Security

Grade A, and why

gitea-rerun-action 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-rerun-action/SKILL.md · 38 lines

How it starts

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

gitea-rerun-action

When to use

Trigger when the user asks to rerun / retry a workflow run or failed CI jobs — 中文请求如「重跑一下这个 CI」「再跑一次流水线」「只重试失败的 job」也 MUST 走本 skill:先确认运行已结束,经用户批准后再重跑。

Rerun one completed Actions workflow run. Tools: get_action_run, rerun_action_run, rerun_action_run_failed_jobs.

Prerequisites

  • Resolve owner+repo: pass explicitly, else GITEA_DEFAULT_OWNER/GITEA_DEFAULT_REPO, else resolve_repo (gitea-resolve-repo).
  • Requires Gitea 1.26.0+ for the rerun endpoints. Rerunning consumes CI minutes and resources — always confirm the runId, the rerun scope (full vs failed-only), and the user's intent BEFORE calling either rerun tool.

Flow

  1. CHECK STATUS: get_action_run({ runId }) — verify the run has COMPLETED (status is one of: success, failure, cancelled, skipped). If still ACTIVE (queued, waiting, in_progress, running, pending), STOP — cannot rerun an active run; use gitea-cancel-action if you want to stop it first.
  2. CHOOSE SCOPE:
    • rerun_action_run — reruns the ENTIRE run (all jobs, regardless of prior success/failure). Use when the run is fundamentally broken or you need a clean re-run.
    • rerun_action_run_failed_jobs — reruns ONLY the jobs that failed. More efficient when most jobs succeeded; preserves the successful job results. The run must have conclusion "failure" for this to make sense.
  3. CONFIRM: state the runId, display_title, conclusion, and the chosen scope, then ask the user for explicit approval.
  4. RERUN: rerun_action_run({ runId }) or rerun_action_run_failed_jobs({ runId }).
  5. VERIFY (optional): call list_action_runs to find the new run (it will have an incremented run_attempt).

rerun_action_run

  • RULES: runId is the numeric run ID. Only COMPLETED runs can be reruned. Creates a NEW run; the original is not modified. Returns the new run object or a text confirmation.
  • CHECK FIRST: get_action_run (step 1) + scope decision (step 2) + user confirmation (step 3).

rerun_action_run_failed_jobs

  • RULES: same as rerun_action_run but only re-executes failed jobs. Only meaningful when the run's conclusion is "failure". Returns a text confirmation.
  • CHECK FIRST: get_action_run to confirm the run has failed jobs + user confirmation.

Read the full file on GitHub · 38 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. 3mo ago Changed · +4 lines · +44 tokens per session 23820672a474
  2. 3mo ago First seen · 34 lines · 82 tokens per session scan A 537c13be6d23

Subscribe to this mod's changes

gitea-rerun-action is a skill published in the GitHub repository amonstack/gitea_mcp (2 stars, last pushed 2mo ago), licensed MIT. It adds 126 tokens to every session and 793 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-rerun-action compared with skills from other repositories

gitea-rerun-action next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitea-rerun-actionamonstack/gitea_mcpSkill22mo agoMITA126Claude Code, Codex
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.7k3d agoMITA69Claude Code
deployment-engineerrmyndharis/antigravity-skillsSkill2.2k2d agoMITA73Claude Code, Codex
webhook-managementhoangsonww/Claude-Code-Agent-MonitorSkill1.2k5d agoMITA56Claude Code, Codex
monorepo-managementwshobson/agentsSkill43k2d agoMITC54Claude Code
managing-github-actions-secretsPostHog/posthog-fossSkill736todayMITA67Claude Code, Codex
gha-security-reviewmarcusquinn/aidevopsSkill481todayMITA76Claude Code