← 返回 Skills 市场
razzeee

Gitea

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

Gitea Skill

Use the tea CLI to interact with Gitea instances. The tea CLI is the official command-line tool for Gitea.

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 Gitea instance, you first need to add a login:

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

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

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

List all configured logins:

tea logins
安全使用建议
This skill is coherent: it simply shows how to use the tea CLI to interact with Gitea. Before installing/using it: (1) ensure you trust the Homebrew or Go source used to install tea; (2) be aware that tea commands (e.g., actions secrets list) will access repository secrets/metadata if your configured login has permission—only add tokens you trust and store them securely; (3) the SKILL.md mentions using jq for filtering but doesn't declare it as required, so install jq if you need to run the example pipeline; and (4) if you are uncomfortable with the agent invoking the skill autonomously, restrict user-invocation or review calls the skill makes that perform write actions (e.g., creating PRs/issues) before allowing them.
功能分析
Type: OpenClaw Skill Name: gitea-2 Version: 0.1.0 The skill is classified as suspicious due to exposing high-risk capabilities to the AI agent, specifically the ability to list repository secrets (`tea actions secrets list`) and manage API tokens (`tea login add --token`) as demonstrated in SKILL.md. While these are legitimate functions of the `tea` CLI, providing an AI agent direct access to such sensitive operations without explicit guardrails presents a significant risk for potential data exposure or unauthorized access if the agent is maliciously prompted.
能力评估
Purpose & Capability
Name/description describe using the tea CLI for Gitea operations; required binary (tea) and install methods (brew or go module code.gitea.io/tea) match that purpose and are proportionate.
Instruction Scope
SKILL.md only shows example tea commands (pulls, pr, issues, actions, api, login). It does not instruct reading unrelated files, accessing unrelated env vars, or sending data to unknown endpoints. It does mention using jq for local filtering but does not claim jq is required.
Install Mechanism
Installers are standard: Homebrew formula 'tea' and a Go module from the official code.gitea.io path. Both are expected ways to obtain the tea CLI and are not high-risk download-from-arbitrary-URL installs.
Credentials
No environment variables or credentials are declared. The skill demonstrates using a Gitea token via 'tea login add', which is appropriate for interacting with Gitea and does not request unrelated secrets.
Persistence & Privilege
Skill does not request always: true and does not modify other skills or system-wide settings. Default autonomous invocation is allowed (platform default) but is not excessive for this kind of integration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gitea-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gitea-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of the gitea skill. - Provides instructions for using the tea CLI to interact with Gitea: managing issues, pull requests, CI/CD actions, and API queries. - Details steps for installing the tea CLI via Homebrew or Go. - Shows how to list and view issues, pull requests, repository secrets, and variables. - Explains login configuration for accessing different Gitea instances.
元数据
Slug gitea-2
版本 0.1.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Gitea 是什么?

Interact with Gitea 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 插件,目前累计下载 1083 次。

如何安装 Gitea?

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

Gitea 是免费的吗?

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

Gitea 支持哪些平台?

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

谁开发了 Gitea?

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

💬 留言讨论