skills/dbxstudio/ai-tools/SKILL.md
Reference for all AI tools available in DBX Studio's AI chat system. Use when adding, modifying, or debugging AI tool definitions, tool execution, or provider integrations.
npx skillsauth add aiskillstore/marketplace ai-toolsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
apps/api/src/orpc/routers/ai/tools.ts
apps/api/src/orpc/routers/ai/toolExecutor.ts
| Tool Name | Purpose | Required Params |
|-----------|---------|-----------------|
| read_schema | Get all tables and structure from schema store | schema_name |
| get_table_data | Preview rows from a table (generates SELECT) | table_name |
| execute_query | Run a SELECT/WITH query | sql |
| generate_chart | Create chart config (bar/line/pie/scatter/area/histogram) | chart_type, title, data_query |
| describe_table | Get table metadata from schemaTables DB table | table_name |
| get_table_stats | Get statistics summary for a table | table_name |
| Service ID | Provider | File |
|------------|----------|------|
| 1 | AWS Bedrock | ai-stream.ts (streaming) + providersWithTools.ts |
| 2 | OpenAI | providersWithTools.ts → callOpenAIWithTools |
| 3 | Anthropic | providersWithTools.ts → callAnthropicWithTools |
| 4 | Qwen | index.ts |
| 5 | Ollama | index.ts |
| 6 | Gemini | index.ts |
| 7 | Groq | index.ts |
| 8 | DBX Agent | External → MAIN_SERVER_URL |
// Anthropic format
getAnthropicTools() → { name, description, input_schema }
// OpenAI format
getOpenAITools() → { type: 'function', function: { name, description, parameters } }
// Bedrock format (in ai-stream.ts)
{ toolSpec: { name, description, inputSchema: { json: input_schema } } }
AI_TOOLS array in tools.tstoolExecutor.ts → executeTool switchexecuteMyNewTool(input, context)getAnthropicTools() and getOpenAITools() will pick it up automaticallyai-stream.ts is also automaticMain streaming system prompt: apps/api/src/routes/ai-stream.ts around line 132–172
oRPC chat system prompt: apps/api/src/orpc/routers/ai/providersWithTools.ts — SYSTEM_PROMPT_WITH_TOOLS constant
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.