# Send Palantir Foundry CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pltr-cli",
    "name": "Palantir Foundry CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/anjor/pltr-cli",
    "canonicalUrl": "https://clawhub.ai/anjor/pltr-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/pltr-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pltr-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "reference/streams-commands.md",
      "reference/aip-agents-commands.md",
      "reference/admin-commands.md",
      "reference/ontology-commands.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "pltr-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T21:41:12.785Z",
      "expiresAt": "2026-05-13T21:41:12.785Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pltr-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pltr-cli",
        "contentDisposition": "attachment; filename=\"pltr-cli-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "pltr-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/pltr-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pltr-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/pltr-cli",
    "agentUrl": "https://openagent3.xyz/skills/pltr-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pltr-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pltr-cli/agent.md"
  }
}
```
## Documentation

### pltr-cli: Palantir Foundry CLI

This skill helps you use the pltr-cli to interact with Palantir Foundry effectively.

### Compatibility

Skill version: 1.1.0
pltr-cli version: 0.12.0+
Python: 3.9, 3.10, 3.11, 3.12
Dependencies: foundry-platform-sdk >= 1.69.0

### Overview

pltr-cli is a comprehensive CLI with 100+ commands for:

Dataset operations: Get info, list files, download files, manage branches and transactions
SQL queries: Execute queries, export results, manage async queries
Ontology: List ontologies, object types, objects, execute actions and queries
Orchestration: Manage builds, jobs, and schedules
Filesystem: Folders, spaces, projects, resources
Admin: User, group, role management
Connectivity: External connections and data imports
MediaSets: Media file management
Language Models: Interact with Anthropic Claude models and OpenAI embeddings
Streams: Create and manage streaming datasets, publish real-time data
Functions: Execute queries and inspect value types
AIP Agents: Manage AI agents, sessions, and versions
Models: ML model registry for model and version management

### RID-Based API

The Foundry API is RID-based (Resource Identifier). Most commands require RIDs:

Datasets: ri.foundry.main.dataset.{uuid}
Folders: ri.compass.main.folder.{uuid} (root: ri.compass.main.folder.0)
Builds: ri.orchestration.main.build.{uuid}
Schedules: ri.orchestration.main.schedule.{uuid}
Ontologies: ri.ontology.main.ontology.{uuid}

Users must know RIDs in advance (from Foundry web UI or previous API calls).

### Authentication

Before using any command, ensure authentication is configured:

# Configure interactively
pltr configure configure

# Or use environment variables
export FOUNDRY_TOKEN="your-token"
export FOUNDRY_HOST="foundry.company.com"

# Verify connection
pltr verify

### Output Formats

All commands support multiple output formats:

pltr <command> --format table    # Default: Rich table
pltr <command> --format json     # JSON output
pltr <command> --format csv      # CSV format
pltr <command> --output file.csv # Save to file

### Profile Selection

Use --profile to switch between Foundry instances:

pltr <command> --profile production
pltr <command> --profile development

### Reference Files

Load these files based on the user's task:

Task TypeReference FileSetup, authentication, getting startedreference/quick-start.mdDataset operations (get, files, branches, transactions)reference/dataset-commands.mdSQL queriesreference/sql-commands.mdBuilds, jobs, schedulesreference/orchestration-commands.mdOntologies, objects, actionsreference/ontology-commands.mdUsers, groups, roles, orgsreference/admin-commands.mdFolders, spaces, projects, resources, permissionsreference/filesystem-commands.mdConnections, importsreference/connectivity-commands.mdMedia sets, media itemsreference/mediasets-commands.mdAnthropic Claude models, OpenAI embeddingsreference/language-models-commands.mdStreaming datasets, real-time data publishingreference/streams-commands.mdFunctions queries, value typesreference/functions-commands.mdAIP Agents, sessions, versionsreference/aip-agents-commands.mdML model registry, model versionsreference/models-commands.md

### Workflow Files

For common multi-step tasks:

WorkflowFileData exploration, SQL analysis, ontology queriesworkflows/data-analysis.mdETL pipelines, scheduled jobs, data qualityworkflows/data-pipeline.mdSetting up permissions, resource roles, access controlworkflows/permission-management.md

### Common Commands Quick Reference

# Verify setup
pltr verify

# Current user info
pltr admin user current

# Execute SQL query
pltr sql execute "SELECT * FROM my_table LIMIT 10"

# Get dataset info
pltr dataset get ri.foundry.main.dataset.abc123

# List files in dataset
pltr dataset files list ri.foundry.main.dataset.abc123

# Download file from dataset
pltr dataset files get ri.foundry.main.dataset.abc123 "/path/file.csv" "./local.csv"

# Copy dataset to another folder
pltr cp ri.foundry.main.dataset.abc123 ri.compass.main.folder.target456

# List folder contents
pltr folder list ri.compass.main.folder.0  # root folder

# Search builds
pltr orchestration builds search

# Interactive shell mode
pltr shell

# Send message to Claude model
pltr language-models anthropic messages ri.language-models.main.model.xxx \\
    --message "Explain this concept"

# Generate embeddings
pltr language-models openai embeddings ri.language-models.main.model.xxx \\
    --input "Sample text"

# Create streaming dataset
pltr streams dataset create my-stream \\
    --folder ri.compass.main.folder.xxx \\
    --schema '{"fieldSchemaList": [{"name": "value", "type": "STRING"}]}'

# Publish record to stream
pltr streams stream publish ri.foundry.main.dataset.xxx \\
    --branch master \\
    --record '{"value": "hello"}'

# Execute a function query
pltr functions query execute myQuery --parameters '{"limit": 10}'

# Get AIP Agent info
pltr aip-agents get ri.foundry.main.agent.abc123

# List agent sessions
pltr aip-agents sessions list ri.foundry.main.agent.abc123

# Get ML model info
pltr models model get ri.foundry.main.model.abc123

# List model versions
pltr models version list ri.foundry.main.model.abc123

### Best Practices

Always verify authentication first: Run pltr verify before starting work
Use appropriate output format: JSON for programmatic use, CSV for spreadsheets, table for readability
Use async for large queries: pltr sql submit + pltr sql wait for long-running queries
Export results: Use --output to save results for further analysis
Use shell mode for exploration: pltr shell provides tab completion and history

### Getting Help

pltr --help                    # All commands
pltr <command> --help          # Command help
pltr <command> <sub> --help    # Subcommand help
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: anjor
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T21:41:12.785Z
- Expires at: 2026-05-13T21:41:12.785Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/pltr-cli)
- [Send to Agent page](https://openagent3.xyz/skills/pltr-cli/agent)
- [JSON manifest](https://openagent3.xyz/skills/pltr-cli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/pltr-cli/agent.md)
- [Download page](https://openagent3.xyz/downloads/pltr-cli)