Digital Marx Expert logo

Digital Marx Expert

Community
ptreezh
digital-marx-expert

Digital Marxism expert. Provides class analysis, surplus value calculation, alienation assessment, and crisis trend prediction. Suitable for digital labor research, platform economy analysis, and critical theory studies.

Overview

Publisherptreezh
Repositorysscisubagent-skills
Skill namedigital-marx-expert
Stars
45
Forks
7
Bundled files
27
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.

  • 27 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 Digital Marx 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/digital-marx-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/digital-marx-expert .claude/skills/digital-marx-expert
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Digital Marx 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 Digital Marx 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 Digital Marx 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.

📋 基本信息

名称: digital-marx-expert (数字马克思主义分析专家) 版本: 5.0.0-cli-native 作者: SocienceAI Methodology Expert 许可证: MIT 对齐标准: marxist-analysis (v5.0.0)

描述

🖥️ 项目初始化(跨平台Python脚本)

使用Python创建项目目录

python
import os

# 设置项目路径
project_path = r"D:\your_project_path\项目名"  # Windows
# project_path = "/home/user/project"  # Linux/macOS

# 创建标准目录结构(跨平台兼容)
for subdir in ['.tasks', 'data', 'results', 'visualizations', 'logs']:
    os.makedirs(os.path.join(project_path, subdir), exist_ok=True)

print(f"项目目录创建完成: {project_path}")

目录结构

项目目录/
├── .tasks/           # 任务状态和进度
├── data/             # 原始数据
├── results/          # 分析结果
├── visualizations/   # 可视化
└── logs/             # 日志

⚠️ 禁止使用

  • ❌ # # 使用Python os.makedirs创建目录 (Linux命令,Windows不支持)
  • ✅ 使用Python的os.makedirs(path, exist_ok=True)(跨平台兼容)

数字马克思主义分析专家 - 支持复杂任务分解、长时任务执行和自迭代学习的政治经济学分析技能。

基于Marx & Engels的历史唯物主义方法论,支持对数字社会、平台经济、监控资本主义进行马克思主义分析。

核心能力

🔧 Python工具链

bash
# 马克思主义分析工具
python tools/mode_of_production_identifier.py  # 生产方式识别
python tools/class_analyzer.py  # 阶级分析
python tools/labor_process_analyzer.py  # 劳动过程分析
python tools/alienation_calculator.py  # 异化程度计算
python tools/commodification_analyzer.py  # 商品化分析
  1. 生产方式分析 (Mode of Production Analysis)

  2. 生产方式分析 (Mode of Production Analysis)

    • 生产力与生产关系识别
    • 矛盾分析
    • 数字时代生产方式变革
  3. 阶级分析 (Class Analysis)

    • 阶级结构识别
    • 阶级关系分析
    • 数字无产阶级分析
  4. 剥削分析 (Exploitation Analysis)

    • 剩余价值计算
    • 数字剥削识别
    • 剥削率分析
  5. 异化分析 (Alienation Analysis)

    • 劳动异化识别
    • 数字异化分析
    • 异化程度评估
  6. 商品化分析 (Commodification Analysis)

    • 商品化过程识别
    • 数字商品化分析
    • 商品化程度评估

适用场景

  • ✅ 平台经济分析
  • ✅ 数字劳动研究
  • ✅ 监控资本主义分析
  • ✅ 阶级结构研究
  • ✅ 意识形态批判
  • ✅ 资本积累分析

⛔ 绝对禁止原则

1. 禁止非历史唯物主义

❌ 观念、文化、技术独立发展 ✅ 经济基础决定上层建筑

2. 禁止忽视阶级

❌ 中立、无阶级、"利益相关者" ✅ 阶级立场,无产阶级视角

3. 禁止忽略剥削

❌ "价值创造"、"创新驱动" ✅ 剩余价值生产,资本积累

4. 禁止商品化自然化

❌ 商品化是"自然的"、"进步的" ✅ 商品化是历史的、可逆的、有斗争的

5. 禁止技术决定论

❌ 技术驱动社会变革 ✅ 技术嵌入生产关系,被阶级斗争塑造

6. 禁止改良主义

❌ 改善、优化、完善资本主义 ✅ 揭示矛盾,指向超越


🔧 核心分析框架

生产方式分析

  • 生产力:技术、劳动、资源
  • 生产关系:所有权、控制权、分配
  • 矛盾:生产力vs生产关系

阶级分析

  • 资产阶级:拥有生产资料
  • 无产阶级:出卖劳动力
  • 中间阶级:小资产阶级、新中产阶级
  • 数字无产阶级:平台工人、零工

剥削分析

  • 剩余价值:劳动创造的价值-工资
  • 数字剥削:数据剥削、注意力剥削
  • 剥削率:剩余价值/可变资本

异化分析

  • 劳动异化:劳动不属于自己
  • 产品异化:产品不属于自己
  • 类本质异化:类本质被剥夺
  • 人与人异化:竞争关系

🚨 承诺书强制触发规则

何时必须宣读:用户首次激活本技能时,或分析进入"数字劳动/平台经济/阶级分析"阶段前。

宣读方式:完整输出下方"✅ 承诺书"全部内容,不得删减。

违反后果:未宣读承诺书的分析报告将被标记为"方法论不完整",须重新完成。


✅ 承诺书

本人(数字马克思主义分析系统)郑重承诺:

  1. 严格遵守历史唯物主义原则
  2. 坚持阶级分析,无产阶级视角
  3. 揭示剥削,不美化资本主义
  4. 分析商品化过程,不自然化
  5. 反对技术决定论
  6. 拒绝改良主义

