# OneTick Skill OneTick publishes a `onetick-knowledge plugin` that bundles the OneTick-Cloud skill. This skill provides the necessary context - OneTick-specific platform knowledge such as trading conventions, common traps, and query patterns - together with a Python helper script that executes SQL against OneTick Cloud. Regardless of client, you’ll need two things first: * `uv` installed, to run the execution helper. * The OneTick execution credentials the helper script requires - separate from the MCP server’s own auth. By default the helper points at OneTick Cloud; point it at your own self-hosted OneTick server instead by exporting these environment variables in the shell the helper runs in, so it picks them up automatically: | Variable | Required | Purpose | |------------------------|--------------------------|--------------------------------------------------------------------------------| | `OTP_CLIENT_ID` | Yes | OAuth client ID for the helper’s execution credentials. | | `OTP_CLIENT_SECRET` | Yes | OAuth client secret paired with `OTP_CLIENT_ID`. | | `OTP_HTTP_ADDRESS` | Only for self-hosted | Your OneTick server’s REST gateway. Defaults to OneTick Cloud if unset. | | `OTP_ACCESS_TOKEN_URL` | Only if your IdP differs | Your identity provider’s token endpoint. Defaults to OneTick Cloud’s if unset. | See `OneTick WebAPI authentication` for more on these variables. The plugin can be installed on Claude Code or any client that supports the Agent Plugins v1 spec. It bundles its own `OneTick-Cloud` MCP server; how that bundled server interacts with an existing self-hosted registration depends on the client’s precedence rules. Follow the client-specific steps to install the plugin and, where necessary, select or disable the appropriate MCP server: * `Claude Code` * `Codex` * `Cursor` * `GitHub Copilot` * `Junie` ## Why use the skill The MCP server provides OneTick documentation, database and schema metadata, and bounded, purpose-built tools for common live-data lookups. The skill adds a general-purpose execution path: its Python helper runs SQL composed for the user’s question against OneTick Cloud and returns a bounded result. It also carries the platform conventions and known pitfalls that keep that SQL correct, so the assistant does not have to relearn them on every request, which would otherwise cost more time and tokens. ## Measured impact In OneTick’s own evaluation, adding the skill to the MCP server meaningfully raised both overall answer correctness and, especially, correctness on questions that require live data. Without the skill, the assistant is limited to the server’s predefined tools rather than being able to compose and execute arbitrary SQL for the question. The skill also lowered the token cost per correct answer: it spends somewhat more tokens per question, but that additional work is spent productively and results in more right answers overall. ## Model recommendations The skill’s own accuracy depends on the model running it. **Claude Sonnet or above is recommended** - it consistently follows the skill’s workflow and produces reliable, verified-correct answers. Smaller/cheaper models such as Claude Haiku are usable for quick, low-stakes schema or discovery lookups, but they’re noticeably weaker on anything requiring live query execution or nuanced platform knowledge, and shouldn’t be trusted without verification for results a user will act on directly. This guidance is based on evaluation run predominantly against Anthropic’s own models. If your client runs on a different provider’s model - for example Codex on an OpenAI model, or a third-party model - look for that provider’s equivalent of “Sonnet-tier or above”.