Skip to main content
skill CX Codex

oransim-causal-marketing-twin — Claude Code skill: how it works

Simulates marketing campaign outcomes using causal digital twins. It predicts ROI distributions and tests counterfactual budget or creator shifts before spending money.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill oransim-causal-marketing-twin -a claude-code
Open on GitHub

What oransim-causal-marketing-twin does

This skill connects agents to the Oransim causal engine. The system maps influence across a 64-node causal graph with 117 edges, tracing paths from budget allocation to purchasing decisions. Simulations generate quantile ROI estimates with median P50 and confidence bounds.

Interventions rely on the do() operator. You can simulate replacing a creator mid-flight on day 3 or test post-mortem allocations across channels like xhs and douyin. Synthetic buyer agents drive the underlying Hawkes process alongside TARNet counterfactual heads.

You must run the local Uvicorn backend on port 8001 for simulations to work. The skill fails without this local service. You can still test deterministic stubs without external API costs by setting LLM_MODE=mock.

What it helps with

  • Forecast campaign ROI across creative and budget variations before launch
  • Calculate the trajectory impact of swapping creators mid-campaign
  • Evaluate post-mortem scenarios comparing alternative channel allocations
  • Audit causal graph paths connecting ad spend to purchase intent

Example prompts for the agent

  • Simulate ROI for a beauty launch across xhs and douyin with a 500k budget
  • Run a counterfactual swap replacing kol_001 with kol_003 on day 3
  • Inspect the causal graph to see all edges originating from budget_allocation

How to install oransim-causal-marketing-twin

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill oransim-causal-marketing-twin -a claude-code

2Manually: put the files in place

~/.claude/skills/oransim-causal-marketing-twin/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/oransim-causal-marketing-twin/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about oransim-causal-marketing-twin

How do I install oransim-causal-marketing-twin in Claude Code?

Run npx skills add reason-machines/trending-skills --skill oransim-causal-marketing-twin -a claude-code. The skill definition is saved to ~/.claude/skills/oransim-causal-marketing-twin/SKILL.md.

What does oransim-causal-marketing-twin do?

It provides an interface to a causal simulation engine that predicts marketing ROI and analyzes counterfactual scenarios. Teams test budget reallocations or creator replacements before committing actual ad spend.

Is an LLM API key required to run simulations?

Real agent runs require an API key for providers like OpenAI or Anthropic, but you can set LLM_MODE=mock to run deterministic local tests without external API credentials.

Similar skills

Everything for Marketing and content →

From the same set199

gpt2api-openai-gateway This skill walks your agent through deploying a self-hosted Anthropic-compatible gateway over chatgpt.com and wiring up an account pool. CX Codex +1 378installs opengame-agentic-game-creation Builds playable browser games from text prompts using TypeScript templates and repair loops. Useful for generating and testing web games directly inside your coding agent. CX Codex +1 378installs cairn-ai-pentest Coordinates autonomous vulnerability discovery and CTF problem solving using a ReAct agent loop. Useful for security testing workflows. CX Codex +1 371installs openai-privacy-filter A skill that wires a token-classification model into your project to find and blank out personal data. Useful before shipping logs or documents to an LLM. CX Codex +1 369installs flashkda-delta-attention This skill guides FlashKDA setup for Kimi Delta Attention CUDA kernels, with direct flash_kda.fwd use and chunk_kda integration. CX Codex +1 368installs masterhttprelayvpn-proxy A skill that walks your agent through running a local HTTP/SOCKS5 proxy, with traffic tunnelled through Google Apps Script and dressed up as Google requests. CX Codex +1 365installs tilekernels-gpu-kernels This skill guides agents through TileKernels GPU kernels for MoE, quantization and other LLM operations. Use it when writing or checking TileLang code. CX Codex +1 363installs masterhttprelayvpn-rust Helps configure and run mhrv-rs, routing HTTP and SOCKS5 traffic through Google Apps Script with TLS SNI spoofing under www.google.com. CX Codex +1 361installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor