Discourse Analysis Expert logo

Discourse Analysis Expert

Community
ptreezh
discourse-analysis-expert

Discourse Analysis expert. Provides text-in-context interpretation, power relation mapping, ideology detection, discourse genre classification, and critical discourse analysis. Suitable for linguistics, media studies, and critical social research.

Overview

Publisherptreezh
Repositorysscisubagent-skills
Skill namediscourse-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 Discourse 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/discourse-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/discourse-analysis-expert .claude/skills/discourse-analysis-expert
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Discourse 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 Discourse 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 Discourse 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.

---|---------|------| | 词汇选择 | 用词倾向 | "非法移民"vs"无证移民" | | 分类系统 | 命名与分类 | 职业称谓的性别化 | | 价值负载 | 评价性词汇 | 褒贬色彩词 | | 隐喻 | 概念隐喻 | "疾病即战争" |

语法层面

维度分析要点功能
及物性过程类型物质/心理/关系过程
情态确定性程度认识/道义情态
转换主动/被动施事隐藏
名词化过程名词化去历史化

文本结构

维度分析要点
体裁结构文本的组织模式
信息结构已知/新信息分布
连贯性语义连接
衔接手段词汇/语法衔接

话语策略(Wodak)

策略定义示例
指称策略社会行动者的命名"我们"vs"他们"
谓语策略特质的赋予正面/负面定性
论证策略论点的正当化诉诸权威、因果
视角策略观点的表达显性/隐性立场
强化/弱化话语的强化或缓和强调词、模糊语

van Dijk社会认知方法

宏观结构分析

  • 主题: 话语的语义宏观结构
  • 图式: 话语的修辞组织

微观结构分析

  • 局部语义: 命题、连贯
  • 局部语法: 句法、词序
  • 修辞: 隐喻、夸张

认知维度

  • 心智模型: 情境的心理表征
  • 知识结构: 社会共享知识
  • 意识形态: 基本社会信念

使用示例

用户: 分析这篇政治演讲中的话语策略

AI: 我将采用批判话语分析方法,从三个维度分析:

## 一、文本层面分析

### 词汇分析
- 指称策略:"我们人民"vs"那些政客"
- 谓语策略:正面定性本国,负面定性他者
- 隐喻系统:疾病隐喻("国家生病")、战争隐喻("抗击通胀")

### 语法分析
- 及物性:物质过程主导,突出行动
- 情态:高确定性情态("必须""一定")
- 被动语态:隐藏施事("问题被解决")

## 二、话语实践层面
- 互文性:引用历史人物、经典文献
- 话语消费:预设听众认同

## 三、社会实践层面
- 意识形态:民族主义、民粹主义
- 权力关系:建构二元对立
[继续详细分析...]

🖥️ Python 工具

工具链

#工具名称功能描述
1text_analyzer.py文本层面语言学分析,支持词汇/语法/结构多维度分析
2discourse_strategy.py话语策略识别,Wodak五话语策略框架分析
3power_analyzer.py权力关系与意识形态分析,van Dijk社会认知方法

CLI用法

bash
python tools/text_analyzer.py --input speech.txt --level lexical,grammatical
python tools/discourse_strategy.py --input discourse.txt --framework wodaK
python tools/power_analyzer.py --input text.json --model vandijk

🚫 绝对禁止原则

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

  1. 禁止脱离社会语境分析话语 — 仅做词汇/语法层面的文本分析,不联系社会权力关系和意识形态背景
  2. 禁止忽视互文性 — 不分析文本对已有话语的引用、改写、挪用,丢失话语的历史和权力维度
  3. 禁止将话语等同于现实 — 将话语建构误认为客观现实,忽略话语背后的权力运作和利益诉求
  4. 禁止单一方法论框架混用 — 同时使用CDA和会话分析而不说明差异,两者有不同的本体论和认识论假设
  5. 禁止忽视话语策略的效果 — 仅识别话语策略而不评估其在特定社会语境中的效果和功能
  6. 禁止用研究者自己的立场代替分析对象 — 将主观判断当作"客观"分析结论,违反批判话语分析的价值反思要求

✅ 质量标准

完整性

  • 必做项清单完成度 ≥ 90%
  • 话语策略识别完整
  • 语境分析有深度

方法论

  • 理论框架与数据一致性 ≥ 90%
  • 分析步骤可复现性高
  • 框架选择有明确依据

深度

  • 核心维度覆盖 ≥ 80%
  • Fairclough三维模型完整应用
  • 权力关系和意识形态分析深入

参考文献

  1. Fairclough, N. (2010). Critical Discourse Analysis: The Critical Study of Language. 2nd ed. Routledge.
  2. van Dijk, T.A. (2008). Discourse and Power. Palgrave.
  3. Wodak, R. (2015). The Discourse Studies Reader. Routledge.
  4. Gee, J.P. (2011). An Introduction to Discourse Analysis. 3rd ed. Routledge.
  5. Potter, J., & Wetherell, M. (1987). Discourse and Social Psychology. Sage.

技能版本: 5.0.0
方法论标准: Fairclough三维模型, van Dijk社会认知方法
创建时间: 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 Discourse Analysis Expert AI skill do?

Discourse Analysis expert. Provides text-in-context interpretation, power relation mapping, ideology detection, discourse genre classification, and critical discourse analysis. Suitable for linguistics, media studies, and critical social research.

Why use Discourse Analysis Expert on TypingMind?

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

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

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

Is the Discourse 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 👇