Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Gitea tea

$ tea Official Med Risk
Gitea · Code & DevOps · MIT · macos / linux / windows

Official command-line tool for Gitea and compatible Forgejo instances. Exposes issues, pull requests, repositories, and notifications with machine-readable --output json formatting.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
brew install tea
CLI vs MCP Decision CLI Preferred vs MCP

Use tea with --output json for lightweight Gitea scripting instead of configuring a dedicated MCP server.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Supports --output json on list/view subcommands, though initial tea login add setup can prompt interactively if flags are omitted.

  • Supports --output json (-o json) across issues, pulls, and releases
  • Interactive prompts occur if required flags are omitted on create commands
Trust & Safety 19 / 25

Separates multiple instances via named --login profiles in config, though lacks --dry-run for remote mutations.

  • Supports named --login profiles in ~/.config/tea/config.yml
  • No global --dry-run flag on write operations
Setup & Portability 14 / 15

Single static Go binary available via Homebrew, go install, and official release downloads.

  • Cross-platform Go binary for macOS, Linux, and Windows
Utility & Efficiency 13 / 15

Covers daily Gitea PR, issue, and release workflows without heavy dependencies.

  • Native support for pulls, issues, releases, and notifications
Maintenance & Lineage 8 / 10

Official Gitea organization project under MIT license with steady community maintenance.

  • Hosted under gitea/tea official repository
Docs & Verifiability 8 / 10

Clear README documentation and --help flags, though less extensive than gh or glab manuals.

  • Documented CLI flags in tea --help and repository README

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Stores instance logins and API tokens in ~/.config/tea/config.yml; supports --login selection across multiple Gitea servers.

Side Effects
Read-Only Local Write Remote Write Destructive
Cost & Quotas

MIT open-source CLI; operates against free self-hosted or hosted Gitea instances.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Gitea tea Agent Rules
- Always pass `--output json` when listing or viewing resources.
- Specify `--login <name>` when multiple Gitea remotes are configured.
- Confirm before merging pull requests or deleting releases.

Agent-Ready Command Recipes

Safe Read-Only Queries

List open pull requests in JSON
tea pulls list --output json

Outputs open pull requests as JSON for clean parsing.

List open issues in JSON
tea issues list --output json

Fetches repository issues in structured JSON format.

Controlled Writes & Previews

Create an issue with explicit flags
tea issues create --title "fix: build script" --description "Details here"

Supplies --title and --description explicitly so the command completes without interactive prompts.

Strengths for Agents

  • + Clean --output json formatting across list and inspect commands.
  • + First-class multi-server --login profile support for self-hosted Gitea.
  • + Lightweight single Go binary with fast startup.

Caveats & Pitfalls

  • ! Initial tea login add requires passing --name, --url, and --token to stay non-interactive.
  • ! Lacks a built-in raw api escape hatch like gh api or glab api.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI