/variable-map

Consolidates empirical variables from wiki pages into an executable dictionary with comparison table.

77|16|Updated May 9, 2026
One-click install
npx skills add https://github.com/Lambenthan/empiricalwiki --skill variable-map
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: /variable-map
Source: https://github.com/Lambenthan/empiricalwiki/tree/main/.claude/skills/variable-map
Command: npx skills add https://github.com/Lambenthan/empiricalwiki --skill variable-map

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of fragmented variable measurement descriptions across multiple empirical papers by consolidating them into an executable variable dictionary with roles, formulas/text, data sources, and project readiness.

Core Features & Use Cases

  • Cross-page variable consolidation: Matches variable/construct names, aliases, roles, tags, and source_papers across existing wiki pages such as wiki/variables/*.md, wiki/papers/*.md, wiki/datasets/*.md, and wiki/models/*.md.
  • Role-aware comparison table output: Produces a structured comparison including model role (dependent/core/explanatory/mediator/moderator/control), measurement definition, dataset path, sampling frequency, literature provenance, and practical risk/benefit notes.
  • Archiving and logging: Archives the result to wiki/outputs/variable-map-{slug}-{YYYY-MM-DD}.md and appends a log entry via the project tooling.

Quick Start

Run the variable-map skill with the variable name "耐心资本" and request all roles to generate an archived comparison table for project use.

Frequently Asked Questions about /variable-map

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I consolidate variable definitions across multiple empirical papers into a single dictionary?

To consolidate variable definitions, this Skill compares measurement roles, formulas, and data provenance across existing wiki pages to generate a structured, executable dictionary for your literature synthesis workflow.

What is the best way to map variable model roles like mediator or moderator for a research wiki?

Mapping variable model roles involves extracting supported evidence from local wiki sources to produce a role-aware comparison table that identifies variables as dependent, explanatory, mediator, moderator, or control.

Can I use this to prepare a Stata-ready comparison table from accounting and finance literature notes?

Yes, you can prepare a Stata-ready comparison table by extracting measurement definitions, dataset paths, and sampling frequencies from your project pages to ensure your empirical implementation is accurate.

How do I archive variable mapping results with a reproducible log for my research project?

Archiving variable mapping results is handled automatically by saving the output comparison table to a dated markdown file within your wiki structure and appending a corresponding log entry via project tooling.

Does this Skill support extracting measurement formulas from papers when variable definitions differ by identification design?

Yes, it supports extracting measurement formulas by comparing varying definitions and text descriptions across existing wiki pages, specifically targeting literature-to-implementation workflows in management and economics.

What limitations exist when matching variable aliases across fragmented wiki datasets and papers?

A key limitation is that matching variable aliases relies exclusively on extracting supported evidence from local wiki sources, meaning any missing paper pages or undocumented dataset paths will restrict the comparison output.