Gitea for Openclaw

A powerful skill for interacting with Gitea instances using the tea CLI for full repository lifecycle management.

ericxliu1990
v1.0.0
Feb 1, 2026
2
3.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gitea

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gitea using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Gitea?

The Gitea integration for Openclaw Skills leverages the tea CLI to provide comprehensive control over self-hosted or managed Gitea instances. It enables AI agents to perform complex repository operations, manage pull requests, and handle issue tracking without leaving the terminal or AI environment. This skill bridges the gap between AI-driven development and Gitea servers, offering a robust way to manage code collaboration, releases, and repository settings through a unified and scriptable interface.

By incorporating this capability into your Openclaw Skills library, developers can automate repetitive administrative tasks, synchronize project status across platforms, and integrate Gitea more deeply into automated CI/CD pipelines. It supports multiple instances and flexible output formats, making it a versatile tool for any scale of software development.

Gitea Use Cases

  • Automating pull request creation and review cycles during development.
  • Managing repository-level CI/CD secrets and action variables for secure deployments.
  • Batch creating or updating issues and milestones for high-level project management.
  • Synchronizing notifications and repository details across Openclaw Skills workflows.
  • Programmatically setting up and managing webhooks for external third-party integrations.

How Gitea Works

  1. Initialize the connection to your Gitea instance by adding a login configuration.
  2. Execute specific tea commands through the AI agent to query or modify repository data such as issues, pull requests, or releases.
  3. Use repository-specific flags like --repo to target external repositories or work within local git directories.
  4. Capture and process command output in various formats like CSV or YAML for integration with other Openclaw Skills.
  5. Utilize advanced helper functions to open resources in the browser or clone repositories directly to the local environment.

Gitea Setup

To begin using this skill, ensure the tea CLI is installed on your system. First, configure your account connection:

tea login add

Verify your credentials and current user session to ensure the Openclaw Skills environment is correctly authenticated:

tea whoami

Gitea Data Schema & Taxonomy

The skill interacts with Gitea via structured commands that return data in multiple formats. The data taxonomy is organized as follows:

Entity Primary Commands Data Managed
Repositories tea repos list, tea repos create Name, Description, Visibility, Forks
Issues/PRs tea issues, tea pulls, tea pr checkout Titles, Bodies, Assignments, Milestones
CI/CD tea actions secrets, tea actions variables Environment variables and sensitive secrets
Metadata tea labels, tea milestones, tea branches Categorization and organizational metadata

All commands support the --output flag (simple, csv, yaml) to ensure data can be parsed by subsequent Openclaw Skills in a pipeline.

Gitea Advanced Features

  • Support for multiple Gitea instances via the --login flag for multi-server environments.
  • Integrated secret and variable management for Gitea Actions CI/CD automation.
  • Comprehensive webhook configuration for both organization and repository levels.
  • Flexible output formatting including YAML and CSV for cross-tool interoperability within Openclaw Skills.
  • Direct repository cloning and automated local PR branch checkout.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*