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, four expert skills with 15 subskills, and comprehensive reference documentation.

Context MCP server

25 tools for market data, trading, and account management

4 expert skills

Trade, Research, Build, and Create instruction sets with 15 subskills

Reference files

SDK API reference, patterns, examples, and hook documentation

Install

claude plugin marketplace add contextwtf/context-skills
claude plugin install context-skills@context-markets
For local development:
git clone https://github.com/contextwtf/context-skills.git
cd context-skills
claude plugin install .

What’s included

MCP server

The plugin automatically configures the Context MCP server (via .mcp.json) with 25 tools. See the MCP server docs for the full tool catalog.

Skills

The plugin provides 4 skills with 15 subskills:
SkillCommandSubskills
Trade/context:tradeplace-order, market-maker, bulk-operations, manage-positions, diagnose-order
Research/context:researchmarket-scanner, mispricing-finder, portfolio-analysis, activity-monitor
Build/context:buildtrading-app, market-widget, portfolio-dashboard, account-setup-flow
Create/context:createnews-to-market, diagnose-resolution

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

Credentials are stored in ~/.config/context/config.env and shared across the CLI, MCP server, and plugin.
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
/context:create   — activate create skill for market creation and resolution

Plugin structure

PathPurpose
plugin.jsonPlugin manifest and metadata
.mcp.jsonMCP server configuration (configures context-markets-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
create/SKILL.mdCreate skill entry point
create/references/Market creation, resolution diagnostics docs