Css Research Skills logo

Css Research Skills

Community
MingfengHong
css-research-skills

Design, implement, audit, and reproduce computational social science research. Use for causal inference and econometrics (including modern DiD, RDD, IV, matching, and longitudinal analyses), text-as-data and NLP measurement, agent-based modeling and Mesa simulations, social-network analysis and ERGMs, or any research workflow where social-science claims depend on data and code. Route mixed tasks to every relevant domain reference. Do not use for generic coding or data cleaning with no social-science question.

Overview

PublisherMingfengHong
Repositorycss-research-skills
Skill namecss-research-skills
Stars
31
Forks
0
Bundled files
11
LicenseCC-BY-NC-4.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by MingfengHong on GitHub. Read the source before you install it.

Installation

Install the Css Research Skills AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/MingfengHong/css-research-skills/tree/main/css-research-skills
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MingfengHong/css-research-skills.git /tmp/css-research-skills
mkdir -p .claude/skills
cp -r /tmp/css-research-skills/css-research-skills .claude/skills/css-research-skills
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Css Research Skills in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Css Research Skills on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Css Research Skills is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Computational Social Science Research Engineering

Translate a social-science question into a claim-linked, inspectable, and reproducible analysis. Code that runs is not by itself evidence that the scientific claim is supported.

Start with the research contract

Before choosing a model or editing code:

  1. Inspect the supplied data, code, documentation, environment files, and prior outputs. Preserve existing project conventions unless they undermine validity.
  2. Route the task to one or more domains below and read every selected reference before making method or API choices.
  3. Resolve only decision-critical ambiguity. Typical missing items are the unit of analysis, target population, time origin, estimand or construct, treatment timing, network boundary, simulation purpose, and required artifact.
  4. State a concise research contract:
    • question and intended claim;
    • units, population, sample, and observation window;
    • estimand, text construct, network quantity, or emergent pattern;
    • identifying or modeling assumptions;
    • data provenance and access constraints;
    • primary analysis, diagnostics, sensitivity analyses, and outputs.
  5. Implement the smallest change that satisfies that contract, then validate the claim-to-result chain.

Use the research-design template when the user asks for a protocol, preregistration, analysis plan, or replication plan. Adapt it; do not print irrelevant empty sections.

Domain router

A task may span several rows. Read all that apply rather than forcing it into exactly one domain.

RouteTypical questionsRequired reference
Causal inferencePotential outcomes, DAGs, experiments, regression adjustment, panel FE, DiD/event studies, RDD, IV, matching/weighting, longitudinal treatmentreferences/causal_inference.md
Text as data / NLPCorpus construction, discovery, topic models, dictionaries, annotation, classification, embeddings, LLM coding, text-derived treatments or outcomesreferences/nlp_text_analysis.md
ABM / simulationAgent rules, micro-macro mechanisms, Mesa, calibration, validation, policy experiments, sensitivity and uncertaintyreferences/abm_simulation.md
Network analysisNetwork construction, centrality, communities, diffusion, bipartite or temporal networks, null models, ERGM/TERGMreferences/network_analysis.md
Research integrityAny durable empirical/simulation result; human, platform, proprietary, or restricted datareferences/reproducibility_and_ethics.md

Read references/packages.md when a package API is central. Read references/source_guide.md when checking the evidence behind a rule or refreshing a dynamic reference such as Mesa or NetworkX.

Universal validity gates

Claim-method alignment

  • Distinguish description, prediction, measurement, causal identification, and simulation explanation. Do not let a convenient algorithm silently change the question.
  • Define the target quantity before estimation. Report the population and aggregation weights to which it applies.
  • Treat assumptions as claims requiring argument and diagnostics, not boilerplate that a statistical test can prove.

Data and provenance

  • Keep source data immutable when feasible. Derive analysis data with code and retain stable identifiers from raw to derived records.
  • Record provenance, collection window, inclusion/exclusion rules, units, missing-data handling, transformations, licenses, and access restrictions.
  • Check joins, duplicates, types, ranges, attrition, and sample counts at consequential pipeline boundaries.

