Loading...
Loading...
Interface with Gitea instances via the tea CLI. Manage repositories, issues, pull requests, releases, labels, milestones, CI/CD actions, webhooks, organizations, and notifications. Use when user mentions "Gitea", "tea CLI", or asks to create/list/edit/close issues, create/review/merge pull requests, manage repos, create releases, view CI/CD workflow runs, manage webhooks, track time, or perform any code hosting task on a Gitea server. Do NOT use for GitHub (use gh CLI) or GitLab.
npx skill4agent add pkulik0/gitea-skill giteateateabash scripts/check-tea.shtea --version && tea logins lsteabrew install teareferences/authentication.mdtea--repo owner/repo--login name--remote namegit remote -v 2>/dev/null
tea logins ls --output simple--output-ojsonsimpletablecsvtsvyaml--output json--output tabletea issues ls # open issues in current repo
tea issues ls --state closed # closed issues
tea issues ls --labels bug,urgent # filter by labels
tea issues ls --assignee username # filter by assignee
tea issues ls --milestones "v1.0" # filter by milestone
tea issues ls --keyword "search term" # search by keyword
tea issues ls --fields "index,title,state,assignees,labels" --output tabletea issues create --title "Bug: login fails" --description "Steps to reproduce..." --labels bug --assignees user1,user2tea issues edit 42 --title "New title" --add-labels enhancement --add-assignees user2
tea issues edit 42 --milestone "v2.0" --deadline 2025-12-31tea issues close 42
tea issues reopen 42tea comment 42 "This is fixed in commit abc123"tea pulls ls # open PRs
tea pulls ls --state closed --output json
tea pulls ls --labels "needs-review"tea pulls create --title "Add auth module" --description "Implements OAuth2 flow" --base main --head feature-branch
tea pulls create --title "Fix #42" --base main --head fix-login --labels bugfix --assignees reviewer1--head username:branchtea pulls review 15 # interactive review
tea pulls approve 15 # approve (alias: lgtm)
tea pulls reject 15 # request changes
tea pulls merge 15 --style squash # merge (styles: merge, rebase, squash, rebase-merge)
tea pulls merge 15 --style squash --title "feat: auth module (#15)" --message "Implements OAuth2"tea pulls checkout 15 # fetches and checks out PR branch
tea pulls clean 15 # delete local+remote branches after mergetea repos ls # your repos on default login
tea repos search "keyword" # search across instance
tea repos search "keyword" --owner org # search within org
tea repos ls --output json --limit 50tea repos create --name my-project --description "A new project" --init --gitignores Go --license MIT
tea repos create --name team-project --owner my-org --private
tea repos create-from-template --name new-proj --owner my-org # from template repotea repos fork owner/repo
tea repos fork owner/repo --owner my-org # fork to org
tea clone owner/repo # clone (auto-detects login)tea repos delete --repo owner/repo # destructive - confirm with user firsttea repos migrate --name imported-repo --clone-url https://github.com/user/repo.git --service github --mirrortea releases lstea releases create --tag v1.0.0 --title "Release 1.0.0" --note "Release notes here" --target main
tea releases create --tag v1.0.0 --title "v1.0.0" --note-file CHANGELOG.md --asset ./dist/binary.tar.gz
tea releases create --tag v2.0.0-rc1 --prerelease --drafttea releases edit 1 --tag v1.0.1 --title "Patch Release"
tea releases delete 1 # destructive - confirm firsttea releases assets ls 1
tea releases assets create 1 ./path/to/file.zip
tea releases assets delete 1 asset-idtea labels ls
tea labels create --name "priority:high" --color "#ff0000" --description "High priority"
tea labels update 5 --name "priority:critical" --color "#990000"
tea labels delete 5tea milestones ls
tea milestones create --title "v2.0" --description "Major release" --deadline 2025-06-01
tea milestones close 3
tea milestones issues 3 # list issues in milestonetea actions runs ls # list recent runs
tea actions runs view 42 # view run details
tea actions runs logs 42 # view run logs
tea actions runs logs 42 --job 1 # specific job logs
tea actions runs logs 42 --follow # stream logs in real timetea actions secrets ls
tea actions secrets create SECRET_NAME secret_value
tea actions secrets create DB_PASSWORD --file ./secret.txt
tea actions secrets delete SECRET_NAME
tea actions variables ls
tea actions variables set VAR_NAME var_value
tea actions variables delete VAR_NAMEtea actions workflows lstea orgs ls
tea orgs create --name my-org --description "My organization" --visibility public
tea orgs delete my-org # destructive - confirm firsttea times ls 42 # time tracked on issue 42
tea times add 42 "2h30m" # log 2h30m on issue 42
tea times delete 42 1 # delete time entry
tea times reset 42 # reset all tracked timetea notifications ls # unread + pinned
tea notifications ls --mine --states unread # across all repos
tea notifications read 1 # mark as read
tea notifications unread 1 # mark as unread
tea notifications pin 1 # pin notificationtea webhooks ls
tea webhooks create --url https://example.com/hook --events push,pull_request --secret mysecret
tea webhooks update 1 --url https://new-url.com --events push
tea webhooks delete 1tea apitea api /repos/{owner}/{repo} # GET (default)
tea api --method POST /repos/{owner}/{repo}/topics -f topic=ci # add topic
tea api /repos/{owner}/{repo}/commits --field sha=main # list commits
tea api --method DELETE /repos/{owner}/{repo}/topics/old-topic # delete topic{owner}{repo}references/workflows.mdtea admin users ls # list all users (admin only)tea issues create --title "Bug: Login times out after 30s on slow connections" \
--description "## Steps to reproduce\n1. Connect via slow network\n2. Attempt login\n3. Observe timeout after 30s\n\n## Expected\nGraceful retry or extended timeout\n\n## Actual\nConnection dropped with no error message" \
--labels bug \
--assignees alicetea releases create --tag v2.1.0 --title "v2.1.0" --note-file CHANGELOG.md --target maintea pulls ls 27 --output json # inspect PR details
tea pulls approve 27 # approve
tea pulls merge 27 --style squash # squash mergetea repos fork gitea/docs
tea clone gitea/docs
cd docs
git checkout -b fix-typo
# ... user makes changes ...
git add -A && git commit -m "Fix typo in installation guide"
git push origin fix-typo
tea pulls create --title "Fix typo in installation guide" --base main --head yourusername:fix-typotea logins addreferences/authentication.mdgit remote -vtea issues ls --repo owner/repo --login mylogintea logins lstea whoamitea logins edittea logins lstea logins add --insecure--limit--pagetea issues ls --limit 10 --page 1references/authentication.mdreferences/tea-commands.mdreferences/workflows.md