gitea-cancel-action

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

A controlled action for cancelling one active Gitea Actions workflow run. Gitea Actions runs automated jobs such as builds and tests when triggered by code changes.

In plain words
What is it for?
Use it to verify a workflow run, confirm its numeric run ID and status, cancel it with approval, and optionally check that it ended as cancelled.
Why use it?
It stops a run that is still in progress, while requiring a status check and user approval because unfinished jobs are killed and partial results are lost.

Skill for Claude CodeCodex

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

Good fit Use it to verify a workflow run, confirm its numeric run ID and status, cancel it with approval, and optionally check that it ended as cancelled.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/amonstack/gitea_mcp/gitea-cancel-action"><img src="https://agentmods.dev/badge/skills/amonstack/gitea_mcp/gitea-cancel-action.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 596 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.00129 $0.00596
Opus 5.5 $0.00052 $0.00238
Sonnet 5.5 $0.00026 $0.00119
Haiku 4.5 $0.00013 $0.00060

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

Security

Grade A, and why

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

What it actually says

gitea-cancel-action

When to use

Trigger when the user asks to cancel / stop / abort a running workflow run, CI job, or pipeline — 中文请求如「取消这次 workflow 运行」「停掉 CI」「中止流水线」也 MUST 走本 skill:先确认运行仍在进行,经用户批准后再取消。

Cancel one active Actions workflow run. PARTIALLY DESTRUCTIVE. Tools: get_action_run, cancel_action_run.

Prerequisites

  • Resolve owner+repo: pass explicitly, else GITEA_DEFAULT_OWNER/GITEA_DEFAULT_REPO, else resolve_repo (gitea-resolve-repo).
  • Cancellation kills in-progress jobs; partial results and logs are NOT preserved. Always confirm the runId and the user's intent BEFORE calling cancel_action_run.

Flow

  1. CHECK STATUS: get_action_run({ runId }) — verify the run is still ACTIVE (status is one of: queued, waiting, in_progress, running, pending). If the run has already completed (status is success, failure, cancelled, or skipped), STOP — cancelling a finished run returns an error.
  2. CONFIRM: state the runId, display_title, current status, and how long it has been running, then ask the user for explicit approval.
  3. CANCEL: cancel_action_run({ runId }).
  4. VERIFY (optional): call get_action_run({ runId }) again to confirm the conclusion is now "cancelled".

cancel_action_run

  • RULES: runId is the numeric run ID from list_action_runs or the Gitea web UI — never confuse it with a workflow name, issue number, or job ID.
  • Only ACTIVE runs can be cancelled. Attempting to cancel a completed run returns an error.
  • The API returns 204 No Content on success — the tool returns a text confirmation.
  • CHECK FIRST: get_action_run (step 1) + user confirmation (step 2).
  • CHECK AFTER: if it errors with 400/409, the run may have already completed — re-read get_action_run and do NOT retry blindly.
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 · +45 tokens per session 5fff22c80ddd
  2. 3mo ago First seen · 26 lines · 84 tokens per session scan A 16c2c329fc26

Subscribe to this mod's changes

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

gitea-cancel-action next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitea-cancel-actionamonstack/gitea_mcpSkill22mo agoMITA129Claude 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