/palantir-pack:palantir-performance-tuning [build-query-or-module]from palantir-pack
Tunes Palantir Foundry transforms, OSDK queries, and Compute Modules from measured bottlenecks and correctness constraints. Use when latency, queue time, memory, throughput, or freshness misses objectives.
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.
Identify whether delay comes from build scheduling, compute, data shape, transaction history, query breadth, network concurrency, or interactive replicas. Change one layer at a time and retain output parity and access controls.
references/official-docs.md and confirm required engine features before changing compute.Define one user-visible or data objective and reproduce the miss on an exact workload version.
Locate the dominant bottleneck using Foundry metrics, build reports, query traces or timings, and module replica evidence.
Choose one bounded experiment: engine/resource request, partition/join shape, incremental snapshot, query filter/property selection, pagination, concurrency, or replica configuration.
Run the benchmark and compare correctness, access behavior, latency distribution, throughput, queue time, resource use, and failure rate.
Promote only a statistically and operationally meaningful improvement, then observe a representative production window.
Data and pipeline owners approve transform or snapshot changes; application owners approve query changes; platform owners approve module resources or scaling. Do not trade away correctness, security, or availability without an explicit owner decision.
A performance profile, bottleneck hypothesis, experiment, exact version, before/after metrics, parity and access tests, accepted change, rollback threshold, and follow-up observation.
| Condition | Response |
|---|---|
| Metrics show queue delay rather than compute saturation | Avoid increasing resources blindly; assess requested resources and scheduler availability. |
| An engine change loses a required feature | Reject the experiment and use a compatible engine or redesign the workload. |
| Incremental latency grows over time | Rehearse a controlled snapshot and validate parity before resetting history. |
| A faster query changes returned objects | Restore the prior query and correct filters, ordering, properties, or pagination. |
Diagnose an OOM transform by comparing requested and observed memory, join shape, input volume, and engine features, then validate one resource or algorithm change on a branch build.
Reduce an OSDK page's latency by adding a selective filter, requesting only displayed properties, bounding page size, and proving the same authorized object set and continuation behavior.
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
24 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-npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin palantir-packOther plugins' skills for the same job