← 返回 Skills 市场
razzeee

Forgejo

作者 razzeee · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
1183
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install forgejo
功能描述
Interact with Forgejo using the `tea` CLI. Use `tea issue`, `tea pr`, `tea actions`, and `tea api` for issues, PRs, Actions, and advanced queries.
使用说明 (SKILL.md)

Forgejo Skill

Use the tea CLI to interact with Forgejo instances. The tea CLI is compatible with Forgejo.

Pull Requests

List open pull requests:

tea pulls --repo owner/repo

Check details of a PR:

tea pr 55 --repo owner/repo

Issues

List open issues:

tea issues --repo owner/repo

View an issue:

tea issue 123 --repo owner/repo

Actions (CI/CD)

List repository secrets:

tea actions secrets list --repo owner/repo

List repository variables:

tea actions variables list --repo owner/repo

API for Advanced Queries

The tea api command is useful for accessing data not available through other subcommands.

Get PR with specific fields (requires jq for filtering):

tea api repos/owner/repo/pulls/55 | jq '.title, .state, .user.login'

Logins

To use tea with a specific Forgejo instance, you first need to add a login:

tea login add --name my-forgejo --url https://forgejo.example.com --token \x3Cyour-token>

Then you can use --login my-forgejo in your commands:

tea pulls --repo owner/repo --login my-forgejo

List all configured logins:

tea logins
安全使用建议
This skill is a thin wrapper around the tea CLI and is coherent with its description, but review these practical points before installing: 1) Installation: brew and go are standard install methods; prefer the package source you trust (Homebrew formula or the upstream Go module). 2) Tokens: you'll provide a Forgejo token via 'tea login add' and the token will be stored/managed by the tea CLI — only use tokens for Forgejo instances you trust. 3) Sensitive operations: the skill documents commands to list repo secrets/variables; those commands require appropriate repository permissions and expose sensitive data if run against a repository. 4) Missing requirement: the docs suggest using 'jq' for filtering but jq isn't declared as a required binary — install jq if you rely on that example. If you need greater assurance, verify the Homebrew formula source or the Go module repository (code.gitea.io/tea) before installing.
功能分析
Type: OpenClaw Skill Name: forgejo Version: 0.1.0 The skill is classified as suspicious due to the explicit inclusion of instructions in `SKILL.md` for listing repository secrets (`tea actions secrets list`). While this is a legitimate command of the `tea` CLI and there is no clear evidence of intentional malicious behavior like exfiltration or misuse within the provided files, exposing the capability to list sensitive repository secrets to an AI agent represents a significant high-risk capability. This increases the attack surface for potential misuse or unintended exposure if the agent were to be compromised or given a crafted prompt.
能力评估
Purpose & Capability
Name and description map directly to the behavior in SKILL.md. The skill declares and requires the 'tea' CLI and provides brew/go install options for the same 'tea' project (code.gitea.io/tea), which is proportional to a Forgejo integration.
Instruction Scope
Runtime instructions stick to running 'tea' commands (pulls, issues, actions, api, login). They include operations that access repository secrets/variables (sensitive but expected for a repo management CLI). The docs mention using 'jq' to filter API output but 'jq' is not declared as a required binary — minor inconsistency. There are no instructions to read unrelated local files or environment variables.
Install Mechanism
Install options are standard: a Homebrew formula and a Go module (code.gitea.io/tea@latest). Both are reasonable ways to obtain the 'tea' CLI; neither uses obscure download URLs or extracts arbitrary archives.
Credentials
The skill does not request environment variables or external credentials in its metadata. The SKILL.md instructs users to provide a Forgejo token via 'tea login add --token <your-token>' which is expected. Users should be aware that those tokens will be stored/managed by the 'tea' CLI and are sensitive — the skill itself does not request additional unrelated credentials.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or cross-skill configuration changes. It relies on installing/using the 'tea' binary only; there is no indication it modifies other skills or system-wide agent settings beyond installing the CLI.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install forgejo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /forgejo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of the Forgejo skill. - Provides instructions for using the tea CLI to interact with Forgejo repositories. - Supports managing issues, pull requests, Actions (secrets/variables), and advanced API queries. - Includes installation options for the tea CLI via Homebrew or Go. - Documents configuring and switching between multiple Forgejo logins. - Offers example commands for common repository operations.
元数据
Slug forgejo
版本 0.1.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Forgejo 是什么?

Interact with Forgejo using the `tea` CLI. Use `tea issue`, `tea pr`, `tea actions`, and `tea api` for issues, PRs, Actions, and advanced queries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1183 次。

如何安装 Forgejo?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install forgejo」即可一键安装,无需额外配置。

Forgejo 是免费的吗?

是的,Forgejo 完全免费(开源免费),可自由下载、安装和使用。

Forgejo 支持哪些平台?

Forgejo 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Forgejo?

由 razzeee(@razzeee)开发并维护,当前版本 v0.1.0。

💬 留言讨论