/palantir-pack:palantir-cost-tuning [pipeline-or-compute-module]from palantir-pack
Reduces Palantir Foundry compute usage through measured engine, resource, incremental, schedule, and Compute Module decisions. Use when build or application usage is high or unpredictable.
Ships in palantir-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Optimize from measured Foundry usage and telemetry, not invented data-volume bands. Separate transform-build consumption from interactive Compute Module replica consumption because they have different controls and failure modes.
references/official-docs.md and confirm contract-specific pricing or usage questions with the account owner or Palantir representative.Build a baseline that separates transform jobs, schedules, previews, retries, snapshots, and Compute Module replicas.
Rank usage drivers by measured consumption and business criticality.
Test one change at a time: engine, resource request, incremental mode, schedule, batch shape, property selection, or replica policy.
Compare output parity, latency, failure rate, queue time, and consumption against the baseline.
Promote the smallest validated change and monitor one full representative operating window.
The pipeline owner approves transform and schedule changes; the application owner approves module scaling changes; the commercial owner approves interpretations of contract pricing. Never shut down production compute or relax correctness controls solely to reduce usage.
A measured baseline, ranked drivers, experiment plan, before/after telemetry, correctness evidence, approved change, savings estimate with assumptions, and rollback threshold.
| Condition | Response |
|---|---|
| Usage cannot be attributed | Add ownership and telemetry first; do not optimize from an aggregate bill alone. |
| Incremental results diverge | Revert to the prior snapshot behavior and fix transaction semantics before continuing. |
| Lower resources increase queueing or failures | Restore the prior request and evaluate engine choice or data-shape changes. |
| Replica usage persists without requests | Inspect minimum replicas and predictive autoscaling; verify behavior before changing availability. |
Compare a Spark transform with a Polars implementation on representative branch builds, accepting the change only if required features, output parity, memory, duration, and reliability all pass.
Reduce Compute Module consumption by reviewing active and starting replica time, minimum-replica requirements, autoscaling behavior, and the application's cold-start objective.
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin palantir-pack24 skills in this plugin
/palantir-ci-integrationDesign and verify Foundry-native continuous-integration and review gates for Code Repositories and transforms. Use when a team needs branch checks, unit tests, dataset-impact review, or controlled promotion. Trigger with "Palantir CI" or "Foundry repository checks"./palantir-common-errorsDiagnose Foundry API, Ontology, permission, and transform-build failures from bounded evidence. Use when an operator sees authentication, authorization, throttling, missing-resource, dependency, or build errors. Trigger with "Foundry error" or "Palantir 403"./palantir-Other plugins' skills for the same job