Build trader-specific research-model agent skills from public X/Twitter post datasets, exported timelines, saved threads, signal CSVs, and quote-aware review files. Use when an agent needs to reverse-engineer an X trader's investment logic, separate forward-looking thesis posts from quote-only or retrospective performance posts, generate clean signal datasets, derive a high-quality thesis template, or prepare a reusable trader-specific agent skill for platforms such as Claude Code, OpenClaw, Codex-style skill systems, or other local AI agent runtimes.
Ships in x-trader-builder. 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": "请提供交易员名称、X/Twitter 帖文导出或数据路径,并说明时间范围与期望产物",
"required": true
},
"fields": [
{
"key": "trader",
"label": "交易员名称",
"type": "text",
"placeholder": "公开账号名或研究模型名称",
"required": true
},
{
"key": "focus",
"label": "提炼重点",
"type": "text",
"placeholder": "如:前瞻信号、主题机制、催化剂、风险与跟踪指标"
}
],
"prompt_template": "{{#task}}任务与材料:\n{{task}}\n\n{{/task}}{{#attachments}}用户上传的材料(已放入工作区):\n{{attachments}}\n\n{{/attachments}}请把交易员 {{trader}} 的公开 X/Twitter 帖文历史加工为可复用研究模型{{#focus}},重点提炼 {{focus}}{{/focus}};区分本人观点、引用内容、前瞻论点与事后业绩,完成抽取、语义复核、数据集拆分、适用时的前瞻收益评估、论点模板和专属 Skill 素材,输出中文报告。"
}
Use this skill to turn a public trader post history into a reusable research model. It generalizes the Serenity MVP workflow: clean noisy public posts, label semantic intent, isolate forward-looking signals, extract high-quality thesis patterns, and prepare the ingredients for a trader-specific agent skill.
Initialize a real-data run folder.
scripts/x_trader_builder.py init-run --trader "<name>" --trader-slug <slug> --out real_runs.sources/ and outputs/ folders.Collect public data.
created_at, text, url, ticker, quoted_text, theme, evidence_types, supply_chain_role, engagement_score.collectors/stable_collectors.py and the guide references/data_collection_stable_zh.md.collectors/browser_scroll_cdp.mjs. Launch Edge/Chrome with a local CDP port, navigate logged-in X search/profile pages, and export visible posts into the same posts.csv contract. Treat this as a partial capture unless it is date-windowed and reviewed.Extract raw public signals when only post exports are available.
scripts/x_trader_builder.py extract --posts <posts.csv|json|jsonl|txt|md> --trader "<name>" --trader-slug <slug> --out <run>/outputs/raw_extract.signals.csv, no_ticker_theme_posts.csv, and extract_summary.md.Run semantic review.
scripts/x_trader_builder.py auto-review --signals <signals.csv> --out <dir>.keep, keep_deweighted, deweight, delete_from_this_signal, remove_from_forward_signal_keep_as_track_record_context, keep_as_explainer_deweight, or delete.Split the dataset.
scripts/x_trader_builder.py split --reviewed <signals_auto_reviewed.csv> --out <dir>.signals_forward_clean.csvsignals_high_quality_thesis.csvsignals_removed_or_context.csvsemantic_filter_summary.mdEvaluate forward returns when price data is applicable.
scripts/x_trader_builder.py download-prices --signals <signals_forward_clean.csv> --out <price_dir> --limit 40.scripts/x_trader_builder.py evaluate --signals <signals_forward_clean.csv> --prices <price_dir> --out <run>/outputs/forward_clean_eval.signals_high_quality_thesis.csv for high-quality thesis evaluation.Derive the trader thesis template.
scripts/x_trader_builder.py template --signals <signals_high_quality_thesis.csv> --trader "<name>" --out <dir>.Write the real-data MVP report.
scripts/x_trader_builder.py report --signals <signals_auto_reviewed.csv> --evaluation <signal_evaluation.csv> --trader "<name>" --out <dir>.Build or upgrade the trader-specific agent skill only after review quality is acceptable.
references/skill_output_contract.md for generated skill structure.Generated CSVs, source checkouts, and price files are not skill dependencies. Keep large run artifacts out of the skill folder and usually out of Git. Upload concise Markdown reports, schemas, and scripts; store large data separately if needed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/x-trader-builder:x-trader-builderfrom x-trader-builder
x-trader-builder@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin x-trader-builder