← 返回 Skills 市场
ericxliu1990

Gitea

作者 ericxliu1990 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
2961
总下载
2
收藏
10
当前安装
1
版本数
在 OpenClaw 中安装
/install gitea
功能描述
Interact with Gitea using the `tea` CLI. Use `tea issues`, `tea pulls`, `tea releases`, and other commands for issues, PRs, releases, and repository management.
使用说明 (SKILL.md)

Gitea Skill

Use the tea CLI to interact with Gitea servers. Use --repo owner/repo when not in a git directory, or --login instance.com to specify a Gitea instance.

Setup

Add a login once to get started:

tea login add

Check current logged in user:

tea whoami

Repositories

List repositories you have access to:

tea repos list

Create a new repository:

tea repos create --name my-repo --description "My project" --init

Create a private repository:

tea repos create --name my-repo --private --init

Fork a repository:

tea repos fork owner/repo

Delete a repository:

tea repos delete --name my-repo --owner myuser --force

Pull Requests

List open pull requests:

tea pulls --repo owner/repo

View a specific PR:

tea pr 55 --repo owner/repo

Checkout a PR locally:

tea pr checkout 55

Create a new PR:

tea pr create --title "Feature title" --description "Description"

Issues

List open issues:

tea issues --repo owner/repo

View a specific issue:

tea issue 189 --repo owner/repo

Create a new issue:

tea issue create --title "Bug title" --body "Description"

View issues for a milestone:

tea milestone issues 0.7.0

Comments

Add a comment to an issue or PR:

tea comment 189 --body "Your comment here"

Releases

List releases:

tea releases --repo owner/repo

Create a new release:

tea release create --tag v1.0.0 --title "Release 1.0.0"

Actions (CI/CD)

List repository action secrets:

tea actions secrets list

Create a new secret:

tea actions secrets create API_KEY

List action variables:

tea actions variables list

Set an action variable:

tea actions variables set API_URL https://api.example.com

Webhooks

List repository webhooks:

tea webhooks list

List organization webhooks:

tea webhooks list --org myorg

Create a webhook:

tea webhooks create https://example.com/hook --events push,pull_request

Other Entities

List branches:

tea branches --repo owner/repo

List labels:

tea labels --repo owner/repo

List milestones:

tea milestones --repo owner/repo

List organizations:

tea organizations

Show repository details:

tea repo --repo owner/repo

Helpers

Open something in browser:

tea open 189                 # open issue/PR 189
tea open milestones          # open milestones page

Clone a repository:

tea clone owner/repo

Show notifications:

tea notifications --mine

Output Formats

Use --output or -o to control output format:

tea issues --output simple   # simple text output
tea issues --output csv      # CSV format
tea issues --output yaml     # YAML format
安全使用建议
This skill is a thin, instruction-only guide for using the 'tea' CLI with Gitea and appears coherent. Before installing, verify you have the 'tea' CLI available (the skill assumes it but metadata doesn't declare it). Be aware that commands shown can create webhooks and action secrets on your Gitea instance — only grant the agent the minimal permissions required and only run these commands against trusted instances/URLs. If you want the agent to actually perform operations, ensure the agent's account tokens are appropriately scoped and review any webhooks/secret values it will create.
功能分析
Type: OpenClaw Skill Name: gitea Version: 1.0.0 The skill bundle is benign. It primarily consists of a `SKILL.md` file that describes how to interact with Gitea using the `tea` CLI. All commands demonstrated are standard operations for repository management, pull requests, issues, releases, and webhooks. While the `tea webhooks create` command allows configuring Gitea to send data to arbitrary URLs, this is a legitimate function of the `tea` CLI and Gitea itself. The skill bundle merely documents this capability without providing any instructions for malicious use, attempting prompt injection against the agent, or exhibiting other high-risk behaviors like data exfiltration or obfuscation.
能力评估
Purpose & Capability
The skill's name, description, and SKILL.md consistently describe using the 'tea' CLI to manage Gitea resources (repos, PRs, issues, releases, webhooks, actions). However, the registry metadata does not declare the 'tea' binary as a required dependency even though every runtime step relies on it — this is an omission in metadata rather than a functional mismatch.
Instruction Scope
SKILL.md stays within the stated purpose: it lists tea commands for login, repo/PR/issue management, releases, actions secrets/variables, and webhooks. It does not instruct reading unrelated local files or accessing unrelated services. Note: some commands (creating webhooks or action secrets) inherently grant the skill the ability to send events or store sensitive values on the target Gitea instance — that capability is expected for this purpose.
Install Mechanism
There is no install spec and no code files (instruction-only), so nothing is written to disk or downloaded by the skill itself. This is the lowest-risk install posture.
Credentials
The skill declares no required environment variables or credentials, which matches SKILL.md (tea login is done interactively or via the tea CLI configuration). There is no unexplained request for unrelated secrets or external credentials.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent/global presence or attempt to modify other skills or system configuration. Autonomous invocation is allowed by platform default but is not combined with other concerning flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gitea
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gitea 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the gitea skill. - Provides comprehensive docs for managing repositories, pull requests, issues, releases, webhooks, actions, and more via the `tea` CLI. - Includes setup instructions and usage examples for all supported Gitea operations. - Details output formatting options and helpful shortcuts for efficient workflow.
元数据
Slug gitea
版本 1.0.0
许可证
累计安装 10
当前安装数 10
历史版本数 1
常见问题

Gitea 是什么?

Interact with Gitea using the `tea` CLI. Use `tea issues`, `tea pulls`, `tea releases`, and other commands for issues, PRs, releases, and repository management. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2961 次。

如何安装 Gitea?

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

Gitea 是免费的吗?

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

Gitea 支持哪些平台?

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

谁开发了 Gitea?

由 ericxliu1990(@ericxliu1990)开发并维护,当前版本 v1.0.0。

💬 留言讨论