TeamCity CLI Driver
Lets Claude drive the `teamcity` CLI to investigate build failures and manage jobs, queues, agents and pipelines.
Dev & CodingIntermediate★ 121⑂ 16AI score 8/10Last updated: Aug 20, 2026
What it does
- Gives Claude an accurate map of the official
teamcityCLI: builds (run), build configurations (job), projects, VCS roots and connections, queue, agents, agent pools, pipelines, plugin upload, and raw REST access. - Encodes a repeatable failure-investigation loop: list failed builds → dump the failed log with
--rawto a temp file → check failed tests → walkrun treeto the deepest failing dependency. - Pre-empts real-world gotchas: composite builds have empty logs, use
--limitnot--count, setting onlyTEAMCITY_URLbypasses stored auth,--local-changesskips Kotlin DSL, andpipeline pushnever validates on its own. - Pushes safer practices, such as using a GitHub App connection instead of pasting a personal access token.
Who it's for
- DevOps, platform, and backend engineers running CI/CD on JetBrains TeamCity.
- Teams that waste time clicking through the TeamCity web UI to find why a chain went red.
- Anyone managing pipelines as code who wants a validate-then-push workflow.
Examples
- "Why did this build fail?" — Claude runs
teamcity run list --status failure, thenrun log <id> --failed --rawand summarises the root cause. - Chain debugging —
teamcity run tree <id>to locate the deepest failed dependency, thenrun start --watchafter the fix. - Pipeline change —
pipeline pull→ edit →pipeline schema→pipeline validate→pipeline push.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/JetBrains/teamcity-cli/HEAD/skills/teamcity-cli/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/teamcity-cli folder from the GitHub repo JetBrains/teamcity-cli into my ~/.claude/skills/teamcity-cli/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/JetBrains/teamcity-cli.git /tmp/teamcity-cli && mkdir -p ~/.claude/skills && cp -r /tmp/teamcity-cli/skills/teamcity-cli ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Install the JetBrains
teamcityCLI first, runteamcity auth login, and confirm withteamcity auth status. - Clone the repo:
git clone https://github.com/JetBrains/teamcity-cli.git /tmp/teamcity-cli - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/teamcity-cli/skills/teamcity-cli ~/.claude/skills/ - Verify that the
references/files (commands.md, workflows.md, output.md) came along. - Restart Claude Code and try: "Find out why this TeamCity build URL failed."
- Optional: run
teamcity linkinside your repo to bind the project viateamcity.toml.
View source on GitHub ↗License: Apache-2.0