Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/plugins/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "deriv",
"interface": {
"displayName": "deriv"
"displayName": "Deriv"
},
"plugins": [
{
Expand Down
8 changes: 4 additions & 4 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "deriv",
"owner": {
"name": "deriv",
"name": "Deriv",
"email": "api-support@deriv.com",
"url": "https://developers.deriv.com"
},
"description": "Deriv API plugin marketplace — live schema queries and task-based guides for the Deriv trading API.",
"description": "Live schemas and guides for the Deriv trading API.",
"plugins": [
{
"name": "deriv",
"source": "./",
"displayName": "deriv",
"displayName": "Deriv",
"homepage": "https://developers.deriv.com",
"description": "Get live Deriv API schemas plus guides for authentication, subscriptions, trades, and errors.",
"description": "Live Deriv API schemas, payload validation, and guides for authentication, subscriptions, trades, and errors.",
"category": "payments",
"tags": ["trading", "fintech", "api", "websocket"],
"logo": "https://raw.githubusercontent.com/deriv-com/deriv-api-plugin/master/assets/logo.png"
Expand Down
6 changes: 3 additions & 3 deletions .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "deriv",
"displayName": "deriv",
"displayName": "Deriv",
"version": "1.0.0",
"description": "Get live Deriv API schemas plus guides for authentication, subscriptions, trades, and errors.",
"author": { "name": "deriv", "email": "api-support@deriv.com" },
"description": "Live Deriv API schemas, payload validation, and guides for authentication, subscriptions, trades, and errors.",
"author": { "name": "Deriv", "email": "api-support@deriv.com" },
"homepage": "https://developers.deriv.com",
"repository": "https://github.com/deriv-com/deriv-api-plugin",
"license": "MIT",
Expand Down
14 changes: 7 additions & 7 deletions .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "deriv",
"version": "1.0.0",
"description": "Get live Deriv API schemas plus guides for authentication, subscriptions, trades, and errors.",
"description": "Live Deriv API schemas, payload validation, and guides for authentication, subscriptions, trades, and errors.",
"author": {
"name": "deriv",
"email": "api-support@deriv.com",
Expand All @@ -23,9 +23,9 @@
"mcpServers": "./.mcp.json",
"skills": "./skills/",
"interface": {
"displayName": "deriv",
"shortDescription": "Get live Deriv API schemas",
"longDescription": "Get live Deriv API schemas plus guides for authentication, subscriptions, trades, and errors. Search endpoints, read current request and response fields, take worked examples, and validate payloads. The plugin does not sign in to a Deriv account, store keys, or place trades.",
"displayName": "Deriv",
"shortDescription": "Deriv API schemas and guides",
"longDescription": "Live Deriv API schemas, payload validation, and guides for authentication, subscriptions, trades, and errors. Search endpoints, read current request and response fields, use worked examples, and validate payloads. This plugin doesn't sign in to a Deriv account, store keys, or place trades.",
"developerName": "deriv",
"category": "Developer Tools",
"capabilities": ["Read"],
Expand All @@ -35,9 +35,9 @@
"supportURL": "https://github.com/deriv-com/deriv-api-plugin/issues",
"brandColor": "#FF444F",
"defaultPrompt": [
"Look up the live request and response schema for a Deriv API endpoint",
"Validate this Deriv API request payload against the live schema",
"Explain Deriv API authentication, subscriptions, and error handling"
"Look up the live schema for a Deriv API endpoint",
"Validate a Deriv API request payload against the live schema",
"Set up Deriv API authentication, subscriptions, and error handling"
],
"composerIcon": "./assets/logo.png",
"logo": "./assets/logo.png",
Expand Down
6 changes: 3 additions & 3 deletions .cursor-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "deriv",
"owner": {
"name": "deriv",
"name": "Deriv",
"email": "api-support@deriv.com"
},
"metadata": {
"description": "Deriv API plugin marketplace — live schema queries and task-based guides for the Deriv trading API."
"description": "Live schemas and guides for the Deriv trading API."
},
"plugins": [
{
"name": "deriv",
"source": "./",
"description": "Get live Deriv API schemas plus guides for authentication, subscriptions, trades, and errors."
"description": "Live Deriv API schemas, payload validation, and guides for authentication, subscriptions, trades, and errors."
}
]
}
6 changes: 3 additions & 3 deletions .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "deriv",
"displayName": "deriv",
"displayName": "Deriv",
"version": "1.0.0",
"description": "Get live Deriv API schemas plus guides for authentication, subscriptions, trades, and errors.",
"author": { "name": "deriv", "email": "api-support@deriv.com" },
"description": "Live Deriv API schemas, payload validation, and guides for authentication, subscriptions, trades, and errors.",
"author": { "name": "Deriv", "email": "api-support@deriv.com" },
"homepage": "https://developers.deriv.com",
"repository": "https://github.com/deriv-com/deriv-api-plugin",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "deriv",
"description": "Get live Deriv API schemas plus guides for authentication, subscriptions, trades, and errors.",
"description": "Live Deriv API schemas, payload validation, and guides for authentication, subscriptions, trades, and errors.",
"version": "1.0.0",
"author": { "name": "deriv", "email": "api-support@deriv.com" },
"author": { "name": "Deriv", "email": "api-support@deriv.com" },
"homepage": "https://developers.deriv.com",
"repository": "https://github.com/deriv-com/deriv-api-plugin",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion skills/deriv-auth/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: deriv-auth
description: Implement or repair New Deriv API authentication, including OAuth 2.0 Authorization Code with PKCE, PAT handling, callback and session security, account selection, and OTP-authenticated Options WebSocket connections. Use whenever a task involves Deriv login, sign-up, tokens, scopes, sessions, accounts, account switching, logout, reconnects, or obtaining a trading WebSocket — even if the user just says "users can't log in", "hook up Deriv OAuth", "get an authenticated socket", or "reconnecting loses the session". Not for Legacy API compatibility.
description: Add or fix New Deriv API authentication OAuth, tokens, accounts, and trading WebSocket sessions. Use whenever a task involves Deriv login, sign-up, OAuth with PKCE, personal access tokens, OTP, tokens, scopes, sessions, accounts, account switching, logout, reconnects, or obtaining a trading WebSocket — even if the user just says "users can't log in", "hook up Deriv OAuth", "get an authenticated socket", or "reconnecting loses the session". Not for Legacy API compatibility.
---

## Hosted MCP first, then bundled references
Expand Down
2 changes: 1 addition & 1 deletion skills/deriv-auth/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
interface:
display_name: "Trading Authentication"
display_name: "Trading authentication"
short_description: "Add secure authentication to trading apps"
default_prompt: "Use $deriv-auth to add OAuth, account selection, and an authenticated trading socket."
dependencies:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this PR normalizes the MCP dependency description in market-data, trade-lifecycle, and trade-types to "Live Deriv API guides, schemas, examples, and payload validation" (matching trading-app), but this file's is still "Live Deriv authentication guides and endpoint schemas" (line 9, outside the diff). If one shared string is the goal, this is the one that got missed.

Expand Down
2 changes: 1 addition & 1 deletion skills/deriv-llms/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: deriv-llms
description: Snapshot of the Deriv API llms.txt index and endpoint pages for when hosted MCP tools are unavailable. Use when looking up Deriv API endpoints, authentication, errors, workflows, contract types, or field lists from the bundled docs; when the hosted MCP is down; or when the user asks for llms.txt / endpoint pages. Prefer hosted get_schema, get_field, and guide tools while they work. Do not invent fields.
description: Bundled Deriv API docs snapshot for when hosted MCP tools are unavailable. Use when looking up Deriv API endpoints, authentication, errors, workflows, contract types, or field lists from the bundled docs; when the hosted MCP is down; or when the user asks for llms.txt / endpoint pages. Prefer hosted get_schema, get_field, and guide tools while they work. Do not invent fields.
---

## Hosted MCP first, then bundled references
Expand Down
2 changes: 1 addition & 1 deletion skills/deriv-market-data/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: deriv-market-data
description: Implement New Deriv API Options market and contract discovery plus price streams with active symbols, contracts for a symbol, contract listings, ticks, and tick history. Use whenever a task involves market or symbol selectors, deciding which trade types a symbol supports, deriving trade controls from contract metadata, live tick or price subscriptions, charts, or public read-only feeds — even if the user just says "show live prices", "list the volatility indices", or "why is this duration rejected". Not for order execution or Legacy API compatibility.
description: Add New Deriv API market discovery and live prices — active symbols, contracts for a symbol, ticks, and tick history. Use whenever a task involves market or symbol selectors, deciding which trade types a symbol supports, deriving trade controls from contract metadata, live tick or price subscriptions, charts, or public read-only feeds — even if the user just says "show live prices", "list the volatility indices", or "why is this duration rejected". Not for order execution or Legacy API compatibility.
---

## Hosted MCP first, then bundled references
Expand Down
4 changes: 2 additions & 2 deletions skills/deriv-market-data/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
interface:
display_name: "Trading Market Data"
display_name: "Trading market data"
short_description: "Build market discovery and live price streams"
default_prompt: "Use $deriv-market-data to add symbol discovery, contracts, and live tick data."
dependencies:
tools:
- type: "mcp"
value: "deriv"
description: "Live Deriv market-data schemas, examples, and validation"
description: "Live Deriv API guides, schemas, examples, and payload validation"
transport: "streamable_http"
url: "https://mcp-api-v2.deriv.com/mcp"
2 changes: 1 addition & 1 deletion skills/deriv-trade-lifecycle/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: deriv-trade-lifecycle
description: Implement and test the New Deriv API Options lifecycle from streaming proposal through buy, open-contract monitoring, portfolio reconciliation, optional update, cancellation or sell, settlement, reconnect, and subscription cleanup. Use whenever a task prices or purchases a contract, tracks open or closed positions, sells early, sets take profit, handles buy or sell errors, or recovers mid-trade from a disconnect — even if the user just says "the buy button fails", "show my open trades", or "sell at market". Not for Legacy API compatibility or OAuth setup alone.
description: Implement the New Deriv API Options flow: price, buy, monitor, sell, and settle. Use whenever a task prices or purchases a contract, tracks open or closed positions, reconciles a portfolio, sells early, cancels a contract, sets take profit, handles buy or sell errors, recovers mid-trade from a disconnect, or cleans up subscriptions — even if the user just says "the buy button fails", "show my open trades", or "sell at market". Not for Legacy API compatibility or OAuth setup alone.
---

## Hosted MCP first, then bundled references
Expand Down
8 changes: 4 additions & 4 deletions skills/deriv-trade-lifecycle/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
interface:
display_name: "Trading Lifecycle"
short_description: "Implement proposal, execution, and positions"
default_prompt: "Use $deriv-trade-lifecycle to add proposal, buy, monitor, and sell flows."
display_name: "Trading lifecycle"
short_description: "Price, buy, monitor, and sell trades"
default_prompt: "Use $deriv-trade-lifecycle to add pricing, buy, monitor, and sell flows."
dependencies:
tools:
- type: "mcp"
value: "deriv"
description: "Live Deriv trading schemas, examples, and payload validation"
description: "Live Deriv API guides, schemas, examples, and payload validation"
transport: "streamable_http"
url: "https://mcp-api-v2.deriv.com/mcp"
2 changes: 1 addition & 1 deletion skills/deriv-trade-types/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: deriv-trade-types
description: Translate user-facing trade names into New Deriv API Options contract families, proposal shapes, compatible controls, and live availability. Use whenever a task selects, adds, or configures a Deriv Options trade type — Accumulators, Rise/Fall, Higher/Lower, Matches/Differs, Even/Odd, Over/Under, Multipliers, Touch/No Touch, Stays In/Goes Out, Vanilla, Turbos, Asians, Reset, or tick high/low — even if the user just says "up/down", "digits", "binary call/put", or "add accumulators to my bot" without naming contract codes. Not for Legacy API compatibility or CFD execution.
description: Map trade names to New Deriv API Options contract families, proposal shapes, and live availability. Use whenever a task selects, adds, or configures a Deriv Options trade type — Accumulator options, Rise/Fall, Higher/Lower, Matches/Differs, Even/Odd, Over/Under, Multipliers, Touch/No Touch, Stays Between / Goes Outside, Vanilla options, Turbo options, Asian options, Reset Call / Reset Put, or High/Low Ticks — even if the user just says "up/down", "digits", "binary call/put", or "add accumulators to my bot" without naming contract codes. Not for Legacy API compatibility or CFD execution.
---

## Hosted MCP first, then bundled references
Expand Down
6 changes: 3 additions & 3 deletions skills/deriv-trade-types/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
interface:
display_name: "Trading Contract Types"
display_name: "Trading contract types"
short_description: "Configure options contract families and controls"
default_prompt: "Use $deriv-trade-types to add Accumulators and Rise/Fall trade choices."
default_prompt: "Use $deriv-trade-types to add Accumulator options and Rise/Fall."
dependencies:
tools:
- type: "mcp"
value: "deriv"
description: "Live Deriv contract schemas, examples, and payload validation"
description: "Live Deriv API guides, schemas, examples, and payload validation"
transport: "streamable_http"
url: "https://mcp-api-v2.deriv.com/mcp"
2 changes: 1 addition & 1 deletion skills/deriv-trading-app/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: deriv-trading-app
description: Build or extend an authenticated trading application backed by the New Deriv API Options platform by composing authentication, market discovery, trade families, and the proposal-to-position lifecycle. Use whenever a task involves creating or extending a Deriv-powered trading product in any form — an app, template, terminal, bot, or trade screen; adding or combining trade types in one product; or wiring login, live prices, and purchase together — even if the user just says "build me a trading app", "add trading to my site", or names trade families like Accumulators and Rise/Fall together. Not for Legacy API compatibility or general explanations of financial derivatives.
description: Build or extend an authenticated trading application on the New Deriv API Options platform. Use whenever a task involves creating or extending a Deriv-powered trading product in any form — an app, template, terminal, bot, or trade screen; adding or combining trade types in one product; or wiring login, live prices, and purchase together — even if the user just says "build me a trading app", "add trading to my site", or names trade families like Accumulator options and Rise/Fall together. Not for Legacy API compatibility or general explanations of financial derivatives.
---

## Hosted MCP first, then bundled references
Expand Down
6 changes: 3 additions & 3 deletions skills/deriv-trading-app/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
interface:
display_name: "Trading Application"
short_description: "Compose authenticated trading applications"
default_prompt: "Use $deriv-trading-app to build an authenticated app with Accumulators and Rise/Fall."
display_name: "Trading application"
short_description: "Build authenticated trading applications"
default_prompt: "Use $deriv-trading-app to build an authenticated app with Accumulator options and Rise/Fall."
dependencies:
tools:
- type: "mcp"
Expand Down
Loading