Agent skill

Forgejo CLI

by magnus919 in magnus919/agent-skills

A skill your agent uses when managing a Forgejo or Gitea server from the terminal: issues, pull requests, repositories, file contents, labels, milestones, releases, webhooks, user settings, or any…

MITAuto-check passedBackend & APIs

Install Forgejo CLI

skills CLI
$ npx skills add magnus919/agent-skills --skill forgejo-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install magnus919/agent-skills forgejo-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/forgejo-cli .claude/skills/forgejo-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
forgejo-cli
GitHub stars
116
Token cost
~645 tokens
SKILL.md length
208 words
Files
10 (incl. scripts, references)
Skills in repo
130
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when managing a Forgejo or Gitea server from the terminal: issues, pull requests, repositories, file contents, labels, milestones, releases, webhooks, user settings, or any…

  • Managing a Forgejo
  • SKILL.md covers Safety, Common workflows and Choosing a command
  • Runs Python scripts from its folder; calls python3; needs FORGEJO_AGENT_TOKEN and FORGEJO_USER_TOKEN
  • Gitea server from the terminal: issues

What it does

Forgejo CLI is an agent skill from magnus919/agent-skills. Use when managing a Forgejo or Gitea server from the terminal: issues, pull requests, repositories, file contents, labels, milestones, releases, webhooks, user settings, or any /api/v1 endpoint through a safe generic API command. Do not use this skill for unrelated requests; route to the nearest named specialist.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `README.md`, `V2-SPEC.md` and `evals/evals.json`). Compatibility notes: Python 3.8+; requests is required only for live API calls.

It sits in Backend & APIs, covering Project management, Webhooks and Pull requests. The repository describes itself as: Curated collection of AI agent skills for Hermes and other agent frameworks. The licence is MIT.

When your agent uses it

  • Managing a Forgejo
  • Gitea server from the terminal: issues
  • Any /api/v1 endpoint through a safe generic API command
  • Unrelated requests

Example prompts

  • “/forgejo-cli”

Requirements

  • Python 3
  • A credential in FORGEJO_AGENT_TOKEN
  • A credential in FORGEJO_USER_TOKEN
  • Compatibility (from SKILL.md): Python 3.8+; requests is required only for live API calls.

What it can do on your machine

Read from SKILL.md and the folder at commit c545c2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • FORGEJO_AGENT_TOKEN
    • FORGEJO_USER_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Python 3.8+; requests is required only for live API calls.

    From compatibility in the SKILL.md frontmatter.

Context cost

Forgejo CLI loads about 645 tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 208 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~645
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from magnus919/agent-skills at commit c545c2b, republished under its MIT licence (© magnus919). 208 words, ~645 tokens.

Download SKILL.mdSave it as .claude/skills/forgejo-cli/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
forgejo-cli
description
Use when managing a Forgejo or Gitea server from the terminal: issues, pull requests, repositories, file contents, labels, milestones, releases, webhooks, user settings, or any /api/v1 endpoint through a safe generic API command. Do not use this skill for unrelated requests; route to the nearest named specialist.
compatibility
Python 3.8+; requests is required only for live API calls.
license
MIT
metadata.version
2.0.0
metadata.tags
forgejo, gitea, git, api, code-review

Forgejo CLI v2

Run python3 scripts/forgejo-cli. --agent (default) uses FORGEJO_AGENT_TOKEN; --user uses FORGEJO_USER_TOKEN; --server URL selects an installation. Set FORGEJO_SERVER in your shell if your wrapper supplies it, otherwise pass --server explicitly.

Safety

  • Mutations require --force/--yes/-y, or --dry-run.
  • --dry-run --json emits one plan with method, path, query, and body; it makes no network request.
  • --json writes exactly one JSON value to stdout; diagnostics go to stderr.
  • --page and --limit work for any list/search request. Add --include-response to receive the HTTP status plus link and x-total-count pagination headers.
  • --help does not read credentials or contact a server. Path segments are encoded.

Common workflows

bash
python3 scripts/forgejo-cli issue list --owner acme --repo app --json
python3 scripts/forgejo-cli --dry-run --json repo create --name demo --private
python3 scripts/forgejo-cli --dry-run --json api --method POST \
  --path /api/v1/repos/acme/app/actions/variables --data '{"name":"KEY","value":"value"}'

First-class groups: issue, pr, repo, content, label, milestone, release, hook, and user. content expects base64 and update/delete require the current SHA. Use api for any other /api/v1/ endpoint; it supports JSON, raw files, multipart uploads/forms, and custom headers. Consult /api/swagger or /swagger.v1.json on the selected server. See command reference.

Choosing a command

Use a first-class command for its covered daily workflow. Use api when the operation is absent, requires version-specific fields, or needs a schema not represented by a simple flag. Before using api, read endpoint routing; read API usage for authentication, pagination, compatibility, and safe schema discovery. Read troubleshooting for 401/403/422 responses and transport failures.

© magnus919, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts, references) in forgejo-cli of magnus919/agent-skills.

  • SKILL.md
  • README.md
  • V2-SPEC.md
  • evals/evals.json
  • references/api-usage.md
  • references/command-reference.md
  • references/endpoint-routing.md
  • references/troubleshooting.md
  • scripts/forgejo-cli
  • tests/test_cli.py

Open the folder on GitHubat commit c545c2b

Compare with similar skills

