[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M794ABDHY6MSSHG8WZRXZX1C":3,"skill-same:01M794ABDHY6MSSHG8WZRXZX1C":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},"01M794ABDHY6MSSHG8WZRXZX1C","palantir-webhooks-events",null,"Implement Palantir Foundry webhook handling for Ontology change events.\nUse when reacting to Ontology object changes, dataset updates,\nor build completion events from Foundry.\nTrigger with phrases like \"palantir webhook\", \"foundry events\",\n\"palantir notifications\", \"ontology change events\".","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-webhooks-events\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: palantir-webhooks-events\ndescription: |\n  Implement Palantir Foundry webhook handling for Ontology change events.\n  Use when reacting to Ontology object changes, dataset updates,\n  or build completion events from Foundry.\n  Trigger with phrases like \"palantir webhook\", \"foundry events\",\n  \"palantir notifications\", \"ontology change events\".\nallowed-tools: Read, Write, Edit, Bash(curl:*)\nversion: 2.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, palantir, foundry, webhooks, events]\ncompatible-with: claude-code, codex, openclaw\n---\n\n# Palantir Webhooks & Events\n\n## Overview\nHandle Foundry webhook events for Ontology changes, dataset updates, and build completions. Covers webhook registration via the Foundry API, signature verification, event routing, and idempotent processing.\n\n## Prerequisites\n- Foundry enrollment with webhook support enabled\n- HTTPS endpoint accessible from Foundry's network\n- `foundry-platform-sdk` installed\n\n## Instructions\n\n### Step 1: Register a Webhook via API\n```python\nimport os, foundry\n\nclient = foundry.FoundryClient(\n    auth=foundry.ConfidentialClientAuth(\n        client_id=os.environ[\"FOUNDRY_CLIENT_ID\"],\n        client_secret=os.environ[\"FOUNDRY_CLIENT_SECRET\"],\n        hostname=os.environ[\"FOUNDRY_HOSTNAME\"],\n        scopes=[\"api:read-data\", \"api:write-data\"],\n    ),\n    hostname=os.environ[\"FOUNDRY_HOSTNAME\"],\n)\n\n# Register webhook for object change events\nwebhook = client.webhooks.Webhook.create(\n    url=\"https:\u002F\u002Fmyapp.example.com\u002Fwebhooks\u002Ffoundry\",\n    event_types=[\"ontology.object.created\", \"ontology.object.updated\"],\n    secret=\"whsec_your_webhook_secret_here\",\n)\nprint(f\"Webhook registered: {webhook.rid}\")\n```\n\n### Step 2: Webhook Endpoint with Signature Verification\n```python\nfrom flask import Flask, request, jsonify\nimport hmac, hashlib\n\napp = Flask(__name__)\n\n@app.post(\"\u002Fwebhooks\u002Ffoundry\")\ndef handle_foundry_webhook():\n    # Verify signature\n    signature = request.headers.get(\"X-Foundry-Signature\", \"\")\n    timestamp = request.headers.get(\"X-Foundry-Timestamp\", \"\")\n    secret = os.environ[\"FOUNDRY_WEBHOOK_SECRET\"]\n\n    signed_payload = f\"{timestamp}.{request.get_data(as_text=True)}\"\n    expected = hmac.new(\n        secret.encode(), signed_payload.encode(), hashlib.sha256\n    ).hexdigest()\n\n    if not hmac.compare_digest(signature, expected):\n        return jsonify({\"error\": \"Invalid signature\"}), 401\n\n    # Replay protection — reject timestamps older than 5 minutes\n    import time\n    if abs(time.time() - int(timestamp)) > 300:\n        return jsonify({\"error\": \"Timestamp too old\"}), 401\n\n    event = request.get_json()\n    handle_event(event)\n    return jsonify({\"received\": True}), 200\n```\n\n### Step 3: Event Router\n```python\ndef handle_event(event: dict):\n    event_type = event.get(\"type\", \"\")\n    handlers = {\n        \"ontology.object.created\": on_object_created,\n        \"ontology.object.updated\": on_object_updated,\n        \"ontology.object.deleted\": on_object_deleted,\n        \"dataset.updated\": on_dataset_updated,\n        \"build.completed\": on_build_completed,\n    }\n    handler = handlers.get(event_type)\n    if handler:\n        handler(event[\"data\"])\n    else:\n        print(f\"Unhandled event type: {event_type}\")\n\ndef on_object_created(data: dict):\n    obj_type = data[\"objectType\"]\n    primary_key = data[\"primaryKey\"]\n    print(f\"Object created: {obj_type}\u002F{primary_key}\")\n    # Sync to external system, trigger workflow, etc.\n\ndef on_object_updated(data: dict):\n    obj_type = data[\"objectType\"]\n    changes = data.get(\"changedProperties\", {})\n    print(f\"Object updated: {obj_type} — changed: {list(changes.keys())}\")\n\ndef on_object_deleted(data: dict):\n    print(f\"Object deleted: {data['objectType']}\u002F{data['primaryKey']}\")\n\ndef on_dataset_updated(data: dict):\n    print(f\"Dataset updated: {data['datasetRid']} branch={data['branch']}\")\n\ndef on_build_completed(data: dict):\n    status = data[\"buildStatus\"]\n    print(f\"Build {data['buildRid']}: {status}\")\n```\n\n### Step 4: Idempotent Processing\n```python\nimport redis\n\nr = redis.Redis.from_url(os.environ.get(\"REDIS_URL\", \"redis:\u002F\u002Flocalhost:6379\"))\n\ndef idempotent_handle(event: dict):\n    event_id = event[\"id\"]\n    key = f\"foundry:event:{event_id}\"\n    if r.exists(key):\n        print(f\"Skipping duplicate event: {event_id}\")\n        return\n    handle_event(event)\n    r.setex(key, 86400 * 7, \"processed\")  # 7-day TTL\n```\n\n## Output\n- Webhook registered with Foundry for Ontology\u002Fdataset events\n- Signature verification with replay protection\n- Event router dispatching to typed handlers\n- Idempotent processing preventing duplicate handling\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Invalid signature | Wrong webhook secret | Verify secret matches registration |\n| Timestamp rejected | Server clock drift | Sync NTP; widen tolerance |\n| Duplicate events | Network retry | Use event ID deduplication |\n| Handler timeout | Slow processing | Offload to background queue |\n\n## Resources\n- [Foundry API Reference](https:\u002F\u002Fwww.palantir.com\u002Fdocs\u002Ffoundry\u002Fapi\u002Fgeneral\u002Foverview\u002Fintroduction)\n- [Foundry Documentation](https:\u002F\u002Fwww.palantir.com\u002Fdocs\u002Ffoundry)\n\n## Next Steps\nFor performance optimization, see `palantir-performance-tuning`.\n","# Palantir Webhooks & Events\n\n## Overview\nHandle Foundry webhook events for Ontology changes, dataset updates, and build completions. Covers webhook registration via the Foundry API, signature verification, event routing, and idempotent processing.\n\n## Prerequisites\n- Foundry enrollment with webhook support enabled\n- HTTPS endpoint accessible from Foundry's network\n- `foundry-platform-sdk` installed\n\n## Instructions\n\n### Step 1: Register a Webhook via API\n```python\nimport os, foundry\n\nclient = foundry.FoundryClient(\n    auth=foundry.ConfidentialClientAuth(\n        client_id=os.environ[\"FOUNDRY_CLIENT_ID\"],\n        client_secret=os.environ[\"FOUNDRY_CLIENT_SECRET\"],\n        hostname=os.environ[\"FOUNDRY_HOSTNAME\"],\n        scopes=[\"api:read-data\", \"api:write-data\"],\n    ),\n    hostname=os.environ[\"FOUNDRY_HOSTNAME\"],\n)\n\n# Register webhook for object change events\nwebhook = client.webhooks.Webhook.create(\n    url=\"https:\u002F\u002Fmyapp.example.com\u002Fwebhooks\u002Ffoundry\",\n    event_types=[\"ontology.object.created\", \"ontology.object.updated\"],\n    secret=\"whsec_your_webhook_secret_here\",\n)\nprint(f\"Webhook registered: {webhook.rid}\")\n```\n\n### Step 2: Webhook Endpoint with Signature Verification\n```python\nfrom flask import Flask, request, jsonify\nimport hmac, hashlib\n\napp = Flask(__name__)\n\n@app.post(\"\u002Fwebhooks\u002Ffoundry\")\ndef handle_foundry_webhook():\n    # Verify signature\n    signature = request.headers.get(\"X-Foundry-Signature\", \"\")\n    timestamp = request.headers.get(\"X-Foundry-Timestamp\", \"\")\n    secret = os.environ[\"FOUNDRY_WEBHOOK_SECRET\"]\n\n    signed_payload = f\"{timestamp}.{request.get_data(as_text=True)}\"\n    expected = hmac.new(\n        secret.encode(), signed_payload.encode(), hashlib.sha256\n    ).hexdigest()\n\n    if not hmac.compare_digest(signature, expected):\n        return jsonify({\"error\": \"Invalid signature\"}), 401\n\n    # Replay protection — reject timestamps older than 5 minutes\n    import time\n    if abs(time.time() - int(timestamp)) > 300:\n        return jsonify({\"error\": \"Timestamp too old\"}), 401\n\n    event = request.get_json()\n    handle_event(event)\n    return jsonify({\"received\": True}), 200\n```\n\n### Step 3: Event Router\n```python\ndef handle_event(event: dict):\n    event_type = event.get(\"type\", \"\")\n    handlers = {\n        \"ontology.object.created\": on_object_created,\n        \"ontology.object.updated\": on_object_updated,\n        \"ontology.object.deleted\": on_object_deleted,\n        \"dataset.updated\": on_dataset_updated,\n        \"build.completed\": on_build_completed,\n    }\n    handler = handlers.get(event_type)\n    if handler:\n        handler(event[\"data\"])\n    else:\n        print(f\"Unhandled event type: {event_type}\")\n\ndef on_object_created(data: dict):\n    obj_type = data[\"objectType\"]\n    primary_key = data[\"primaryKey\"]\n    print(f\"Object created: {obj_type}\u002F{primary_key}\")\n    # Sync to external system, trigger workflow, etc.\n\ndef on_object_updated(data: dict):\n    obj_type = data[\"objectType\"]\n    changes = data.get(\"changedProperties\", {})\n    print(f\"Object updated: {obj_type} — changed: {list(changes.keys())}\")\n\ndef on_object_deleted(data: dict):\n    print(f\"Object deleted: {data['objectType']}\u002F{data['primaryKey']}\")\n\ndef on_dataset_updated(data: dict):\n    print(f\"Dataset updated: {data['datasetRid']} branch={data['branch']}\")\n\ndef on_build_completed(data: dict):\n    status = data[\"buildStatus\"]\n    print(f\"Build {data['buildRid']}: {status}\")\n```\n\n### Step 4: Idempotent Processing\n```python\nimport redis\n\nr = redis.Redis.from_url(os.environ.get(\"REDIS_URL\", \"redis:\u002F\u002Flocalhost:6379\"))\n\ndef idempotent_handle(event: dict):\n    event_id = event[\"id\"]\n    key = f\"foundry:event:{event_id}\"\n    if r.exists(key):\n        print(f\"Skipping duplicate event: {event_id}\")\n        return\n    handle_event(event)\n    r.setex(key, 86400 * 7, \"processed\")  # 7-day TTL\n```\n\n## Output\n- Webhook registered with Foundry for Ontology\u002Fdataset events\n- Signature verification with replay protection\n- Event router dispatching to typed handlers\n- Idempotent processing preventing duplicate handling\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Invalid signature | Wrong webhook secret | Verify secret matches registration |\n| Timestamp rejected | Server clock drift | Sync NTP; widen tolerance |\n| Duplicate events | Network retry | Use event ID deduplication |\n| Handler timeout | Slow processing | Offload to background queue |\n\n## Resources\n- [Foundry API Reference](https:\u002F\u002Fwww.palantir.com\u002Fdocs\u002Ffoundry\u002Fapi\u002Fgeneral\u002Foverview\u002Fintroduction)\n- [Foundry Documentation](https:\u002F\u002Fwww.palantir.com\u002Fdocs\u002Ffoundry)\n\n## Next Steps\nFor performance optimization, see `palantir-performance-tuning`.\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","webhooks","events","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","2.0.0","Implement Palantir Foundry webhook handling for Ontology change events.\nUse when reacting to Ontology object changes, dataset updates,\nor build completion events from Foundry.\nTrigger with phrases like \"palantir webhook\", \"foundry events\",\n\"palantir notifications\", \"ontology change events\".\n","Read, Write, Edit, Bash(curl:*)","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--palantir-pack--palantir-webhooks-events",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-webhooks-events",{"tool":50,"command":51},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill palantir-webhooks-events",{"tool":53,"command":54},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill palantir-webhooks-events","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--palantir-pack--palantir-webhooks-events\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",[],[]]