[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M794929PP911MK97DRV8KEZP":3,"skill-same:01M794929PP911MK97DRV8KEZP":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M794929PP911MK97DRV8KEZP","palantir-multi-env-setup",null,"Configure Palantir Foundry across development, staging, and production environments.\nUse when setting up multi-environment Foundry deployments, managing per-environment\ncredentials, or implementing environment-specific configurations.\nTrigger with phrases like \"palantir environments\", \"foundry staging\",\n\"foundry dev prod\", \"palantir environment setup\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--palantir-pack--palantir-multi-env-setup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: palantir-multi-env-setup\ndescription: |\n  Configure Palantir Foundry across development, staging, and production environments.\n  Use when setting up multi-environment Foundry deployments, managing per-environment\n  credentials, or implementing environment-specific configurations.\n  Trigger with phrases like \"palantir environments\", \"foundry staging\",\n  \"foundry dev prod\", \"palantir environment setup\".\nallowed-tools: Read, Write, Edit, Bash(gcloud:*)\nversion: 2.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, palantir, foundry, environments, configuration]\ncompatible-with: claude-code, codex, openclaw\n---\n\n# Palantir Multi-Environment Setup\n\n## Overview\nConfigure Foundry integrations across dev\u002Fstaging\u002Fprod environments with separate credentials, enrollment hostnames, and scope policies per environment.\n\n## Prerequisites\n- Foundry enrollments for each environment (or separate projects within one enrollment)\n- Secrets manager (AWS SM, GCP SM, or Vault)\n- Familiarity with `palantir-security-basics`\n\n## Instructions\n\n### Step 1: Environment Configuration\n```python\n# src\u002Fconfig.py\nimport os\nfrom dataclasses import dataclass\n\n@dataclass\nclass FoundryEnvConfig:\n    hostname: str\n    client_id: str\n    client_secret: str\n    scopes: list[str]\n    ontology: str\n\nENVIRONMENTS = {\n    \"development\": FoundryEnvConfig(\n        hostname=os.environ.get(\"DEV_FOUNDRY_HOSTNAME\", \"dev.palantirfoundry.com\"),\n        client_id=os.environ.get(\"DEV_FOUNDRY_CLIENT_ID\", \"\"),\n        client_secret=os.environ.get(\"DEV_FOUNDRY_CLIENT_SECRET\", \"\"),\n        scopes=[\"api:read-data\"],  # Read-only in dev\n        ontology=\"dev-ontology\",\n    ),\n    \"staging\": FoundryEnvConfig(\n        hostname=os.environ.get(\"STG_FOUNDRY_HOSTNAME\", \"staging.palantirfoundry.com\"),\n        client_id=os.environ.get(\"STG_FOUNDRY_CLIENT_ID\", \"\"),\n        client_secret=os.environ.get(\"STG_FOUNDRY_CLIENT_SECRET\", \"\"),\n        scopes=[\"api:read-data\", \"api:write-data\"],\n        ontology=\"staging-ontology\",\n    ),\n    \"production\": FoundryEnvConfig(\n        hostname=os.environ.get(\"PROD_FOUNDRY_HOSTNAME\", \"prod.palantirfoundry.com\"),\n        client_id=os.environ.get(\"PROD_FOUNDRY_CLIENT_ID\", \"\"),\n        client_secret=os.environ.get(\"PROD_FOUNDRY_CLIENT_SECRET\", \"\"),\n        scopes=[\"api:read-data\", \"api:write-data\", \"api:ontology-read\"],\n        ontology=\"production-ontology\",\n    ),\n}\n\ndef get_config() -> FoundryEnvConfig:\n    env = os.environ.get(\"ENVIRONMENT\", \"development\")\n    return ENVIRONMENTS[env]\n```\n\n### Step 2: Environment-Aware Client Factory\n```python\nimport foundry\n\ndef create_client(config: FoundryEnvConfig) -> foundry.FoundryClient:\n    auth = foundry.ConfidentialClientAuth(\n        client_id=config.client_id,\n        client_secret=config.client_secret,\n        hostname=config.hostname,\n        scopes=config.scopes,\n    )\n    auth.sign_in_as_service_user()\n    return foundry.FoundryClient(auth=auth, hostname=config.hostname)\n\n# Usage\nconfig = get_config()\nclient = create_client(config)\n```\n\n### Step 3: Environment Variables per Platform\n```bash\n# Docker Compose\n# docker-compose.yml\nservices:\n  app:\n    environment:\n      - ENVIRONMENT=staging\n      - STG_FOUNDRY_HOSTNAME=staging.palantirfoundry.com\n      - STG_FOUNDRY_CLIENT_ID=${STG_CLIENT_ID}\n      - STG_FOUNDRY_CLIENT_SECRET=${STG_CLIENT_SECRET}\n\n# Kubernetes\nkubectl create secret generic foundry-creds \\\n  --from-literal=hostname=prod.palantirfoundry.com \\\n  --from-literal=client-id=xxx \\\n  --from-literal=client-secret=yyy\n\n# Cloud Run\ngcloud run deploy my-app \\\n  --set-env-vars ENVIRONMENT=production \\\n  --set-secrets \"PROD_FOUNDRY_CLIENT_SECRET=foundry-secret:latest\"\n```\n\n### Step 4: Environment Validation\n```python\ndef validate_environment():\n    \"\"\"Verify current environment configuration is valid.\"\"\"\n    config = get_config()\n    env = os.environ.get(\"ENVIRONMENT\", \"development\")\n\n    assert config.hostname, f\"Missing hostname for {env}\"\n    assert config.client_id, f\"Missing client_id for {env}\"\n    assert config.client_secret, f\"Missing client_secret for {env}\"\n\n    # Verify connectivity\n    client = create_client(config)\n    ontologies = list(client.ontologies.Ontology.list())\n    print(f\"Environment {env}: connected to {config.hostname}\")\n    print(f\"  Accessible ontologies: {[o.api_name for o in ontologies]}\")\n    return True\n```\n\n## Output\n- Per-environment configuration with separate hostnames and credentials\n- Environment-aware client factory\n- Platform-specific deployment configuration\n- Validation script for environment verification\n\n## Error Handling\n| Issue | Cause | Fix |\n|-------|-------|-----|\n| Wrong environment data | Misconfigured `ENVIRONMENT` var | Verify env var matches expected |\n| Cross-env credentials | Shared secrets | Ensure each env has unique credentials |\n| Dev writing to prod | Wrong hostname | Enforce read-only scopes in dev |\n| Missing secrets | Not deployed | Run validation script before deploying |\n\n## Resources\n- [Foundry Authentication](https:\u002F\u002Fwww.palantir.com\u002Fdocs\u002Ffoundry\u002Fapi\u002Fgeneral\u002Foverview\u002Fauthentication)\n- [Developer Console](https:\u002F\u002Fwww.palantir.com\u002Fdocs\u002Ffoundry\u002Fontology-sdk\u002Fcreate-a-new-osdk)\n\n## Next Steps\nFor deep migration strategies, see `palantir-migration-deep-dive`.\n","# Palantir Multi-Environment Setup\n\n## Overview\nConfigure Foundry integrations across dev\u002Fstaging\u002Fprod environments with separate credentials, enrollment hostnames, and scope policies per environment.\n\n## Prerequisites\n- Foundry enrollments for each environment (or separate projects within one enrollment)\n- Secrets manager (AWS SM, GCP SM, or Vault)\n- Familiarity with `palantir-security-basics`\n\n## Instructions\n\n### Step 1: Environment Configuration\n```python\n# src\u002Fconfig.py\nimport os\nfrom dataclasses import dataclass\n\n@dataclass\nclass FoundryEnvConfig:\n    hostname: str\n    client_id: str\n    client_secret: str\n    scopes: list[str]\n    ontology: str\n\nENVIRONMENTS = {\n    \"development\": FoundryEnvConfig(\n        hostname=os.environ.get(\"DEV_FOUNDRY_HOSTNAME\", \"dev.palantirfoundry.com\"),\n        client_id=os.environ.get(\"DEV_FOUNDRY_CLIENT_ID\", \"\"),\n        client_secret=os.environ.get(\"DEV_FOUNDRY_CLIENT_SECRET\", \"\"),\n        scopes=[\"api:read-data\"],  # Read-only in dev\n        ontology=\"dev-ontology\",\n    ),\n    \"staging\": FoundryEnvConfig(\n        hostname=os.environ.get(\"STG_FOUNDRY_HOSTNAME\", \"staging.palantirfoundry.com\"),\n        client_id=os.environ.get(\"STG_FOUNDRY_CLIENT_ID\", \"\"),\n        client_secret=os.environ.get(\"STG_FOUNDRY_CLIENT_SECRET\", \"\"),\n        scopes=[\"api:read-data\", \"api:write-data\"],\n        ontology=\"staging-ontology\",\n    ),\n    \"production\": FoundryEnvConfig(\n        hostname=os.environ.get(\"PROD_FOUNDRY_HOSTNAME\", \"prod.palantirfoundry.com\"),\n        client_id=os.environ.get(\"PROD_FOUNDRY_CLIENT_ID\", \"\"),\n        client_secret=os.environ.get(\"PROD_FOUNDRY_CLIENT_SECRET\", \"\"),\n        scopes=[\"api:read-data\", \"api:write-data\", \"api:ontology-read\"],\n        ontology=\"production-ontology\",\n    ),\n}\n\ndef get_config() -> FoundryEnvConfig:\n    env = os.environ.get(\"ENVIRONMENT\", \"development\")\n    return ENVIRONMENTS[env]\n```\n\n### Step 2: Environment-Aware Client Factory\n```python\nimport foundry\n\ndef create_client(config: FoundryEnvConfig) -> foundry.FoundryClient:\n    auth = foundry.ConfidentialClientAuth(\n        client_id=config.client_id,\n        client_secret=config.client_secret,\n        hostname=config.hostname,\n        scopes=config.scopes,\n    )\n    auth.sign_in_as_service_user()\n    return foundry.FoundryClient(auth=auth, hostname=config.hostname)\n\n# Usage\nconfig = get_config()\nclient = create_client(config)\n```\n\n### Step 3: Environment Variables per Platform\n```bash\n# Docker Compose\n# docker-compose.yml\nservices:\n  app:\n    environment:\n      - ENVIRONMENT=staging\n      - STG_FOUNDRY_HOSTNAME=staging.palantirfoundry.com\n      - STG_FOUNDRY_CLIENT_ID=${STG_CLIENT_ID}\n      - STG_FOUNDRY_CLIENT_SECRET=${STG_CLIENT_SECRET}\n\n# Kubernetes\nkubectl create secret generic foundry-creds \\\n  --from-literal=hostname=prod.palantirfoundry.com \\\n  --from-literal=client-id=xxx \\\n  --from-literal=client-secret=yyy\n\n# Cloud Run\ngcloud run deploy my-app \\\n  --set-env-vars ENVIRONMENT=production \\\n  --set-secrets \"PROD_FOUNDRY_CLIENT_SECRET=foundry-secret:latest\"\n```\n\n### Step 4: Environment Validation\n```python\ndef validate_environment():\n    \"\"\"Verify current environment configuration is valid.\"\"\"\n    config = get_config()\n    env = os.environ.get(\"ENVIRONMENT\", \"development\")\n\n    assert config.hostname, f\"Missing hostname for {env}\"\n    assert config.client_id, f\"Missing client_id for {env}\"\n    assert config.client_secret, f\"Missing client_secret for {env}\"\n\n    # Verify connectivity\n    client = create_client(config)\n    ontologies = list(client.ontologies.Ontology.list())\n    print(f\"Environment {env}: connected to {config.hostname}\")\n    print(f\"  Accessible ontologies: {[o.api_name for o in ontologies]}\")\n    return True\n```\n\n## Output\n- Per-environment configuration with separate hostnames and credentials\n- Environment-aware client factory\n- Platform-specific deployment configuration\n- Validation script for environment verification\n\n## Error Handling\n| Issue | Cause | Fix |\n|-------|-------|-----|\n| Wrong environment data | Misconfigured `ENVIRONMENT` var | Verify env var matches expected |\n| Cross-env credentials | Shared secrets | Ensure each env has unique credentials |\n| Dev writing to prod | Wrong hostname | Enforce read-only scopes in dev |\n| Missing secrets | Not deployed | Run validation script before deploying |\n\n## Resources\n- [Foundry Authentication](https:\u002F\u002Fwww.palantir.com\u002Fdocs\u002Ffoundry\u002Fapi\u002Fgeneral\u002Foverview\u002Fauthentication)\n- [Developer Console](https:\u002F\u002Fwww.palantir.com\u002Fdocs\u002Ffoundry\u002Fontology-sdk\u002Fcreate-a-new-osdk)\n\n## Next Steps\nFor deep migration strategies, see `palantir-migration-deep-dive`.\n",{"name":5,"tags":24,"author":30,"license":15,"version":31,"description":32,"allowed-tools":33,"compatible-with":34},[25,26,27,28,29],"saas","palantir","foundry","environments","configuration","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","2.0.0","Configure Palantir Foundry across development, staging, and production environments.\nUse when setting up multi-environment Foundry deployments, managing per-environment\ncredentials, or implementing environment-specific configurations.\nTrigger with phrases like \"palantir environments\", \"foundry staging\",\n\"foundry dev prod\", \"palantir environment setup\".\n","Read, Write, Edit, Bash(gcloud:*)","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--palantir-pack--palantir-multi-env-setup",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill palantir-multi-env-setup",{"tool":50,"command":51},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill palantir-multi-env-setup",{"tool":53,"command":54},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill palantir-multi-env-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--palantir-pack--palantir-multi-env-setup\u002FSKILL.md",true,[],[59,66,73,80,87,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]