Css Research Skillsのロゴ

Css Research Skills

コミュニティ
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.

概要

公開者MingfengHong
リポジトリcss-research-skills
スキル名css-research-skills
スター
31
フォーク
0
同梱ファイル
11
ライセンスCC-BY-NC-4.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 11個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    MingfengHongがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Css Research Skills」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/MingfengHong/css-research-skills/tree/main/css-research-skills
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCss Research Skillsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCss Research Skillsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Css Research Skillsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでCss Research Skillsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Css Research Skillsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCss Research Skillsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/MingfengHong/css-research-skills/tree/main/css-research-skillsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Css Research Skillsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Css Research Skillsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCss Research Skillsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Css Research Skills」は無料ですか?

はい。MingfengHongがCC-BY-NC-4.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