From timebase
Use when generating, debugging, reviewing, repairing, or explaining TimeBase Python client code with dxapi or dxapi_ce, especially for pandas analysis, visualization-ready data prep, custom logic, data apps, and performance or reliability issues. Do not use this for pure MCP discovery or pure QQL tasks that can be solved without Python client code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/timebase:timebase-python-clientThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate TimeBase Python client solutions that are connection-aware, schema-aware, install-aware, and maintainable, from one-off scripts to reusable services and applications. Prefer MCP-grounded discovery when it is available, but keep moving with clearly labeled assumptions and bundled examples when it is not.
references/advanced-recipes.mdreferences/api-discovery.mdreferences/application-patterns.mdreferences/cursor-and-streams.mdreferences/debugging-and-performance.mdreferences/examples/basic-pandas-read.pyreferences/examples/latest-prices.pyreferences/examples/list-streams.pyreferences/examples/multiplexed-cursor.pyreferences/examples/multithread-read.pyreferences/examples/orderbook-analysis.pyreferences/examples/pandas-read-dicts.pyreferences/examples/pandas-roundtrip.pyreferences/examples/parameterized-query.pyreferences/examples/polymorphic-read.pyreferences/examples/read-stream.pyreferences/examples/read-universal-stream.pyreferences/examples/schema-introspection.pyreferences/examples/visualize-bars.pyreferences/examples/write-stream.pyGenerate TimeBase Python client solutions that are connection-aware, schema-aware, install-aware, and maintainable, from one-off scripts to reusable services and applications. Prefer MCP-grounded discovery when it is available, but keep moving with clearly labeled assumptions and bundled examples when it is not.
import dxapi as tb or import dxapi_ce as tb. Avoid runtime import switching unless the user explicitly asks for a compatibility shim.pandas_utils.read_frame(...) as a fast path, not a guarantee. If it fails with native NumPy array resize errors, treat NumPy >= 2.4 as the likely root cause rather than blaming the query first; switch to pandas_utils.read_frame_dicts(...) or a cursor-to-DataFrame fallback, or pin NumPy < 2.4 when the native path is required.python -m venv, uv venv, poetry, etc.) and install only into that environment.SelectionOptions.space or withSpaces(...), or writes should use LoadingOptions.space. Do not invent space names.TickDb and cursor resources predictably.with blocks when the API surface supports them; otherwise close resources in finally blocks.Use this order when MCP is available and the request depends on live server context:
get_server_configuration to learn connection state and likely edition.list_streams to find candidate streams.get_stream_schema for message types and fields.get_stream_time_range and get_stream_symbols to narrow the read plan.compile_query before execute_query, and keep executions narrow.If MCP is unavailable or fails, tell the user what is missing and continue with the nearest bundled example or assumption-labeled template.
Use this map to load only the needed local materials:
references/workflow-selection.md: choose between cursor iteration, pandas utilities, QQL plus Python, space-aware stream workflows, and visualization-ready pipelines.references/application-patterns.md: structure reusable apps, services, and components instead of emitting one monolithic script.references/installation-and-editions.md: decide when edition matters, install the right package, and verify what is actually installed.references/api-discovery.md: how to find exact API details safely.references/pandas-analysis.md: read_frame, read_frame_dicts, bind_frame, write_frame, filtering, field selection, DataFrame round trips, and space-aware write paths.references/cursor-and-streams.md: TickDb, TickCursor, TickStream, polymorphic reads, space-aware selection, historical vs live consumption, and resource patterns.references/advanced-recipes.md: parameterized queries, order book analysis, schema inspection, CSV export, and plotting-ready transforms.references/debugging-and-performance.md: installation, connection, auth, edition mismatch, memory pressure, and repair workflow.references/mcp-assisted-discovery.md: concrete MCP-first workflow and fallback behavior.references/examples/*: bundled script references to adapt only after routing has already established that Python is necessary. They are not default replacements for MCP discovery or QQL-plus-MCP answers.references/examples/list-streams.py: stream-listing script reference for explicit Python requests or MCP-unavailable fallback, not a default routing anchor for discovery.references/examples/read-stream.py: simple bounded-read script reference for explicit Python requests or as a base for richer cursor logic, not a default routing anchor when QQL plus MCP is sufficient.references/examples/write-stream.py: basic loader write pattern with self-contained stream creation.references/examples/basic-pandas-read.py: compact filtered DataFrame read.references/examples/pandas-read-dicts.py: Python-side DataFrame fallback when the native read_frame path is unstable.references/examples/latest-prices.py: reverse cursor snapshot pattern for latest prices by symbol.references/examples/pandas-roundtrip.py: DataFrame bind and write-back pattern.references/examples/parameterized-query.py: query parameter pattern.references/examples/polymorphic-read.py: multi-type cursor subscription pattern.references/examples/orderbook-analysis.py: advanced transformation and export pattern.references/examples/read-universal-stream.py: package-header and entry traversal for universal streams.references/examples/schema-introspection.py: schema and type inspection pattern.references/examples/multithread-read.py: one-database-per-worker cursor pattern.references/examples/visualize-bars.py: plotting-ready historical DataFrame pattern.references/examples/multiplexed-cursor.py: multiplexed cursor pattern when the installed client and server support it.Return Python first, then short notes on assumptions, validation scope, installation or edition caveats only when relevant, and any MCP or schema gaps. Keep explanations concise unless the user asks for a deeper walkthrough.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub epam/timebase-agent-plugins --plugin timebase