context-create

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Create Skill

创建Skill

Design and submit prediction markets with precise questions, unambiguous resolution criteria, and appropriate evidence sources.
设计并提交预测市场,需包含精准的问题、清晰明确的判定标准以及合适的证据来源。

Prerequisites

前提条件

  • Context MCP server running (
    npx context-markets-mcp
    )
  • CONTEXT_API_KEY — required for all submission methods
  • CONTEXT_PRIVATE_KEY — required for on-chain market creation
  • Context MCP server 运行中(执行
    npx context-markets-mcp
    启动)
  • CONTEXT_API_KEY — 所有提交方式均需此密钥
  • CONTEXT_PRIVATE_KEY — 创建链上市场时需此密钥

Shared Foundations

通用基础说明

How Resolution Works

判定机制

Every market is resolved by an AI oracle that evaluates evidence strictly against your resolution criteria. The oracle cannot use outside knowledge — it can only use eligible evidence (social media posts, web sources) matched against your criteria. Your criteria are the oracle's only instructions.
每个市场由AI oracle进行判定,它会严格根据你设定的判定标准评估证据。该预言机无法使用外部知识——只能使用符合条件的证据(社交媒体帖子、网络来源)并与你的标准匹配。你的判定标准是预言机唯一的执行依据。

Evidence Modes

证据模式

  • social_only
    — oracle resolves based on X/Twitter posts from specified accounts. Use when the event will be announced or discussed on X.
  • web_enabled
    — oracle also searches authoritative web sources (official sites, news outlets). Use when the outcome depends on official data. Web evidence from authoritative sources overrides social media.
  • social_only
    — 预言机仅基于指定账号的X/Twitter帖子进行判定。适用于事件会在X平台上宣布或讨论的场景。
  • web_enabled
    — 预言机还会搜索权威网络来源(官方网站、新闻媒体)。适用于结果取决于官方数据的场景。权威网络来源的证据优先级高于社交媒体。

Claim Types

声明类型

TypePatternResolution
Event-by-deadline"Will X happen by Y?"Can resolve YES early. Monotonic.
Threshold"Will X reach N?"Can resolve YES early. Monotonic.
Period-gated"Will X be Y at end of Z?"Must wait until period ends.
Durational"Most/total over period"Must wait until period ends.
None/never"Will X not happen?"YES requires full window without event.
类型模式判定规则
截止期限事件"X是否会在Y前发生?"可提前判定为YES。结果具有单调性。
阈值型"X是否会达到N?"可提前判定为YES。结果具有单调性。
时段限定型"Z时段结束时X是否为Y?"必须等待时段结束后才能判定。
持续型"时段内大部分/全部符合"必须等待时段结束后才能判定。
无/永不型"X是否不会发生?"判定为YES需要整个窗口期内未发生该事件。

Market Types

市场类型

  • OBJECTIVE — verifiable real-world event (sports, elections, prices). Most markets.
  • SUBJECTIVE — depends on oracle judgment. Define judgment criteria clearly.
  • OBJECTIVE — 可验证的现实世界事件(体育赛事、选举、价格等)。是最常见的市场类型。
  • SUBJECTIVE — 取决于预言机的判断。需清晰定义判断标准。

Question Rules

问题规则

  • Start with "Will..."
  • Include a specific, measurable, binary outcome
  • Include a deadline or timeframe
  • Under 300 characters (aim for 150)
  • Create a
    shortQuestion
    under 200 characters
  • 以"Will..."开头
  • 包含具体、可衡量的二元结果
  • 包含截止日期或时间范围
  • 字符数不超过300个(建议控制在150个以内)
  • 创建一个
    shortQuestion
    ,字符数不超过200个

Submission Methods

提交方式

MCP (recommended for agents):
  • context_agent_submit_market
    — full control over question, criteria, sources, end time. Takes 30–90 seconds.
  • context_create_market
    — simple path. You provide a question, oracle generates everything.
SDK:
  • ctx.questions.agentSubmitAndWait({ market: { ... } })
    — full control, polls until complete
  • ctx.questions.submitAndWait("question")
    — simple path
CLI:
  • context questions agent-submit-and-wait --formatted-question "..." --resolution-criteria "..." ...
  • context questions submit-and-wait "Will...?"
MCP(推荐Agent使用):
  • context_agent_submit_market
    — 可完全控制问题、判定标准、来源、结束时间。耗时30–90秒。
  • context_create_market
    — 简易流程。你只需提供问题,预言机将自动生成其余所有内容。
SDK:
  • ctx.questions.agentSubmitAndWait({ market: { ... } })
    — 完全控制,轮询直到操作完成
  • ctx.questions.submitAndWait("question")
    — 简易流程
CLI:
  • context questions agent-submit-and-wait --formatted-question "..." --resolution-criteria "..." ...
  • context questions submit-and-wait "Will...?"

Available Workflows

可用工作流

WorkflowWhen to use
news-to-marketTurn a news headline into a well-formed market
diagnose-resolutionTroubleshoot rejected submissions or wrong resolutions
工作流使用场景
news-to-market将新闻标题转换为格式规范的预测市场
diagnose-resolution排查提交被拒或判定结果错误的问题

References

参考资料

  • Agent Submit API — Full endpoint schema, field reference, types
  • Resolution Criteria Guide — Writing criteria the oracle can resolve
  • Agent Submit API — 完整的端点架构、字段参考、类型定义
  • Resolution Criteria Guide — 编写可被预言机判定的标准指南