context-create
Original:🇺🇸 English
Translated
Create prediction markets from natural language on Context Markets
3installs
Added on
NPX Install
npx skill4agent add contextwtf/context-skills context-createTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Create 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
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.
Evidence Modes
- — oracle resolves based on X/Twitter posts from specified accounts. Use when the event will be announced or discussed on X.
social_only - — 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.
web_enabled
Claim Types
| Type | Pattern | Resolution |
|---|---|---|
| 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. |
Market Types
- OBJECTIVE — verifiable real-world event (sports, elections, prices). Most markets.
- SUBJECTIVE — depends on oracle judgment. Define judgment criteria clearly.
Question Rules
- Start with "Will..."
- Include a specific, measurable, binary outcome
- Include a deadline or timeframe
- Under 300 characters (aim for 150)
- Create a under 200 characters
shortQuestion
Submission Methods
MCP (recommended for agents):
- — full control over question, criteria, sources, end time. Takes 30–90 seconds.
context_agent_submit_market - — simple path. You provide a question, oracle generates everything.
context_create_market
SDK:
- — full control, polls until complete
ctx.questions.agentSubmitAndWait({ market: { ... } }) - — simple path
ctx.questions.submitAndWait("question")
CLI:
context questions agent-submit-and-wait --formatted-question "..." --resolution-criteria "..." ...context questions submit-and-wait "Will...?"
Available Workflows
| Workflow | When to use |
|---|---|
| news-to-market | Turn a news headline into a well-formed market |
| diagnose-resolution | Troubleshoot rejected submissions or wrong resolutions |
References
- Agent Submit API — Full endpoint schema, field reference, types
- Resolution Criteria Guide — Writing criteria the oracle can resolve