sem-cfa-path-latent

For planning, running, and reporting structural equation models (SEM), confirmatory factor analysis (CFA), path analysis, and latent variable models. Applicable to SEM workflows, lavaan/Mplus/AMOS usage, measurement and structural model specification, model fit evaluation, latent variable mediation, competing model comparison, common-method factor control, and writing up results for papers.

Last repository push
GitHub Stars
193
Forks
15
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sem-cfa-path-latent" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b8f8f5c7017f013a2fe558655624bb69746749c9a6948d0c7a387d4fa11b8001. Verify the upstream source and version against https://github.com/Drchronx/ai-agent-research-starter-kit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

For planning, running, and reporting structural equation models (SEM), confirmatory factor analysis (CFA), path analysis, and latent variable models. Applicable to SEM workflows, lavaan/Mplus/AMOS usage, measurement and structural model specification, model fit evaluation, latent variable mediation, competing model comparison, common-method factor control, and writing up results for papers.

0 Downloads

Introduction source: third_party · Drchronx · 0.0.1 Reference

SkillPi interpretation

Tasks
Plan, run, and report SEM, CFA, path analysis, and latent variable models. Use for structural equation modeling, lavaan/Mplus/AMOS, measurement model, structural model, model fit, latent mediation, competing models, common method factor, and manuscript reporting.
Audience
Not specified in the source documentation.
Inputs and outputs
Theoretical model. Item-level or scale-level data. Measurement model and structural paths. Software preference.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Do not tune model fit with unexplained correlated errors. Do not treat good global fit as proof of theory. Do not compare latent means without measurement invariance. Do not hide poor loading items or model modifications.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: sem-cfa-path-latent
description: "Plan, run, and report SEM, CFA, path analysis, and latent variable models. Use for structural equation modeling, lavaan/Mplus/AMOS, measurement model, structural model, model fit, latent mediation, competing models, common method factor, and manuscript reporting."

SEM CFA Path Latent Models

Use this skill when constructs are latent, models contain multiple simultaneous paths, or measurement error must be modeled.

Inputs

  • Theoretical model.
  • Item-level or scale-level data.
  • Measurement model and structural paths.
  • Software preference.

Workflow

  1. Confirm whether SEM is necessary or whether regression is sufficient.
  2. Specify measurement model before structural paths.
  3. Check sample size, missing data, distribution, and estimator choice.
  4. Report CFI, TLI, RMSEA, SRMR, chi-square, degrees of freedom, and model comparison when appropriate.
  5. Test structural paths, indirect effects, and alternative models.
  6. Write measurement and structural results separately.

Hard Constraints

  • Do not tune model fit with unexplained correlated errors.
  • Do not treat good global fit as proof of theory.
  • Do not compare latent means without measurement invariance.
  • Do not hide poor loading items or model modifications.

Output

SEM suitability:
Measurement model:
Structural model:
Estimator and missing-data handling:
Fit table:
Path table:
Alternative models:
Reporting paragraph:

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 面向结构方程建模研究者的核心需求,覆盖从模型构建到论文报告的全流程
Trigger Precision95/100

Highlights

  • 触发词精准覆盖 SEM/CFA/路径分析等关键场景,边界清晰,无歧义
Structure and Standards85/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档首段描述了使用场景,但未使用显式章节标题 'When to Use',影响结构规范性

    Recommendation: 建议添加 'When to Use' 章节标题,明确区分使用场景说明

  • 缺少完整端到端示例 Reported severity: Minor

    仅提供输出模板,缺乏一个完整的从输入到输出的实际案例演示

    Recommendation: 建议补充一个包含真实数据片段和完整输出的端到端示例,提升可操作性

Highlights

  • Workflow 步骤清晰,Hard Constraints 体现方法论严谨性,Output 模板实用
Execution Reliability80/100

Areas to improve

  • 工具来源与兼容性说明不足 Reported severity: Minor

    未明确说明底层调用的具体工具(如 R/lavaan、Python 库)或数据格式要求,可能影响执行成功率

    Recommendation: 建议在 Inputs 或 Workflow 中补充工具依赖说明和数据格式兼容性提示

Highlights

  • 强调模型拟合硬约束,避免常见误用,提升结果可信度
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.