OpenClaw · Skill
Codeberg
Use the tea CLI to interact with Codeberg. Codeberg is a Forgejo instance, and the tea CLI is fully compatible with it.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install razzeee/codebergClawHub installer
npx clawhub@latest install razzeee/codebergOpenClaw CLI
openclaw skills install razzeee/codebergDirect OpenClaw install
openclaw install razzeee/codebergWhat this skill does
Use the tea CLI to interact with Codeberg. Codeberg is a Forgejo instance, and the tea CLI is fully compatible with it.
Why it matters
The `tea` CLI exposes Codeberg's full API surface in a single terminal tool, avoiding manual curl commands or browser navigation.
Typical use cases
- List open pull requests in a Codeberg repo
- View issue details without opening a browser
- Inspect CI/CD secrets and variables via Actions
- Query PR metadata with custom field filtering
- Switch between multiple Codeberg accounts
Source instructions
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 <your-token>
Then you can use --login codeberg in your commands:
tea pulls --repo owner/repo --login codeberg
List all configured logins:
tea logins