palantir-cost-tuning

Featured

Optimize Palantir Foundry costs through compute tuning, incremental builds, and usage monitoring. Use when analyzing Foundry compute costs, reducing API usage, or implementing cost monitoring for Foundry workloads. Trigger with phrases like "palantir cost", "foundry billing", "reduce foundry costs", "foundry pricing", "foundry expensive".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Palantir Cost Tuning ## Overview Optimize Foundry compute and API costs through incremental transforms, right-sized Spark profiles, efficient pagination, and usage monitoring. ## Prerequisites - Active Foundry enrollment with build history - Access to Foundry resource usage metrics - Understanding of transform build patterns ## Instructions ### Step 1: Cost Drivers in Foundry | Cost Category | Driver | Optimization | |---------------|--------|-------------| | Compute | Full rebuilds of large transforms | Use `@incremental()` | | Compute | Oversized Spark profiles | Right-size `@configure` profiles | | Storage | Redundant dataset snapshots | Configure retention policies | | API | High-frequency polling | Use webhooks instead | | API | Small page sizes | Use max page_size (500) | ### Step 2: Convert Full Rebuilds to Incremental ```python from transforms.api import transform_df, Input, Output, incremental # BEFORE: Full rebuild every run (expensive for large datasets) @transform_df(Output("/out"), data=Input("/in")) def expensive(data): return data.filter(data.status == "active") # AFTER: Only processes new/changed rows @incremental() @transform_df(Output("/out"), data=Input("/in")) def cheap(data): return data.filter(data.status == "active") ``` ### Step 3: Right-Size Spark Profiles ```python from transforms.api import configure # DON'T: Default profile for everything # DO: Match profile to actual data size # Small data (< 1GB) — use lightweight transforms (...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

palantir-performance-tuning

Optimize Palantir Foundry API performance with caching, batching, and pagination. Use when experiencing slow API responses, optimizing transform builds, or improving request throughput for Foundry integrations. Trigger with phrases like "palantir performance", "optimize foundry", "foundry slow", "palantir caching", "foundry batch".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-migration-deep-dive

Execute major Palantir Foundry migration strategies including data migration, API version upgrades, and platform transitions. Use when migrating data into Foundry, upgrading between API versions, or re-platforming existing integrations. Trigger with phrases like "migrate to palantir", "foundry migration", "palantir data migration", "foundry replatform".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-observability

Set up observability for Palantir Foundry integrations with metrics, logging, and alerts. Use when implementing monitoring for Foundry API calls, setting up dashboards, or configuring alerting for Foundry integration health. Trigger with phrases like "palantir monitoring", "foundry metrics", "palantir observability", "monitor foundry", "foundry alerts".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-ci-integration

Configure CI/CD pipelines for Palantir Foundry integrations with GitHub Actions. Use when setting up automated testing, running transforms validation, or integrating Foundry SDK tests into your build process. Trigger with phrases like "palantir CI", "foundry GitHub Actions", "palantir automated tests", "CI foundry".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-core-workflow-a

Build Palantir Foundry data pipelines using Python transforms. Use when creating ETL pipelines, writing @transform decorators, or building dataset-to-dataset processing in Foundry. Trigger with phrases like "palantir pipeline", "foundry transform", "palantir ETL", "palantir data pipeline", "foundry python transform".

2,266 Updated today
jeremylongshore