cline/skills

teamcity-cli

Use when working with TeamCity CI/CD or when a user provides a TeamCity build URL — drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, projects, and pipelines.

Trending #7292 First seen Jun 19, 2026

Installation

$ npx skills add cline/skills --skill teamcity-cli

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from cline/skills · top by installs.

npx skills add cline/skills

Browse all from cline/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Also listed on

Alternate registries and mirrors of this skill.

Repository health

Stars 23
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,453 B
  • docs SUMMARY.md 3,397 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 231 installs

SKILL.md

TeamCity CLI (teamcity)

Quick Start

teamcity auth status                    # Check authentication
teamcity run list --status failure      # Find failed builds
teamcity run log <id> --failed --raw    # Full failure diagnostics

Do not guess flags or syntax. Use the [command reference](references/commands.md) or teamcity <command> --help. Builds are runs (teamcity run); build configurations are jobs (teamcity job). Never use --count — use --limit (or -n).

Gotchas

  • Composite builds have empty logs — drill into child builds for the actual failure.
  • Build chains fail bottom-up — deepest failed dependency is the root cause. Use teamcity run tree <id>.
  • --local-changes excludes Kotlin DSL — push .teamcity/ changes before running.
  • TEAMCITYURL alone bypasses stored auth — set both TEAMCITYURL and TEAMCITY_TOKEN, or leave unset.
  • Logs: use --raw and dump to a temp file. Builds: use --watch when starting them.
  • VCS triggers aren't always wired up — after pushing a fix you may need to start builds manually.
  • pipeline push does not validate — always teamcity pipeline validate first.
  • GitHub VCS roots: use a GitHub App connection. Never paste a PAT via --auth password. See [workflows](references/workflows.md).

Core Commands

Area Commands
Auth auth login, logout, status
Builds run list, view, start, watch, log, cancel, restart, tests, changes, tree
Artifacts run artifacts, run download
Metadata run pin/unpin, run tag/untag, run comment
Jobs job list, view, create, tree, pause/resume, step list/view/add/delete, param list/get/set/delete, settings list/get/set
Projects project list, view, create, tree, param, token put/get, settings export/status
VCS/Conn project vcs list/view/create/delete, project connection list/create/authorize/delete
Queue queue list, approve, remove, top
Agents agent list, view, enable/disable, authorize/deauthorize, exec, term, reboot, move
Pools pool list, view, link/unlink
Pipelines pipeline list, view, create, validate, pull, push, schema, delete
API teamcity api <endpoint> — raw REST access
Link teamcity link — bind repo via teamcity.toml

Quick Workflows

See [Workflows](references/workflows.md) for full details on each.

  • Investigate failure: run list --status failurerun log <id> --failed --rawrun tests <id> --failed
  • Debug build chain: run tree <id> → drill to deepest failed child
  • Fix and verify: edit → push → run start --watch (use --local-changes for personal builds)
  • Pipeline lifecycle: pipeline pull <id> → edit → pipeline validatepipeline push <id>, pipeline schema to get the actual schema from the server
  • GitHub VCS: connection create github-appconnection authorize → install App on repo → vcs create --auth token --connection-id <id>
  • Docker registry: echo $TOKEN | connection create docker -p <id> --name X --url https://ghcr.io --username U --stdin

References

  • [Command reference](references/commands.md) — all commands and flags
  • [Workflows](references/workflows.md) — failure investigation, build chains, connections, pipelines
  • [Output formats](references/output.md) — JSON, plain text, scripting