Reconstructs Serenity-style investment research logic from public X/Twitter posts, threads, and datasets. Extracts signals, cleans data, evaluates calls against price action, and produces a structured research model.
Ships in serenity-research-model. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
{
"version": 1,
"task": {
"placeholder": "请提供 Serenity 公开帖子、导出数据、线程链接或整理笔记,并说明研究目标",
"required": true
},
"fields": [
{
"key": "mode",
"label": "处理阶段",
"type": "select",
"default": "full",
"options": [
{ "value": "full", "label": "完整研究流程" },
{ "value": "extract", "label": "提取信号" },
{ "value": "clean", "label": "清洗与复核" },
{ "value": "evaluate", "label": "评估公开观点" },
{ "value": "report", "label": "生成研究模型" }
]
},
{
"key": "focus",
"label": "研究重点",
"type": "text",
"placeholder": "例如:AI、半导体供应链、特定股票或瓶颈主题"
}
],
"prompt_template": "{{#task}}任务与材料:\n{{task}}\n\n{{/task}}{{#attachments}}用户上传的材料(已放入工作区):\n{{attachments}}\n\n{{/attachments}}按 {{mode}} 阶段处理 Serenity 的公开材料{{#focus}},重点研究 {{focus}}{{/focus}};将帖子拆解为最小可用信号单元,区分事实与推断、主动论点与引用或回顾内容,保留失败、修正和中性样本,在价格数据可用时评估多周期后续表现,并披露资料边界与未经验证的收益主张,输出中文报告。"
}
Use this skill to turn Serenity public materials into a reproducible research model. The goal is not to verify private profits or copy trades; the goal is to reverse-engineer observable reasoning patterns from public posts and test how those public signals behaved afterward.
Collect public materials.
Normalize posts into the data contract in references/data_contract.md.
scripts/serenity_mvp.py extract --posts <file> --out <dir>..csv, .json, .jsonl, .txt, .md.created_at and text; include url, id, and author when available.references/tweetclaw_import.md and drop credentials, tokens, cookies, request headers, private DMs, drafts, and unpublished account data before running the pipeline.Decompose each post at the smallest useful unit.
Clean and review the first-pass extraction.
scripts/serenity_mvp.py clean --signals <signals.csv> --posts <source_posts.csv> --out <dir>.--ticker-stats <ticker_stats.txt> as a fallback.scripts/serenity_mvp.py auto-review --signals <manual_review_queue.csv> --out <dir> to apply learned first-pass semantic labels such as quote-only, retrospective track record, crowdsourced watchlist, broad basket, active thesis, and post-event explainer.Evaluate public calls only when price data is available.
scripts/serenity_mvp.py evaluate --signals <signals.csv> --prices <price_dir> --out <dir>.<TICKER>.csv, with date and close.Build the research model report.
scripts/serenity_mvp.py report --signals <signals.csv> --out <dir>.references/serenity_axes.md when converting observations into a model.For a completed MVP run, produce:
signals.csv: one row per ticker-level public signal.theme_summary.csv: aggregated themes, evidence types, and conviction markers.manual_review_queue.csv: rows that need human review for quote context, no-ticker themes, disclaimers, or ambiguous rhetoric.quote_relationships.csv: rows where the signal depends on quoted text.manual_review_priority_top200_reviewed.csv or another *_reviewed.csv: semantic review labels with decision, weight, and reason.correction_log.md: documented cleaning rules and counts.serenity_model_report.md: concise report with profile, logic tree, evidence map, risk map, and reusable research checklist.signal_evaluation.csv: forward-return evaluation from price data.After the Serenity MVP works, use the same schema to compare another trader. Only create a generalized trader-skill generator after at least two trader-specific runs expose stable common fields and failure modes.
What SKILL.md sets; muted values are Claude Code's defaults
/serenity-research-model:serenity-research-modelfrom serenity-research-model
serenity-research-model@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin serenity-research-modelOther plugins' skills for the same job