← 返回 Skills 市场
razzeee

Codeberg

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

Codeberg Skill

Use the tea CLI to interact with Codeberg. Codeberg is a Forgejo instance, and the tea CLI is fully compatible with it.

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 Codeberg, you first need to add your login:

tea login add --name codeberg --url https://codeberg.org --token \x3Cyour-token>

Then you can use --login codeberg in your commands:

tea pulls --repo owner/repo --login codeberg

List all configured logins:

tea logins
安全使用建议
This skill is coherent for interacting with Codeberg using the tea CLI, but review a few small items before installing: 1) The examples use 'jq' but jq isn't declared as a required binary—install jq if you plan to use those examples. 2) The skill shows how to add a Codeberg token; only provide a token you trust and limit its scope to the minimum permissions needed (e.g., read-only vs admin) and do not paste tokens into chat logs. 3) Installing via Homebrew or building the Go module will create a local binary—verify you trust those package sources (check the Homebrew formula and the Go module repo) before installing. 4) Some commands (e.g., actions secrets list) require elevated repo permissions and may reveal metadata about secrets (names) but not secret values; only run them if you have appropriate repository access. If you want more assurance, ask the publisher for a homepage/source URL or inspect the brew/go package contents before installing.
功能分析
Type: OpenClaw Skill Name: codeberg Version: 0.1.0 The skill is classified as suspicious due to the explicit documentation of the `tea actions secrets list` command in `SKILL.md`. While this command is a legitimate function of the `tea` CLI for repository management and aligns with the stated purpose of interacting with Codeberg, it exposes a high-risk capability to an AI agent. There is no evidence of intentional malicious behavior or prompt injection to misuse this command, but its direct availability without explicit safeguards could lead to unintended sensitive data exposure if the agent is misdirected or compromised.
能力评估
Purpose & Capability
The skill advertises interacting with Codeberg via the 'tea' CLI and the SKILL.md only instructs using 'tea' subcommands (issues, PRs, actions, api). The declared install options (brew formula and go module for 'tea') are appropriate for providing the required binary.
Instruction Scope
Instructions stay within the stated purpose (running tea commands). Minor issues: examples use 'jq' for filtering but 'jq' is not listed as a required binary; the SKILL.md shows how to add a login token but does not document the necessary token scopes/permissions or warn about handling tokens securely.
Install Mechanism
Install options are standard package sources: Homebrew formula 'tea' and the upstream Go module 'code.gitea.io/tea@latest'. Neither is a URL download/extract from an untrusted host. Building via 'go' compiles local binary (expected for a CLI).
Credentials
The skill requests no environment variables or config paths. It instructs the user to provide a Codeberg token via 'tea login add'—this is appropriate and proportional to the skill's purpose (no unrelated credentials requested).
Persistence & Privilege
always is false and model invocation is allowed (default). The skill does not request persistent system-wide changes or access to other skills' configs in its instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install codeberg
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /codeberg 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of the Codeberg skill. - Enables interaction with Codeberg repositories using the `tea` CLI. - Supports managing issues, pull requests, and CI/CD actions via simple commands. - Provides advanced data access using the `tea api` command. - Includes setup instructions for authentication and login management. - Compatible installation options offered via Homebrew and Go.
元数据
Slug codeberg
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Codeberg 是什么?

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

如何安装 Codeberg?

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

Codeberg 是免费的吗?

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

Codeberg 支持哪些平台?

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

谁开发了 Codeberg?

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

💬 留言讨论