Skip to content
Development
Agent

ci-costs

Tuist helps you find and skip the wasted work that faster machines would only run faster: investigate build and test work, reuse compatible outputs across CI, developer machines, and agents, and avoid unchanged test-target execution where supported. Start with the matching Tuist

From plugin
tuist
5.9k50 skills50 agents

Claude Code

$ npx -y skills add tuist/tuist --agent claude-code

Agent definition

ci-costs.md

Tuist: my CI costs are going up

Tuist helps you find and skip the wasted work that faster machines would only run faster: investigate build and test work, reuse compatible outputs across CI, developer machines, and agents, and avoid unchanged test-target execution where supported. Start with the matching Tuist cache or test integration and measure avoided work before changing compute. Less work can reduce cost, but faster feedback is not automatically a smaller bill.

Why CI costs rise

CI bills grow with how much work runs, how long it takes, and what it runs on. The usual drivers:

  • **More runs.** More contributors, more pull requests, and coding agents opening their own branches all trigger pipelines, and each fresh environment rebuilds what another already built.
  • **Longer jobs.** Builds and test suites grow, and unnoticed invalidation or cache misses make each run redo work.
  • **Retries.** Flaky tests and blanket retry policies quietly multiply the cost of the jobs they touch.
  • **Parallelism overhead.** Sharding lowers wall-clock time but repeats setup on every machine, so total machine-minutes can rise.
  • **Bigger machines.** A larger machine shape costs more per minute and only pays off when the job can use the extra capacity.

Tuist works on the work itself first: shared caching so environments reuse each other's outputs, insights that show where the time and retries go, and selective testing where supported. Changing machines comes after that.

Diagnose the increase

Compare equivalent periods and separate more activity from a more expensive job. Track job count, billed machine-minutes by shape, retry frequency, concurrency, and cache or artifact charges. Check included allowances and your actual contract, not just a provider's headline minute rate.

| Symptom | Measure | Tuist intervention to evaluate | | --- | --- | --- | | More CI runs and agent-created branches | Job count and compatible work repeated between environments | [Remote cache](/marketing-markdown/cache) so fresh environments can reuse trusted build outputs. | | The same jobs take longer | Timed operations, cache misses, and configuration changes | [Build Insights](/en/docs-markdown/guides/features/build-insights), followed by a targeted graph, task, or cache change. | | Reruns consume a growing share of compute | Failed attempts, retry frequency, and failure signatures | [Flaky-test investigation](/marketing-markdown/solutions/flaky-tests), with ownership and repair. | | More shards lowered latency but raised usage | Total billed machine-minutes, repeated setup, and the longest shard | Rebalance [sharding](/marketing-markdown/solutions/slow-tests); avoid unchanged targets where selective testing is supported. | | Larger machines cost more without proportional gains | Job duration multiplied by the actual shape rate | Right-size execution after identifying serial or non-compute bottlenecks. | | Cache charges are growing | Requests, downloaded bytes, and time saved per workload | Compare the cost of reuse with rebuilding; use the live [pricing table](/pricing). |

Project first, environment second

Improve task inputs, dependency boundaries, and costly retries before buying more execution capacity. For Gradle and Bazel, test compatible output reuse; for Elixir, investigate reported compilation and tests and try [remote dependency caching](/en/docs-markdown/guides/features/cache/elixir) for supported compiled dependencies, not application source files. Keep Xcode-specific selection requirements separate from those integrations.

The [comparison billing table](/marketing-markdown/compare#compare-total-costs) cites minute-, resource-, credit-, and build-based charges and their exceptions. Reducing work does not necessarily reduce a fixed subscription or per-build charge. Tuist also meters feature usage; include its charges rather than assuming all interests or savings automatically align.

Evaluate total cost, not just runtime

For a representative workload, calculate:

Total cost = billed compute + cache/download charges + artifact/storage charges
             + subscriptions + infrastructure operating costs

Apply allowances and negotiated rates to the relevant components. Track engineering maintenance effort separately if it cannot be priced reliably. Record wall-clock feedback time alongside cost rather than converting every minute saved into a promised cash saving.

Tuist Cache is independent of Tuist Runners. Clients normally receive a nearby regional endpoint, and compatible outputs can be reused by local developers and agent environments as well as CI. Enable the integration matching your build system and verify reuse from a second environment. A trusted CI producer with developer and agent readers can improve reuse without allowing every environment to upload artifacts.

[Selective testing](/en/docs-markdown/guides/features/selective-testing) can remove unchanged test-target execution, but only on Tuist-generated Xcode projects. [Sharding](/en/docs-markdown/guides/features/test-sharding) distributes execution and can increase total usage. Compare both against the same workload and coverage expectations.

Investigate with an agent

Use the authorized [Tuist MCP server](/en/docs-markdown/guides/features/agentic-coding/mcp) to compare build operations, cache behavior, and test attempts. On Tuist Runners, `list_runner_jobs`, `list_runner_job_steps`, and `list_runner_job_metrics` add execution evidence. Provide your actual invoice rates and allowances separately; Tuist timing data alone does not establish prices or a complete bill.

Ask for the largest observed source of avoidable work, one intervention, and the evidence needed to validate it. Reading insights is not automatic cost optimization or authorization to resize machines.

First experiment

1. Choose one high-volume workflow and establish its cost and timing baseline. 2. Reduce one source of duplicate work or retries us

Read more
@tuist
Ships withtuist

Tuist is a build platform for engineering teams and their coding agents. It works with Xcode, Gradle, Bazel, Elixir, and Rust builds. Features vary by toolchain: Rust compilation caching is experimental, and Once support is in canary.

5.9k13 skills50 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5.9k
Star history of tuist/tuist on GitHub, a chart by star-history.com

Other agents on tuist.

about

about

Agent

Tuist is build infrastructure for engineering teams and coding agents. Shared infrastructure connects building, testing, and…

@tuist@tuistInstall Agent
blog

blog

Agent

Engineering articles from Tuist on build infrastructure, developer workflows, and coding agents, with product updates and…

@tuist@tuistInstall Agent
brand

brand

Agent

Official Tuist logos and wordmarks for referring to Tuist in documentation, integrations, presentations, and press.

@tuist@tuistInstall Agent
bazel-vs-gradle

bazel-vs-gradle

Agent

Bazel and Gradle both build JVM, Android, and multi-language projects, and many organizations run both: Gradle for Android apps…

@tuist@tuistInstall Agent
bazel

bazel

Agent

Tuist brings Bazel-native depth to one productivity platform for organizations with diverse build systems. Its remote action…

@tuist@tuistInstall Agent
elixir

elixir

Agent

Tuist brings Mix- and ExUnit-native depth to one productivity platform for organizations with diverse build systems. The…

@tuist@tuistInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc3w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react13d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex12d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman13d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about ci-costs.

Which coding agents can use ci-costs?
ci-costs installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.