Skip to main content

Claude Code plugin

Get everything you need to trade prediction markets in one install. The Context plugin bundles the MCP server, three expert skills, and comprehensive reference documentation.

Context MCP server

17 tools for market data, trading, and account management

3 expert skills

Trade, Research, and Build instruction sets

Reference files

SDK API reference, patterns, examples, and hook documentation

Install

claude plugin add contextwtf/context-plugin
For local development:
git clone https://github.com/contextwtf/context-plugin.git
claude --plugin-dir ./context-plugin

What’s included

MCP server

The plugin automatically starts the Context MCP server (@contextwtf/mcp) with 17 tools. See the MCP server docs for the full tool catalog.

Skills

SkillCommandDescription
Trade/context:tradeOrder placement, bulk operations, cancel-replace, orderbook strategies
Research/context:researchMarket discovery, oracle analysis, price history, simulations
Build/context:buildReact components, wallet integration, frontend patterns

Reference files

The plugin bundles these reference documents for agent context:
  • api-reference.md — Full SDK method signatures for all modules
  • patterns.md — Common workflows, error handling, and gotchas
  • examples.md — Copy-paste TypeScript scripts for common tasks
  • react-hooks.md — React SDK hook signatures and usage patterns

API key setup

export CONTEXT_API_KEY="your-api-key"
export CONTEXT_PRIVATE_KEY="0x..."  # for trading

Usage

Once installed, use natural language or slash commands:
"Find active markets about AI regulation"
"Place a $10 buy order on YES at 45 cents for market abc123"
"Show my portfolio and unrealized PnL"
"What does the oracle think about market xyz789?"
/context:trade    — activate trading skill for complex order management
/context:research — activate research skill for market analysis
/context:build    — activate build skill for React component development

Plugin structure

PathPurpose
plugin.jsonPlugin manifest and metadata
.mcp.jsonMCP server configuration (starts @contextwtf/mcp)
trade/SKILL.mdTrade skill entry point
trade/references/Order signing, bulk operations, order lifecycle docs
research/SKILL.mdResearch skill entry point
research/references/Market data, oracle, simulation docs
build/SKILL.mdBuild skill entry point
build/references/React hooks, provider setup, query patterns docs
The plugin is coming soon. In the meantime, you can use the MCP server directly and load skills manually.