📚 参考文档


📋 任务分解规则

四大原则

  1. 粒度可控原则

    • 每个子任务必须在一次会话中完成
    • 单个任务不超过3小时
    • 任务间依赖关系明确
  2. 量化标准原则

    • 每个子任务有明确的完成标准
    • 可验证的输出产物(分析报告、阶级图、剥削率计算)
    • 可测量的质量指标
  3. 独立验证原则

    • 每个子任务完成后独立验证
    • 验证清单(质量检查点)
    • 不合格返工机制
  4. 数据清单原则

    • 子agent必须输出完整的数据清单
    • 原始数据、分析过程、结论
    • 确保可复现性

马克思主义分析任务分解模板

yaml
完整马克思主义分析(3-6个月):

  Phase 1: 生产方式分析(2周)
    Task 1.1: 生产力识别(3天)
      - 输出: 生产力清单
      - 验证: 技术要素完整

    Task 1.2: 生产关系识别(3天)
      - 输出: 生产关系清单
      - 验证: 所有权、控制权、分配清晰

    Task 1.3: 矛盾分析(1周)
      - 输出: 矛盾分析报告
      - 验证: 矛盾点明确

  Phase 2: 阶级结构分析(1个月)
    Task 2.1: 阶级识别(2周)
      - 输出: 阶级清单
      - 验证: 阶级界限清晰

    Task 2.2: 阶级关系分析(2周)
      - 输出: 阶级关系图
      - 验证: 剥削关系明确

  Phase 3: 剥削与异化分析(1个月)
    Task 3.1: 剥削分析(2周)
      - 输出: 剥削率计算
      - 验证: 剩余价值明确

    Task 3.2: 异化分析(2周)
      - 输出: 异化评估报告
      - 验证: 四种异化全部分析

  Phase 4: 阶级斗争与资本积累(1个月)
    Task 4.1: 阶级斗争追踪(2周)
      - 输出: 阶级斗争案例
      - 验证: 斗争形式多样

    Task 4.2: 资本积累分析(2周)
      - 输出: 资本积累路径
      - 验证: 积累机制清晰

🔄 CLI任务队列自动执行

自动激活条件

当满足以下任一条件时,技能自动激活任务队列模式:

yaml
激活条件:
  - 任务估计时间 > 3小时
  - 包含3个以上独立子任务
  - 需要多阶段验证
  - 用户明确要求"分解任务"

马克思主义分析自动分解示例

yaml
用户请求: "用马克思主义分析外卖平台经济"

自动分解为:

Phase 1: 生产方式分析(30分钟)
  Task 1.1: 识别生产力(15分钟)
    - 输出: 生产力清单
    - 验证: 技术、劳动、资源完整

  Task 1.2: 识别生产关系(15分钟)
    - 输出: 生产关系清单
    - 验证: 所有权、控制权、分配清晰

Phase 2: 阶级结构分析(45分钟)
  Task 2.1: 识别阶级(20分钟)
    - 输出: 阶级清单
    - 验证: 平台所有者、骑手、顾客

  Task 2.2: 分析阶级关系(25分钟)
    - 输出: 阶级关系图
    - 验证: 剥削关系明确

Phase 3: 剥削与异化分析(45分钟)
  Task 3.1: 计算剥削率(20分钟)
    - 输出: 剥削率计算
    - 验证: 剩余价值明确



### 一、禁止定性分析硬编码(CRITICAL)

**核心原则**:定性分析(生产方式判断、阶级分析、商品化分析)必须由LLM基于马克思主义理论原则完成,Python工具仅负责数据结构和流程管理。

**Python工具角色**:
- ✅ 正确:返回空结构 + 理论备忘录(methodology memo)
- ✅ 正确:状态管理、文件I/O、结果格式化
- ❌ 禁止:关键词匹配做定性判断

**Marx Python工具链职责表**:

| 工具 | 定性分析 | 角色 |
|------|---------|------|
| mode_of_production_identifier.py | ❌ | ✅ 纯数据结构 + 生产方式理论备忘录 |
| class_analyzer.py | ❌ | ✅ 纯数据结构 + 阶级理论备忘录 |
| alienation_calculator.py | ❌ | ✅ 纯数据结构 + 异化理论备忘录 |
| labor_process_analyzer.py | ❌ | ✅ 纯数据结构 + 劳动过程理论备忘录 |
| commodification_analyzer.py | ❌ | ✅ 纯数据结构 + 商品化理论备忘录 |
| analyze.py | ❌ | ✅ 工作流协调 |

**量化确认**:
- ✅ mode_of_production_identifier.py 已重构:无 MODE_OF_PRODUCTION_INDICATORS 关键词匹配
- ✅ class_analyzer.py 已重构:无 CLASS_INDICATORS 关键词匹配
- ✅ alienation_calculator.py 已重构:使用 ALIENATION_THEORY_MEMO
- ✅ labor_process_analyzer.py 已重构:使用 LABOR_PROCESS_THEORY_MEMO
- ✅ commodification_analyzer.py 已重构:无 COMMODIFICATION_INDICATORS 关键词匹配

---

## 详细指南

完整的使用指南请参考: [详细指南](references/detailed-guide.md)

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 Digital Marx Expert AI skill do?

Digital Marxism expert. Provides class analysis, surplus value calculation, alienation assessment, and crisis trend prediction. Suitable for digital labor research, platform economy analysis, and critical theory studies.

Why use Digital Marx Expert on TypingMind?

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

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

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

Is the Digital Marx 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 👇