RE

robsontigre/everyday-causal-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

84 stars 质量 61 趋势 8MIT

逐步因果推断——方法选择、假设与鲁棒性检查

概览

你发货新结账的那周转化率增长了12%。是结账、节假日客流,还是竞争对手在同一周涨价?在你能回答这个问题之前,你不能说你的变动“有效”。 这个插件为你的编码代理提供了我常用的工作流程:为你拥有的数据选择合适的方法,在信任答案前检查假设,用R或Python写分析,然后对结果进行压力测试。 它是一个面向AI代理的因果推理插件,作为日常因果推理的配套工具。 Claude 代码 ·Gemini CLI ·GitHub Copilot CLI ·Codex CLI ·光标 任何需要做出基于证据决策的人。市场营销与增长、产品、商业智能、数据科学、收益与运营、政策研究员和学生。 该插件分为五个步骤,从完善你想回答的问题,到撰写报告。你可以自由选择并从任何你喜欢的步骤开始。

概述(AI 翻译)

🇺🇸 英语🇧🇷葡萄牙人(BR)

日常因果技能

这真的奏效了吗,还是你只是运气好?

你发货新结账的那周转化率增长了12%。是结账、节假日客流,还是竞争对手在同一周涨价?在你能回答这个问题之前,你不能说你的变动“有效”。

这个插件为你的编码代理提供了我常用的工作流程:为你拥有的数据选择合适的方法,在信任答案前检查假设,用R或Python写分析,然后对结果进行压力测试。

它是一个面向AI代理的因果推理插件,作为日常因果推理的配套工具。

支持: Claude 代码 ·Gemini CLI ·GitHub Copilot CLI ·Codex CLI ·光标

**为:**任何需要做出基于证据决策的人而建。市场营销与增长、产品、商业智能、数据科学、收入与运营、政策研究员及学生。

你从这个插件中获得的是什么

该插件分为五个步骤,从完善你想回答的问题,到撰写报告。你可以自由选择并从任何你喜欢的步骤开始。

用例示例1:设计A/B测试

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🇺🇸 English | 🇧🇷 Português (BR)

everyday-causal-skills

Did it actually work, or did you just get lucky?

Conversion jumped 12% the week you shipped the new checkout. Was it the checkout, the holiday traffic, or your competitor raising prices the same week? Until you can answer that question, you can’t really say your change “worked.”

This plugin gives your coding agent the workflow I use: pick the right method for the data you have, check the assumptions before you trust the answer, write the analysis in R or Python, and stress-test the result.

It’s a causal inference plugin for AI agents, built as a companion to Everyday Causal Inference.

Works with: Claude Code · Gemini CLI · GitHub Copilot CLI · Codex CLI · Cursor

Built for: anyone who needs to make evidence-based decisions. Marketing and growth, product, BI, data science, revenue and ops, policy researchers, and students.

What you get from this plugin

The plugin works in five steps, from refining the question you want to answer, to writing the report. You are free to pick and start from any step you like.

→ Describe your problem
→ Get a method recommendation
→ Check assumptions and structure the analysis
→ Stress-test the results
→ Write the executive report

Example use case 1: Designing an A/B test

An e-commerce team redesigned their checkout page and wants to know if it increases conversion before rolling it out to everyone. They’re not sure how long the test needs to run.

You: /causal-experiments We redesigned our checkout page and want to A/B test if it increases conversion. How long should we run the experiment?

The plugin asks a few follow-up questions in plain language: what’s your current conversion rate, how many visitors do you get per week, and what’s the smallest improvement that would make the redesign worth it. From your answers, it calculates the sample size and tells you how many weeks the test needs to run to detect that difference reliably.

Then it flags design decisions you might not have thought about — like whether to randomize by visitor or by session, and how to handle users who see both versions during the test.

You: We can randomize by visitor using a cookie. What about users who abandon and come back?

It walks you through those edge cases, writes the analysis code in R or Python, and builds in the checks you’ll need: balance diagnostics to make sure the groups are comparable, and a pre-registered analysis plan so you’re not fishing for results after the fact.

By the time you launch the test, the analysis is already written. When the data comes in, you run the code and get the answer.

Example use case 2: Measuring the impact of a loyalty program

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add robsontigre/everyday-causal-skills
新手?先看 mcpskill.org 教程 →