Content Analysis Expert logo

Content Analysis Expert

Community
ptreezh
content-analysis-expert

Content Analysis expert. Provides coding framework development, inter-coder reliability testing, theme extraction, manifest/latent content classification, and quantitative content reporting. Suitable for media studies, communication research, and qualitative data analysis.

Overview

Publisherptreezh
Repositorysscisubagent-skills
Skill namecontent-analysis-expert
Stars
45
Forks
7
Bundled files
17
LicenseMIT
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.

  • 17 bundled files

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

  • Open source

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

Installation

Install the Content Analysis Expert 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/ptreezh/sscisubagent-skills/tree/main/skills/content-analysis-expert
  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/ptreezh/sscisubagent-skills.git /tmp/sscisubagent-skills
mkdir -p .claude/skills
cp -r /tmp/sscisubagent-skills/skills/content-analysis-expert .claude/skills/content-analysis-expert
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Content Analysis Expert 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 Content Analysis Expert 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 Content Analysis Expert 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.

------|------|------| | 物理单元 | 计数单位 | 字数、页数、秒数 | | 语法单元 | 语言结构 | 句子、段落、章节 | | 命题单元 | 意义单位 | 主题、论点、断言 | | 主题单元 | 内容单位 | 角色、话题、事件 |

编码者间信度

信度系数

系数适用数据公式可接受值
Cohen's Kappa名义变量(Po-Pe)/(1-Pe)≥ 0.70
Krippendorff's Alpha各类数据1-Do/De≥ 0.80
Scott's Pi名义变量(Po-Pe)/(1-Pe)≥ 0.75
百分比一致所有类型同意数/总数≥ 0.90

信度检验步骤

  1. 随机抽取10-20%样本
  2. 独立编码
  3. 计算信度系数
  4. 解决编码分歧
  5. 达到可接受水平后继续

统计分析

描述性统计

  • 类别频次分布
  • 百分比统计
  • 趋势分析

推断性统计

  • 卡方检验
  • 列联表分析
  • 相关分析
  • 回归分析

使用示例

用户: 分析这批新闻报道关于气候变化的框架

AI: 我将采用定向内容分析方法,步骤如下:

1. **框架识别**
   - 经济框架
   - 环境框架  
   - 政治框架
   - 科学框架
   - 道德框架

2. **编码方案**
   [详细编码簿...]

3. **信度检验**
   Cohen's Kappa = 0.85 (可接受)

4. **分析结果**
   框架频次分布...
   框架间关联...

🚫 绝对禁止原则

使用前必读:以下原则是不可逾越的红线,违反将导致内容分析结论无效。

  1. 禁止编码前不定义类别系统 — 未建立清晰、可操作、互斥穷尽的编码框架,导致编码标准不一致
  2. 禁止跳过信度检验 — 未进行编码者间信度检验(Cohen's Kappa ≥ 0.70),导致分析结果不可靠
  3. 禁止脱离原始文本编码 — 编码时未引用原始文本证据,导致编码不可追溯和验证
  4. 禁止忽视负面案例 — 只编码支持预设主题的内容,忽略矛盾或异常案例,导致结论有偏
  5. 禁止混用分析类型 — 将定量频次分析与定性主题分析混用,导致方法论不一致
  6. 禁止忽视编码单元定义 — 未明确编码单元(词/句/段/主题),导致计数标准混乱

✅ 质量标准

完整性

  • 必做项清单完成度 ≥ 90%
  • 编码方案完整(含定义、示例、决策规则)
  • 信度检验报告完整

方法论

  • 理论框架与数据一致性 ≥ 90%
  • 分析步骤可复现性高
  • 编码方案经过预测试

深度

  • 核心维度覆盖 ≥ 80%
  • 类别系统饱和度检验
  • 负面案例分析完整

🖥️ Python 工具

工具链

#工具名称功能描述
1coding_scheme.py编码方案生成与管理,支持互斥性/穷尽性检验
2reliability_tester.py编码者间信度计算,支持Cohen's Kappa、Krippendorff's Alpha
3frequency_analyzer.py频次统计与可视化,生成类别分布图表

CLI用法

bash
python tools/coding_scheme.py --create --categories 5 --validate
python tools/reliability_tester.py --input coded_data.csv --metric kappa
python tools/frequency_analyzer.py --input codes.json --visualize --output report.html

输出格式

markdown
# 内容分析报告

## 研究问题
[明确的研究问题]

## 方法
- 分析类型:[经典/定向/归纳]
- 样本量:N = [数量]
- 编码单元:[单元类型]
- 编码者数量:[数量]

## 信度检验
| 指标 | 值 | 判断 |
|-----|-----|-----|
| Cohen's Kappa | 0.85 | 优秀 |

## 主要发现
[详细分析结果]

## 讨论
[解释与建议]

参考文献

  1. Krippendorff, K. (2018). Content Analysis: An Introduction to Its Methodology. 4th ed. Sage.
  2. Schreier, M. (2012). Qualitative Content Analysis in Practice. Sage.
  3. Mayring, P. (2014). Qualitative Content Analysis: Theoretical Foundation, Basic Procedures and Software Solution. Klagenfurt.
  4. Neuendorf, K.A. (2017). The Content Analysis Guidebook. 2nd ed. Sage.
  5. Hsieh, H.F., & Shannon, S.E. (2005). Three approaches to qualitative content analysis. Qualitative Health Research, 15(9), 1277-1288.

技能版本: 5.0.0
方法论标准: Krippendorff (2018)
创建时间: 2026-03-15

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 Content Analysis Expert AI skill do?

Content Analysis expert. Provides coding framework development, inter-coder reliability testing, theme extraction, manifest/latent content classification, and quantitative content reporting. Suitable for media studies, communication research, and qualitative data analysis.

Why use Content Analysis Expert on TypingMind?

Because you install it once and use it with any model. Content Analysis Expert 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 Content Analysis Expert in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ptreezh/sscisubagent-skills/tree/main/skills/content-analysis-expert. 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 Content Analysis Expert?

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 Content Analysis Expert?

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

Is the Content Analysis Expert AI skill free?

Yes. It is published on GitHub by ptreezh under the MIT 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 👇