Forgejo CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Forgejo CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Forgejo CLI this skillmagnus919/agent-skills116—~645Automated safety check: PassMIT
PR Review Provideryansongda/pay5.4k—~2.4kAutomated safety check: PassMIT
Agent Notifications777genius/agent-notifications816—~1.8kAutomated safety check: PassCustom licence
Stewardbomzheg/Shvatka144—~574Automated safety check: PassMIT
00 Async Devai-driven-dev/framework513—~2.4kAutomated safety check: PassMIT
LoopX PR Program Managerloopx-project/loopx6.2k—~1.9kAutomated safety check: PassApache-2.0

Similar skills

  • PR Review Provider

    yansongda/pay

    A skill your agent uses when reviewing PRs that add or modify a payment Provider in yansongda/pay - covers plugin pipeline, multi-tenant safety, signature verification, docs, and naming conventions.

    5.4k GitHub stars~2.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Agent Notifications

    777genius/agent-notifications

    Send an Agent Notifications desktop notification when the user requests one, attention is needed, or a meaningful milestone warrants an alert during ongoing work.

    816 GitHub stars~1.8k tokensUpdated today
    Backend & APIsAuto-check passed
  • Steward

    bomzheg/Shvatka

    How an agent watches a pull request in this repository — webhooks only, no scheduled check-ins.

    144 GitHub stars~574 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • 00 Async Dev

    ai-driven-dev/framework

    Drive the async-dev pipeline from one entry point, whether setup, run, or review.

    513 GitHub stars~2.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • LoopX PR Program Manager

    loopx-project/loopx

    Tracks a group of pull or merge requests across repositories as durable LoopX state: inventory, reconcile changes, keep priorities and a roadmap, and monitor over time.

    6.2k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Bkt

    avivsinai/bitbucket-cli

    Operate Bitbucket Cloud or Data Center repositories, pull requests, branches, issues, pipelines, permissions, and webhooks with bkt.

    233 GitHub starsUsed in 1 repo~1k tokens
    DevelopmentAuto-check passed

More from magnus919/agent-skills

All 130 skills in this repo
  • Artifact Pyramids

    magnus919/agent-skills

    Organize durable agent research outputs as summaries, analysis, and evidence dossiers.

    116 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Ascii City Engine

    magnus919/agent-skills

    Build portable, first-person colored ASCII city engines and small GIS-derived city packs.

    116 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Color Management

    magnus919/agent-skills

    Manage color workflows with ICC profiles, working spaces, gamut mapping, and color science.

    116 GitHub stars~2.6k tokensUpdated today
    Auto-check: notes
  • Data Scientist

    magnus919/agent-skills

    A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…

    116 GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Docker Compose

    magnus919/agent-skills

    Use Docker Compose to define, run, debug, and harden multi-container applications.

    116 GitHub stars~2k tokensUpdated today
    Auto-check: notes
  • Fpga Development

    magnus919/agent-skills

    Design, review, simulate, and verify FPGA logic using explicit RTL contracts, clock and reset models, CDC analysis, timing constraints, and reproducible implementation evidence.

    116 GitHub stars~2.7k tokensUpdated today
    Auto-check passed

Questions about Forgejo CLI

What does Forgejo CLI do?

A skill your agent uses when managing a Forgejo or Gitea server from the terminal: issues, pull requests, repositories, file contents, labels, milestones, releases, webhooks, user settings, or any…. Forgejo CLI is an agent skill from magnus919/agent-skills. Use when managing a Forgejo or Gitea server from the terminal: issues, pull requests, repositories, file contents, labels, milestones, releases, webhooks, user settings, or any /api/v1 endpoint through a safe generic API command.

When should I use Forgejo CLI?

Forgejo CLI fits situations like: managing a Forgejo; gitea server from the terminal: issues; any /api/v1 endpoint through a safe generic API command; unrelated requests.

How do I install Forgejo CLI in Claude Code?

Run `npx skills add magnus919/agent-skills --skill forgejo-cli -a claude-code`. Or copy the skill folder (forgejo-cli in magnus919/agent-skills) into .claude/skills/forgejo-cli in your project. Claude Code loads it when a task matches its description.

How do I install Forgejo CLI in Codex?

Run `npx skills add magnus919/agent-skills --skill forgejo-cli -a codex`. Or copy the skill folder (forgejo-cli in magnus919/agent-skills) into .agents/skills/forgejo-cli in your project. Codex loads it when a task matches its description.

Can I use Forgejo CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add magnus919/agent-skills --skill forgejo-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/forgejo-cli, .gemini/skills/forgejo-cli, .github/skills/forgejo-cli and .opencode/skills/forgejo-cli in your project.

What does Forgejo CLI need to run?

Going by SKILL.md and its folder, Forgejo CLI needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named FORGEJO_AGENT_TOKEN and FORGEJO_USER_TOKEN. Our summary lists: Python 3; A credential in FORGEJO_AGENT_TOKEN; A credential in FORGEJO_USER_TOKEN. Compatibility (from SKILL.md): Python 3.8+; requests is required only for live API calls..

Does Forgejo CLI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Forgejo CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Forgejo CLI use?

Forgejo CLI is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Forgejo CLI use?

About 645 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.

What are the alternatives to Forgejo CLI?

Skills that share tags, products or a category with Forgejo CLI: PR Review Provider (yansongda/pay, 5.4k stars), Agent Notifications (777genius/agent-notifications, 816 stars), Steward (bomzheg/Shvatka, 144 stars) and 00 Async Dev (ai-driven-dev/framework, 513 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Forgejo CLI?

magnus919 (a GitHub user) maintains it in magnus919/agent-skills, which has 116 GitHub stars. The repository holds 130 skills in this directory. The repository was last updated on October 8, 2026.

Source: magnus919/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.