Reproducibility

  • Control randomness where stochasticity exists; accept a seed or RNG object and record it. Do not inject seed=42 into deterministic tasks or mistake one fixed seed for robustness.
  • For stochastic estimators or simulations, use justified repeated seeds and summarize the distribution of results. Record RNG, package versions, environment, hardware-sensitive settings, and commands when they can affect reproduction.
  • Prefer a master entry point or exact ordered commands, dependency lock or environment specification, and a README mapping code to results.

Validation

Validate at four levels as relevant:

  1. Software: unit/smoke tests, schema checks, invariants, and expected failures.
  2. Method: overlap, convergence, fit, balance, residual or simulation diagnostics, and estimator-specific checks.
  3. Substantive: face-valid cases, close reading, known patterns, negative controls, or external benchmarks.
  4. Robustness: reasonable alternative specifications, preprocessing choices, seeds, samples, network boundaries, or parameter ranges.

Do not add a cross-language coefficient comparison, a 300-dpi figure, a regression table, or an output/ directory unless it serves the user's deliverable or a real validation need.

Responsible research

For data about people or communities, assess consent and reasonable expectations, privacy and re-identification risk, representativeness and exclusions, stakeholder impacts and power, data rights, potential harms, and dual-use or deployment risk. Public availability does not by itself establish ethical permission or scientific validity.

Performance and engineering

  • Preserve downstream schemas and interfaces when modifying a pipeline.
  • Measure before optimizing. Explain the complexity of non-obvious bottlenecks; do not annotate every loop mechanically.
  • Prefer sparse or streaming operations when scale requires them, but keep a clear and testable baseline.
  • Catch exceptions only where the code can add context, recover, or clean up. Preserve exception chains and never hide failed analyses.

High-value gotchas

  • A non-significant pre-treatment coefficient does not prove parallel trends.
  • Staggered-adoption DiD with heterogeneous effects is not a routine two-way fixed-effects regression.
  • Robust or clustered standard errors must follow the assignment and sampling structure; they are not interchangeable defaults.
  • Winsorization, VIF thresholds, stopword removal, lemmatization, and document-frequency cutoffs are analysis choices, not universal cleaning rules.
  • Automated text labels are measurements of constructs, not the constructs themselves.
  • Mesa APIs, NetworkX interfaces, and statistical-package defaults change. Inspect the installed version and current official docs before writing version-sensitive code.
  • Louvain modularity alone does not establish stable or well-connected communities.
  • A straight line on a log-log plot does not establish a power law.
  • Calibration data cannot also serve as independent validation evidence without qualification.
  • A reproducible pipeline can still be biased, unethical, or causally unidentified.

Finish with an evidence report

Before claiming completion, report only the items relevant to the task:

  • files or system state changed;
  • exact commands/tests run and their results;
  • analysis sample and important exclusions;
  • estimand/construct/model and assumptions;
  • diagnostics and sensitivity checks completed;
  • provenance, environment, and seed/replicate information;
  • ethics or access constraints;
  • output paths and mapping to claims;
  • unresolved limitations or unverified external state.

For maintenance of this skill, run python scripts/validate_skill.py from the skill root and execute the realistic cases in evals/evals.json against both the current skill and the saved prior version.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Css Research Skills AI skill do?

Design, implement, audit, and reproduce computational social science research. Use for causal inference and econometrics (including modern DiD, RDD, IV, matching, and longitudinal analyses), text-as-data and NLP measurement, agent-based modeling and Mesa simulations, social-network analysis and ERGMs, or any research workflow where social-science claims depend on data and code. Route mixed tasks to every relevant domain reference. Do not use for generic coding or data cleaning with no social-science question.

Why use Css Research Skills on TypingMind?

Because you install it once and use it with any model. Css Research Skills is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Css Research Skills in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MingfengHong/css-research-skills/tree/main/css-research-skills. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Css Research Skills?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Css Research Skills?

As many as you like. As long as a model supports skills, you can use Css Research Skills with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Css Research Skills AI skill free?

Yes. It is published on GitHub by MingfengHong under the CC-BY-NC-4.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