[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJ593M5GC9Q2ATY6QZA1HT":3,"skill-same:01M7EJ593M5GC9Q2ATY6QZA1HT":63},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7EJ593M5GC9Q2ATY6QZA1HT","process-causal-inference-dags",null,">- Build a DAG for a process-data problem, test d-separation, enumerate back-door adjustment sets, and export to Graphviz DOT for review. Use when designing an observational study or distinguishing confounding from mediation. Don't use to estimate causal effects (that is a separate modelling task);","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Fprocess-causal-inference-dags\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: process-causal-inference-dags\ndescription: \">- Build a DAG for a process-data problem, test d-separation, enumerate back-door adjustment sets, and export to Graphviz DOT for review. Use when designing an observational study or distinguishing confounding from mediation. Don't use to estimate causal effects (that is a separate modelling task);\"\ncategory: chemical-engineering\nversion: 1.0.0\ndisable-model-invocation: false\nrisk: low\nsource: \"https:\u002F\u002Fgithub.com\u002Fjskherman\u002Fengg-skills\"\nsource_repository: \"jskherman\u002Fengg-skills\"\nsource_path: \"skills\u002Fprocess-causal-inference-dags\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n# Process Causal Inference (DAG-Based Adjustment)\n\n## Overview\n\nFor observational process data, the right adjustment set determines\nwhether a regression coefficient is a confounded estimate, a partial\nmediated estimate, or the total effect. This skill provides DAG tooling:\n\n- Build a DAG from an edge list (YAML or CLI).\n- Test d-separation between sets given conditioning.\n- Enumerate parents of the treatment as a candidate back-door adjustment\n  set; verify the criterion.\n- Export DOT source for the user to render with Graphviz.\n\nThe implementation is pure-Python (no NetworkX dependency). For larger\nproblems, swap in `networkx`\u002F`pgmpy`.\n\nScope is deliberately narrow per design review:\n- It DOES NOT estimate causal effects. Pair it with `engineering-statistics`,\n  `censored-regression`, `distributed-lag-models`, or\n  `bayesian-hierarchical-process-models` for that.\n- It DOES NOT do front-door or instrument-variable analysis. Extend as\n  needed.\n\n## Prerequisites\n\n1. `uv` available.\n2. On first use, the script writes `LICENSE_NOTIFICATION.txt`.\n\n## When to Use\n\n- Designing an observational study and you need a defensible adjustment\n  set.\n- Resolving confounding-vs-mediation disagreements in plant data.\n- Drawing a DAG for an internal report or for HAZOP-style review of an\n  empirical claim.\n\n## Don't use for\n\n- Estimating effect sizes (see other skills).\n- Bayesian network learning from data (use `pgmpy`).\n- Counterfactual analysis (no potential-outcomes implementation here).\n\n## Utility Scripts\n\n- `uv run scripts\u002Fdag.py check --edges \"A,B;A,C;B,D;C,D\" --treatment B --outcome D --output \u002Ftmp\u002Fcheck.json`\n- `uv run scripts\u002Fdag.py dsep --edges \"A,B;A,C;B,D;C,D\" --x B --y C --z A --output \u002Ftmp\u002Fdsep.json`\n- `uv run scripts\u002Fdag.py dot --edges \"A,B;A,C;B,D;C,D\" --output \u002Ftmp\u002Fg.dot`\n\n## Procedure\n\n1. List variables (predictors, candidate confounders, mediators, colliders,\n   regime indicators, lab outcomes).\n2. Classify each variable (confounder vs mediator vs collider vs regime).\n3. Draw the DAG (one edge per causal direction; no cycles).\n4. Identify the treatment and the outcome.\n5. Get the parent set of the treatment; verify it satisfies the back-door\n   criterion via `check`.\n6. Use d-separation tests for alternative paths.\n7. Export DOT and render externally for review.\n\n## Pitfalls\n\n- Adjusting for mediators when estimating a total effect; this introduces\n  bias.\n- Adjusting for colliders (variables caused by both treatment and outcome);\n  this opens a spurious path.\n- Drawing an unsigned graph and assuming the direction is obvious;\n  always be explicit.\n- Equating \"correlation with the outcome\" with \"is a confounder\"; a\n  mediator is correlated too but should not be adjusted for total effect.\n- Forgetting the regime \u002F selection indicator; if operators routinely\n  intervene in response to the outcome, that intervention may be a\n  collider conditional on the response.\n- Reporting \"no confounding\" because a regression coefficient barely moves\n  with adjustment. The right test is graphical, not numerical.\n- Treating descendants of the treatment as legitimate adjustment variables.\n\n## Fallback Strategies\n\n- If the DAG has many nodes (> ~30), switch to `networkx` + `pgmpy` for\n  efficient enumeration of separation sets.\n\n## Verification\n\n- Run the listed script with representative inputs and an `--output` file when a deterministic calculation is available.\n- Confirm the JSON result contains `ok: true`, expected units, and no unhandled warnings.\n- Check result magnitudes against the stated assumptions, references, and a hand calculation or known operating range before reporting them.\n\n## References\n\n- `references\u002Fdag_glossary.md` — confounders, mediators, colliders,\n  back-door criterion.\n- Pearl, *Causality* (2nd ed).\n- Hernán & Robins, *Causal Inference: What If*.\n\n## Anti-Patterns\n\n- Drawing a DAG only after seeing the regression results.\n- Adjusting \"for everything\"; that controls for mediators and colliders.\n- Claiming causal effect from a coefficient without naming the DAG used.\n","# Process Causal Inference (DAG-Based Adjustment)\n\n## Overview\n\nFor observational process data, the right adjustment set determines\nwhether a regression coefficient is a confounded estimate, a partial\nmediated estimate, or the total effect. This skill provides DAG tooling:\n\n- Build a DAG from an edge list (YAML or CLI).\n- Test d-separation between sets given conditioning.\n- Enumerate parents of the treatment as a candidate back-door adjustment\n  set; verify the criterion.\n- Export DOT source for the user to render with Graphviz.\n\nThe implementation is pure-Python (no NetworkX dependency). For larger\nproblems, swap in `networkx`\u002F`pgmpy`.\n\nScope is deliberately narrow per design review:\n- It DOES NOT estimate causal effects. Pair it with `engineering-statistics`,\n  `censored-regression`, `distributed-lag-models`, or\n  `bayesian-hierarchical-process-models` for that.\n- It DOES NOT do front-door or instrument-variable analysis. Extend as\n  needed.\n\n## Prerequisites\n\n1. `uv` available.\n2. On first use, the script writes `LICENSE_NOTIFICATION.txt`.\n\n## When to Use\n\n- Designing an observational study and you need a defensible adjustment\n  set.\n- Resolving confounding-vs-mediation disagreements in plant data.\n- Drawing a DAG for an internal report or for HAZOP-style review of an\n  empirical claim.\n\n## Don't use for\n\n- Estimating effect sizes (see other skills).\n- Bayesian network learning from data (use `pgmpy`).\n- Counterfactual analysis (no potential-outcomes implementation here).\n\n## Utility Scripts\n\n- `uv run scripts\u002Fdag.py check --edges \"A,B;A,C;B,D;C,D\" --treatment B --outcome D --output \u002Ftmp\u002Fcheck.json`\n- `uv run scripts\u002Fdag.py dsep --edges \"A,B;A,C;B,D;C,D\" --x B --y C --z A --output \u002Ftmp\u002Fdsep.json`\n- `uv run scripts\u002Fdag.py dot --edges \"A,B;A,C;B,D;C,D\" --output \u002Ftmp\u002Fg.dot`\n\n## Procedure\n\n1. List variables (predictors, candidate confounders, mediators, colliders,\n   regime indicators, lab outcomes).\n2. Classify each variable (confounder vs mediator vs collider vs regime).\n3. Draw the DAG (one edge per causal direction; no cycles).\n4. Identify the treatment and the outcome.\n5. Get the parent set of the treatment; verify it satisfies the back-door\n   criterion via `check`.\n6. Use d-separation tests for alternative paths.\n7. Export DOT and render externally for review.\n\n## Pitfalls\n\n- Adjusting for mediators when estimating a total effect; this introduces\n  bias.\n- Adjusting for colliders (variables caused by both treatment and outcome);\n  this opens a spurious path.\n- Drawing an unsigned graph and assuming the direction is obvious;\n  always be explicit.\n- Equating \"correlation with the outcome\" with \"is a confounder\"; a\n  mediator is correlated too but should not be adjusted for total effect.\n- Forgetting the regime \u002F selection indicator; if operators routinely\n  intervene in response to the outcome, that intervention may be a\n  collider conditional on the response.\n- Reporting \"no confounding\" because a regression coefficient barely moves\n  with adjustment. The right test is graphical, not numerical.\n- Treating descendants of the treatment as legitimate adjustment variables.\n\n## Fallback Strategies\n\n- If the DAG has many nodes (> ~30), switch to `networkx` + `pgmpy` for\n  efficient enumeration of separation sets.\n\n## Verification\n\n- Run the listed script with representative inputs and an `--output` file when a deterministic calculation is available.\n- Confirm the JSON result contains `ok: true`, expected units, and no unhandled warnings.\n- Check result magnitudes against the stated assumptions, references, and a hand calculation or known operating range before reporting them.\n\n## References\n\n- `references\u002Fdag_glossary.md` — confounders, mediators, colliders,\n  back-door criterion.\n- Pearl, *Causality* (2nd ed).\n- Hernán & Robins, *Causal Inference: What If*.\n\n## Anti-Patterns\n\n- Drawing a DAG only after seeing the regression results.\n- Adjusting \"for everything\"; that controls for mediators and colliders.\n- Claiming causal effect from a coefficient without naming the DAG used.\n",{"name":5,"risk":24,"source":25,"license":15,"version":26,"category":27,"description":7,"imported_at":28,"source_path":29,"source_repository":30,"disable-model-invocation":20},"low","https:\u002F\u002Fgithub.com\u002Fjskherman\u002Fengg-skills","1.0.0","chemical-engineering","2026-09-20","skills\u002Fprocess-causal-inference-dags\u002FSKILL.md","jskherman\u002Fengg-skills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fchemical-engineering\u002Fprocess-causal-inference-dags","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill process-causal-inference-dags",{"tool":43,"command":44},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill process-causal-inference-dags",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill process-causal-inference-dags","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Fprocess-causal-inference-dags\u002FSKILL.md",true,[51,57],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fdag_glossary.md","REFERENCE","参考文档",2141,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Fprocess-causal-inference-dags\u002Freferences\u002Fdag_glossary.md",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Fdag.py","SCRIPT","脚本",3942,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Fprocess-causal-inference-dags\u002Fscripts\u002Fdag.py",[64,72,79,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":71},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":71},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":71},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":71},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":71},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":71},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]