migrate-to-teamcity

migrate-to-teamcity is a skill for Claude Code from JetBrains/teamcity-cli. It costs 86 tokens per session (1,253 once invoked), scanned A, original, Apache-2.0.

A migration tool that converts continuous integration and delivery pipelines—automated steps that build, test, and release code—from GitHub Actions or Bamboo into TeamCity configuration files.

In plain words
What is it for?
It detects GitHub Actions workflows or Bamboo specifications, converts them to TeamCity YAML, previews the result, checks the YAML schema, and can create and start TeamCity pipelines.
Why use it?
It reduces the manual work of moving pipeline definitions between systems and shows which generated parts still need review or setup.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the teamcity-cli plugin — 2 skills shipped together

Good fit It detects GitHub Actions workflows or Bamboo specifications, converts them to TeamCity YAML, previews the result, checks the YAML schema, and can create and start TeamCity pipelines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jetbrains/teamcity-cli/migrate-to-teamcity
About the project

TeamCity CLI is a command-line client for TeamCity, a continuous integration system that runs builds and manages their logs, queues, and build agents. Developers and AI agents use it to start builds, inspect results, access agent terminals, edit job settings, and call the TeamCity REST API.

JetBrains/teamcity-cli · 123 stars · on GitHub · jb.gg

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JetBrains/teamcity-cli --skill migrate-to-teamcity
Clone the repo
git clone --depth 1 https://github.com/JetBrains/teamcity-cli

Made for: Claude Code.

Or install teamcity-cli, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-to-teamcity

README.md
[![agentmods](https://agentmods.dev/badge/skills/jetbrains/teamcity-cli/migrate-to-teamcity/github.svg)](https://agentmods.dev/skills/jetbrains/teamcity-cli/migrate-to-teamcity)
Your own site
<a href="https://agentmods.dev/skills/jetbrains/teamcity-cli/migrate-to-teamcity"><img src="https://agentmods.dev/badge/skills/jetbrains/teamcity-cli/migrate-to-teamcity/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate-to-teamcity

Your own site · 80×15
<a href="https://agentmods.dev/skills/jetbrains/teamcity-cli/migrate-to-teamcity"><img src="https://agentmods.dev/badge/skills/jetbrains/teamcity-cli/migrate-to-teamcity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.01253
Opus 5 $0.00043 $0.00626
Sonnet 5 $0.00017 $0.00251
Haiku 4.5 $0.00009 $0.00125

Measured 12d ago against content hash 5479bb5c5bce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

migrate-to-teamcity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/migrate-to-teamcity/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate to TeamCity

Quick Start

teamcity migrate                    # detect + convert + write .tc.yml files
teamcity migrate --dry-run --json   # preview as structured JSON
teamcity pipeline validate f.tc.yml # schema check
teamcity project vcs create --url <repo-url> --auth anonymous -p ProjectId  # create VCS root first
teamcity pipeline create name -p ProjectId -f f.tc.yml --vcs-root <VcsRootId>
teamcity run start PipelineId --watch

Run teamcity migrate from the repo root -- detection scans .github/workflows/ and bamboo-specs/ relative to the current directory.

Reading the report

  • Needs review -- problems inside the generated YAML: TODO stubs, dropped steps, reusable-workflow placeholders. Fix these in the file before creating the pipeline.
  • Manual setup needed -- work the converter cannot do. Sort each item onto one of two sides: YAML edits (secrets, matrix expansion, expression runs-on, container:/services:) go before pipeline create; server-side configuration (connections, if:-derived branch filters, triggers, notifications) comes after. The checklist below orders them.
  • Exit code 1 means at least one source failed to convert or one generated file failed schema validation -- files that converted cleanly are still written. Read the per-file ✓/⚠/✗ lines instead of treating exit 1 as total failure.
  • --json prints {"sources": [...], "results": [...]} to stdout; each result carries outputFile, yaml, needsReview, manualSetup, and validationError.

Gotchas

  • Always type: script for ./gradlew and ./mvnw. TC's type: gradle/type: maven runners use the agent's version, not the project's. This causes real build failures.
  • Schema valid does not mean pipeline works. Migration is not done until builds pass.
  • Private repos: use a GitHub App connection, not a PAT. Start with teamcity project connection create github-app -p <project> -- its output prints the authorize, App-install, and vcs create follow-up commands. That flow opens a browser; in headless runs pass existing App credentials (--no-manifest --app-id <id> --client-id <id> --private-key-file <pem> --stdin, client secret piped to stdin) or use SSH deploy keys (teamcity project ssh upload with a [email protected]: URL). Public repos: --auth anonymous.
  • Secrets, triggers, and branch filters are always manual. The converter flags them but cannot create them -- the checklist below covers each.
  • VCS root must exist before pipeline create. teamcity pipeline create takes --vcs-root <id>, not a URL. Create it first with teamcity project vcs create.
  • Default branch defaults to main. Pass --branch refs/heads/master to teamcity project vcs create if the repo uses master.
  • Unknown actions/tasks become stubs. Read the action's source, write an equivalent shell script. Most actions are thin CLI wrappers. See mappings.

Read the full file on GitHub · 63 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 63 lines · 86 tokens per session scan A 5479bb5c5bce

Subscribe to this mod's changes

migrate-to-teamcity is a skill published in the GitHub repository JetBrains/teamcity-cli (123 stars, last pushed today), licensed Apache-2.0. It adds 86 tokens to every session and 1,253 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.