一键导入
analyze-activity
Analyze whether a role-play agent's activity output reads like a real human. Use when the user says "分析对话", "analyze activity", or "检查角色扮演".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze whether a role-play agent's activity output reads like a real human. Use when the user says "分析对话", "analyze activity", or "检查角色扮演".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Deeply analyze a simulation run's results — agent experiences, inner journey, personality growth, etc. Use when the user says "分析run", "analyze run", or "分析这个运行".
Compute numerical metrics for a simulation run (as opposed to the qualitative analysis done by analyze-run). Use when the user says "run metrics", "计算指标", or "compute metrics".
Measure wall-clock time consumed per week of a simulation run. Use when the user says "时间分析", "time analysis", "每周耗时", or "运行时间".
基于 SOC 职业分类
| name | analyze-activity |
| description | Analyze whether a role-play agent's activity output reads like a real human. Use when the user says "分析对话", "analyze activity", or "检查角色扮演". |
| allowed-tools | Bash(python:*), Read, Grep, Glob |
Extract a role-play agent's utterances (output) from the activity phase in the system run logs, and analyze whether they read like things a real human would say or do.
Take the perspective of an ordinary person and judge whether each piece of output reads like something a real human would say or do in that situation.
Ask yourself:
Common "not human-like" signs (examples only, not exhaustive):
Wait for the user to specify the run_id to analyze, in a format like data/school_01082234.
Read .claude/skills/analyze-activity/PRINCIPLES.md to learn the existing judgment criteria.
python scripts/extract_activity_dialogues.py <run_id>
This generates logs/activity/<run_name>.log (e.g., logs/activity/school_01082234.log).
Use the Read tool to read the generated dialogue record file.
Analyze each piece of output:
If you find a new, representative problem pattern (not already in the existing principles), use the Edit tool to add it to the "Claude Principles" section of PRINCIPLES.md.
Format:
### C{N}. {principle description}
- Example: {original bad case}
- Revision: {revised version}
Notes:
## Activity Analysis Report
### Run ID: <run_id>
---
### Problem 1
**Location**: [turn X, character name] in Activity "activity name"
**Original**: "..."
**Problem**: [specifically describe what doesn't read like a real human]
**Why it's off**: [explanation]
**A real person might**: [give a more natural way to express it]
---
### Problem 2
...
---
## Summary
### Overall impression
[Does this batch of output read like a real human overall? What are the main problems?]
### Problem breakdown
[Count by problem type, e.g., "language too literary: X instances"]
### Prompt improvement suggestions
[Based on the problems found, suggest how to adjust the prompt]