Agent skill

System Prompt

by Dbxstudio in Dbxstudio/dbx-studio

Edit or improve the AI system prompt used in DBX Studio's AI chat.

Apache-2.0Auto-check passedAI & LLM Engineering

Install System Prompt

skills CLI
$ npx skills add Dbxstudio/dbx-studio --skill system-prompt -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Dbxstudio/dbx-studio system-prompt --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Dbxstudio/dbx-studio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/system-prompt .claude/skills/system-prompt && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
system-prompt
GitHub stars
103
Used in
1 other repo
Token cost
~773 tokens
SKILL.md length
179 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Edit or improve the AI system prompt used in DBX Studio's AI chat.

  • Works in 2 steps: Streaming Prompt (main, used in… → oRPC Provider Prompt (used in…
  • Wants to change how the AI responds
  • SKILL.md covers Prompt Locations, Current Prompt Structure…, Prompt Design Rules for DBX… and When Editing the Prompt, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

System Prompt is an agent skill from Dbxstudio/dbx-studio. Edit or improve the AI system prompt used in DBX Studio's AI chat. Invoke when the user wants to change how the AI responds, its tone, tool usage order, or response format.

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Prompt engineering. It works with SQL. The repository describes itself as: Free Open-source AI SQL client that helps developers and data teams explore databases using natural language. The licence is Apache-2.0.

When your agent uses it

  • Wants to change how the AI responds
  • Tool usage order
  • Response format

Example prompts

  • “/system-prompt”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Streaming Prompt (main, used in production)
  2. oRPC Provider Prompt (used in callAnthropicWithTools, callOpenAIWithTools)

What it can do on your machine

Read from SKILL.md and the folder at commit 9592eb7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

System Prompt loads about 773 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 179 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~773

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Dbxstudio/dbx-studio at commit 9592eb7, republished under its Apache-2.0 licence (© Dbxstudio). 179 words, ~773 tokens.

Download SKILL.mdSave it as .claude/skills/system-prompt/SKILL.md (or your agent's skills folder).
name
system-prompt
description
Edit or improve the AI system prompt used in DBX Studio's AI chat. Invoke when the user wants to change how the AI responds, its tone, tool usage order, or response format.

System Prompt Editor — DBX Studio

Prompt Locations

There are two system prompts in this project:

1. Streaming Prompt (main, used in production)

File: apps/api/src/routes/ai-stream.ts Lines: ~132–172 (with schema) and ~176–202 (without schema) Variable: contextPrompt (built inline, not a constant)

2. oRPC Provider Prompt (used in callAnthropicWithTools, callOpenAIWithTools)

File: apps/api/src/orpc/routers/ai/providersWithTools.ts Variable: SYSTEM_PROMPT_WITH_TOOLS (top of file)

Current Prompt Structure (Streaming)

You are a SQL assistant...
## Tools Available    ← list 5 tools
## Response Style     ← 5 rules: be direct, show results, use tools, minimal explanation, SQL format
## Examples           ← 2-3 concrete input/output examples
## Context            ← dynamic schema from generateSQLPrompt()
Schema: "<schema>"
## User Query         ← the actual user message

Prompt Design Rules for DBX Studio

  1. Results first — answer the question before showing SQL
  2. Use tools always — never guess schema or data
  3. Be concise — this is a data tool, not a chatbot
  4. Show SQL only when asked — use ```sql blocks with uppercase keywords
  5. Format numbers clearly — "1,247 orders" not "1247"

When Editing the Prompt

  • Keep the ## Tools Available section in sync with actual tools in tools.ts
  • Keep ## Examples realistic to real user queries
  • The ${enhancedPrompt} injection must stay — it contains live schema context
  • Do not remove Schema: "${schema || 'public'}" line — it scopes queries
  • Both prompts (streaming + oRPC) should stay consistent in style

Current Prompt Structure (as of last update)

Both prompts now follow this unified structure:

You are DBX Studio's AI assistant — expert SQL analyst and data explorer.

## Tools Available (ordered by when to use)
1. read_schema / get_table_schema — FIRST, when schema is unknown
2. execute_query / execute_sql_query — run SELECT/WITH queries
3. get_table_data / select_data — preview or filter rows
4. get_table_stats — distributions and row counts
5. generate_chart / generate_bar_graph — visualization
6. describe_table / get_enums — column details, enum values

## Response Rules
1. Results first — answer before explaining
2. Always use tools — never guess schema or data
3. Tool order matters (schema → query → chart)
4. Show SQL only when asked — use ```sql with UPPERCASE
5. Format numbers clearly — **bold** key values
6. No filler words

## Chart Selection Guide
[line / bar / pie / scatter / histogram guidance]

## Query Safety
[SELECT/WITH only, always LIMIT, quote identifiers]

## Context / Schema (streaming only)
{enhancedPrompt}
Schema: "{schema}"

## User Query
{query}

© Dbxstudio, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/system-prompt of Dbxstudio/dbx-studio.

Open the folder on GitHubat commit 9592eb7

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in Dbxstudio/dbx-studio, which our catalogue first saw on October 7, 2026.

Compare with similar skills

System Prompt next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

System Prompt compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
System Prompt this skillDbxstudio/dbx-studio1031 repos~773Automated safety check: PassApache-2.0
NaturalNPC-Worldwide/npcpy1.5k—~161Automated safety check: PassMIT
Hugging Face Datasetssickn33/agentic-awesome-skills47k2 repos~1.1kAutomated safety check: PassMIT
Prompt Improverseverity1/claude-code-prompt-improver1.9k2 repos~1.7kAutomated safety check: PassMIT
Prompt Engineering Patternsynulihao/AgentSkillOS61715 repos~1.7kAutomated safety check: PassNone
Patch CreationPiebald-AI/tweakcc2.5k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Natural

    NPC-Worldwide/npcpy

    Render the provided prompt template with Jinja context and send it to the active NPC's LLM.

    1.5k GitHub stars~161 tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Hugging Face Datasets

    sickn33/agentic-awesome-skills

    Create and manage datasets on Hugging Face Hub. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~1.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Prompt Improver

    severity1/claude-code-prompt-improver

    This skill enriches vague prompts with targeted research and clarification before execution.

    1.9k GitHub starsUsed in 2 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Prompt Engineering Patterns

    ynulihao/AgentSkillOS

    Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production.

    617 GitHub starsUsed in 15 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Patch Creation

    Piebald-AI/tweakcc

    Create and register new patches for tweakcc. An agent skill from Piebald-AI/tweakcc.

    2.5k GitHub stars~1.6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • LLM Application Dev

    MoizIbnYousaf/ai-agent-skills

    Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.

    1.1k GitHub starsUsed in 2 repos~1.3k tokens
    AI & LLM EngineeringAuto-check passed

More from Dbxstudio/dbx-studio

  • AI Tools

    Dbxstudio/dbx-studio

    Reference for all AI tools available in DBX Studio's AI chat system.

    103 GitHub starsUsed in 2 repos~643 tokens
    Auto-check passed
  • Data Exploration Tool

    Dbxstudio/dbx-studio

    Systematic database and table profiling for DBX Studio. An agent skill from Dbxstudio/dbx-studio.

    103 GitHub starsUsed in 1 repo~460 tokens
    Auto-check passed
  • Data Visualization Tool

    Dbxstudio/dbx-studio

    Chart and visualization generation for DBX Studio. An agent skill from Dbxstudio/dbx-studio.

    103 GitHub starsUsed in 1 repo~553 tokens
    Auto-check passed
  • SQL Queries Tool

    Dbxstudio/dbx-studio

    Expert SQL query generation for DBX Studio. An agent skill from Dbxstudio/dbx-studio.

    103 GitHub starsUsed in 1 repo~577 tokens
    Auto-check passed

Works with

Questions about System Prompt

What does System Prompt do?

Edit or improve the AI system prompt used in DBX Studio's AI chat. System Prompt is an agent skill from Dbxstudio/dbx-studio. Edit or improve the AI system prompt used in DBX Studio's AI chat.

When should I use System Prompt?

System Prompt fits situations like: wants to change how the AI responds; tool usage order; response format.

How do I install System Prompt in Claude Code?

Run `npx skills add Dbxstudio/dbx-studio --skill system-prompt -a claude-code`. Or copy the skill folder (skills/system-prompt in Dbxstudio/dbx-studio) into .claude/skills/system-prompt in your project. Claude Code loads it when a task matches its description.

How do I install System Prompt in Codex?

Run `npx skills add Dbxstudio/dbx-studio --skill system-prompt -a codex`. Or copy the skill folder (skills/system-prompt in Dbxstudio/dbx-studio) into .agents/skills/system-prompt in your project. Codex loads it when a task matches its description.

Can I use System Prompt in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Dbxstudio/dbx-studio --skill system-prompt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/system-prompt, .gemini/skills/system-prompt, .github/skills/system-prompt and .opencode/skills/system-prompt in your project.

What does System Prompt need to run?

SKILL.md names no scripts, command-line tools or credentials: System Prompt is instructions for the agent only.

Does System Prompt access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is System Prompt safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does System Prompt use?

System Prompt is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does System Prompt use?

About 773 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to System Prompt?

Skills that share tags, products or a category with System Prompt: Natural (NPC-Worldwide/npcpy, 1.5k stars), Hugging Face Datasets (sickn33/agentic-awesome-skills, 47k stars), Prompt Improver (severity1/claude-code-prompt-improver, 1.9k stars) and Prompt Engineering Patterns (ynulihao/AgentSkillOS, 617 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains System Prompt?

Dbxstudio (a GitHub organization) maintains it in Dbxstudio/dbx-studio, which has 103 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on August 3, 2026.

Source: Dbxstudio/dbx-studio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.