Skip to content
Back to skills

Forgejo

ASecurity

Use when a task touches a project on Forgejo or Gitea, such as pull requests, issues, Actions runs, commit status or releases, including repositories that are also mirrored on GitHub.

  • 13 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 20, 2026
developmentbashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add flashmind-labs/beep --skill forgejo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forgejo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forgejo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flashmind-labs-forgejo/badge)](https://www.skillsdirectory.com/skills/flashmind-labs-forgejo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forgejo
description: Use when a task touches a project on Forgejo or Gitea, such as pull requests, issues, Actions runs, commit status or releases, including repositories that are also mirrored on GitHub.
---

# Forgejo and Gitea with teacli

## Which host does what

A project can live on GitHub, on Forgejo, or on both, and the user picks
which host handles each job. Read the choice before anything else:

```bash
git config --get-regexp '^beep\.'
```

| Key | Job | Values |
|---|---|---|
| `beep.prs` | pull requests | `github`, `forgejo` |
| `beep.issues` | issues | `github`, `forgejo` |
| `beep.ci` | CI and builds | `github`, `forgejo` |
| `beep.releases` | releases | `github`, `forgejo` |
| `beep.forgejo-host` | which teacli server | a name from `teacli auth config list` |

- A job set to `github` belongs to the `github` skill.
- A job with no key: if every remote is on Forgejo or Gitea, use it. If the
  project also has a GitHub remote, ask the user which host to use before you create anything there. To read
  (CI status, open PRs, issues), check every host and say which one each
  answer came from. Do not
  decide from `.github/` or `.forgejo/` folders, or from where issues happen
  to exist.

## Picking the server

The API refuses anonymous calls, so use `teacli`, not `curl`.

1. `teacli auth config list` shows the configured servers by name and URL.
2. With more than one, every command needs `--host <name>`. Use
   `beep.forgejo-host` when it is set. Otherwise pick the server whose URL
   matches the host and port of the project's Forgejo remote.
3. No server matches: tell the user to run `teacli auth login`.

Inside the checkout, `teacli` reads `<owner>/<repo>` from the remotes;
`teacli repo current --host <name>` shows what it found.

## Quick reference

| Need | Command |
|---|---|
| CI for a commit | `teacli api /repos/<owner>/<repo>/commits/<sha>/status --host <name>` |
| Runs on a branch | `teacli action list --branch main --host <name>` |
| Jobs and logs of a run | `teacli action jobs <run-id>`, then `teacli action logs <job-id>` |
| Open PRs | `teacli pr list` |
| One PR | `teacli pr get <number>` |
| Issues | `teacli issue list`, `teacli issue get <number>` |
| Releases | `teacli release list` |
| Anything else | `teacli schema --format json`, or `teacli api <path>` |

Add `--format json` when you need to parse the output.

## Common mistakes

- Matching runs to a commit through `teacli action list`: its commit fields
  can be empty. Ask for the commit's status instead.
- Leaving out `--host` with several servers configured: teacli exits 2.
- Creating, commenting on, merging or closing anything the user did not ask
  for. Reading is free; writing needs the user's request.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.