Agent skill

Database Query

by EXboys in EXboys/evotown

通过 Evotown Database MCP Proxy 对已注册的业务数据库执行只读 SQL 查询。当用户需要查 CRM、订单、报表等结构化数据时使用;禁止直连数据库或写入 SQL。

MITAuto-check passedSales & Support

Install Database Query

skills CLI
$ npx skills add EXboys/evotown --skill database-query -a claude-code

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

GitHub CLI
$ gh skill install EXboys/evotown database-query --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/EXboys/evotown.git skills-src && mkdir -p .claude/skills && cp -r skills-src/backend/arena_skills/database-query .claude/skills/database-query && 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
database-query
GitHub stars
646
Token cost
~425 tokens
SKILL.md length
54 words
Files
2 (incl. scripts)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

通过 Evotown Database MCP Proxy 对已注册的业务数据库执行只读 SQL 查询。当用户需要查 CRM、订单、报表等结构化数据时使用;禁止直连数据库或写入 SQL。

  • Works in 3 steps: 管理员在 Evotown 控制台注册数据库并配置 MCP 地址 → 当前员工 API Key 已被授权访问目标 connection_id → MCP Proxy 服务已启动(EVOTOWN_DB_MCP_URL,默认…
  • Tasks that involve SQL
  • SKILL.md covers 前置条件, 动作, 示例 and Runtime
  • Runs Python scripts from its folder; needs EVOTOWN_EMPLOYEE_API_KEY

What it does

Database Query is an agent skill from EXboys/evotown. 通过 Evotown Database MCP Proxy 对已注册的业务数据库执行只读 SQL 查询。当用户需要查 CRM、订单、报表等结构化数据时使用;禁止直连数据库或写入 SQL。

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/main.py`). Compatibility notes: Python 3.x,需网络访问 EVOTOWNDBMCPURL(默认 http://localhost:9100)

It sits in Sales & Support, covering SQL. It works with Model Context Protocol and SQL. The repository describes itself as: a middle platform for enterprise Agent runtime governance and capability assets — connect OpenClaw, Hermes, SkillLite, and custom runtimes in one place; accumulate Skills and…. The licence is MIT.

When your agent uses it

  • Tasks that involve SQL

Example prompts

  • “/database-query”

Requirements

  • Python 3
  • A credential in EVOTOWN_EMPLOYEE_API_KEY
  • Compatibility (from SKILL.md): Python 3.x,需网络访问 EVOTOWN_DB_MCP_URL(默认 http://localhost:9100)

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 管理员在 Evotown 控制台注册数据库并配置 MCP 地址
  2. 当前员工 API Key 已被授权访问目标 connection_id
  3. MCP Proxy 服务已启动(EVOTOWN_DB_MCP_URL,默认 http://localhost:9100)

What it can do on your machine

Read from SKILL.md and the folder at commit 6de6f28. 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

    Ships 1 file in scripts/ (Python), which the agent can run.

    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 these keys or tokens, usually read from environment variables:

    • EVOTOWN_EMPLOYEE_API_KEY

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

  • Compatibility

    Python 3.x,需网络访问 EVOTOWN_DB_MCP_URL(默认 http://localhost:9100)

    From compatibility in the SKILL.md frontmatter.

Context cost

Database Query loads about 425 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 54 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from EXboys/evotown at commit 6de6f28, republished under its MIT licence (© EXboys). 54 words, ~425 tokens.

Download SKILL.mdSave it as .claude/skills/database-query/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
database-query
description
通过 Evotown Database MCP Proxy 对已注册的业务数据库执行只读 SQL 查询。当用户需要查 CRM、订单、报表等结构化数据时使用;禁止直连数据库或写入 SQL。
compatibility
Python 3.x,需网络访问 EVOTOWN_DB_MCP_URL(默认 http://localhost:9100)
license
MIT
metadata.author
evotown
metadata.version
1.0

Database Query Skill

通过 Evotown Database MCP Proxy 查询企业已注册数据库。Skill 不持有连接串;权限由 Evotown ACL + Proxy 校验。

前置条件

  1. 管理员在 Evotown 控制台注册数据库并配置 MCP 地址
  2. 当前员工 API Key 已被授权访问目标 connection_id
  3. MCP Proxy 服务已启动(EVOTOWN_DB_MCP_URL,默认 http://localhost:9100)

动作

action说明
list_connections列出当前员工可访问的数据库
list_tables列出某库的表
query执行只读 SELECT(Proxy 自动加 LIMIT,拒绝 INSERT/UPDATE/DELETE)

示例

列出可访问数据库
json
{
  "action": "list_connections",
  "api_key": "evk_..."
}
查表
json
{
  "action": "list_tables",
  "connection_id": "crm-demo",
  "api_key": "evk_..."
}
只读查询
json
{
  "action": "query",
  "connection_id": "crm-demo",
  "sql": "SELECT id, name, amount FROM orders WHERE status = 'paid'",
  "api_key": "evk_..."
}

也可设置环境变量 EVOTOWN_EMPLOYEE_API_KEY,省略 api_key 字段。

Runtime

yaml
entry_point: scripts/main.py
language: python
network:
  enabled: true
  outbound:
    - "*:9100"
    - "*:8765"
input_schema:
  type: object
  properties:
    action:
      type: string
      enum: [list_connections, list_tables, query]
      default: query
    connection_id:
      type: string
      description: Evotown 注册的 connection_id
    sql:
      type: string
      description: 只读 SELECT / WITH / EXPLAIN 语句
    api_key:
      type: string
      description: 员工 evk_ API Key(可改用环境变量 EVOTOWN_EMPLOYEE_API_KEY)
  required: []

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

Files

SKILL.md and 1 other file (scripts) in backend/arena_skills/database-query of EXboys/evotown.

  • SKILL.md
  • scripts/main.py

Open the folder on GitHubat commit 6de6f28

Compare with similar skills

Database Query 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.

Database Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Database Query this skillEXboys/evotown646—~425Automated safety check: PassMIT
StarRocks SQL Doc Auto-FixStarRocks/starrocks12k—~7.6kAutomated safety check: NotesApache-2.0
Schema Explorationtimescale/pg-aiguide1.9k—~1.1kAutomated safety check: PassApache-2.0
Dv Querymicrosoft/Dataverse-skills2421 repos~4.5kAutomated safety check: NotesMIT
Greptimedb Perses DashboardGreptimeTeam/dashboard111—~3.9kAutomated safety check: PassApache-2.0
NpgsqlrestNpgsqlRest/NpgsqlRest132—~7kAutomated safety check: NotesMIT

Similar skills

  • StarRocks SQL Doc Auto-Fix

    StarRocks/starrocks

    Proposes verified fixes for failing SQL examples in StarRocks docs across three languages and several versions, then opens draft pull requests and never merges.

    12k GitHub stars~7.6k tokensUpdated today
    DatabasesAuto-check: notes
  • Schema Exploration

    timescale/pg-aiguide

    Explore an existing PostgreSQL database before answering questions about its data or writing SQL.

    1.9k GitHub stars~1.1k tokensUpdated today
    DatabasesAuto-check passed
  • Dv Query

    microsoft/Dataverse-skills

    Official

    Bulk reads, multi-page iteration, and analytics over Dataverse data.

    242 GitHub starsUsed in 1 repo~4.5k tokens
    DatabasesAuto-check: notes
  • Greptimedb Perses Dashboard

    GreptimeTeam/dashboard

    Generate Perses dashboards or single panels for GreptimeDB. An agent skill from GreptimeTeam/dashboard.

    111 GitHub stars~3.9k tokensUpdated 8 days ago
    DevOps & CloudAuto-check passed
  • Npgsqlrest

    NpgsqlRest/NpgsqlRest

    Build and modify REST APIs with NpgsqlRest — exposing PostgreSQL as HTTP endpoints from two sources (database functions/procedures/tables/views, and plain .sql files), driven by SQL comment…

    132 GitHub stars~7k tokensUpdated 5 days ago
    DatabasesAuto-check: notes
  • Modeler

    sidequery/sidemantic

    Build, validate, and manage semantic models using Sidemantic.

    129 GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed

More from EXboys/evotown

  • Evotown Handoff

    EXboys/evotown

    Queue a cross-agent or cross-team handoff through the Evotown control plane.

    646 GitHub stars~344 tokensUpdated 24 days ago
    Auto-check passed
  • Report Evotown dispatch job completion after the agent finishes real work.

    646 GitHub stars~209 tokensUpdated 24 days ago
    Auto-check passed

Questions about Database Query

What does Database Query do?

通过 Evotown Database MCP Proxy 对已注册的业务数据库执行只读 SQL 查询。当用户需要查 CRM、订单、报表等结构化数据时使用;禁止直连数据库或写入 SQL。. Database Query is an agent skill from EXboys/evotown.

When should I use Database Query?

Database Query fits situations like: tasks that involve SQL.

How do I install Database Query in Claude Code?

Run `npx skills add EXboys/evotown --skill database-query -a claude-code`. Or copy the skill folder (backend/arena_skills/database-query in EXboys/evotown) into .claude/skills/database-query in your project. Claude Code loads it when a task matches its description.

How do I install Database Query in Codex?

Run `npx skills add EXboys/evotown --skill database-query -a codex`. Or copy the skill folder (backend/arena_skills/database-query in EXboys/evotown) into .agents/skills/database-query in your project. Codex loads it when a task matches its description.

Can I use Database Query 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 EXboys/evotown --skill database-query -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/database-query, .gemini/skills/database-query, .github/skills/database-query and .opencode/skills/database-query in your project.

What does Database Query need to run?

Going by SKILL.md and its folder, Database Query needs Python for the scripts in its folder and credentials named EVOTOWN_EMPLOYEE_API_KEY. Our summary lists: Python 3; A credential in EVOTOWN_EMPLOYEE_API_KEY. Compatibility (from SKILL.md): Python 3.x,需网络访问 EVOTOWN_DB_MCP_URL(默认 http://localhost:9100).

Does Database Query 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 Database Query 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Database Query use?

Database Query is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Database Query use?

About 425 tokens (SKILL.md is roughly 1.7k 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 Database Query?

Skills that share tags, products or a category with Database Query: StarRocks SQL Doc Auto-Fix (StarRocks/starrocks, 12k stars), Schema Exploration (timescale/pg-aiguide, 1.9k stars), Dv Query (microsoft/Dataverse-skills, 242 stars) and Greptimedb Perses Dashboard (GreptimeTeam/dashboard, 111 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Database Query?

EXboys (a GitHub user) maintains it in EXboys/evotown, which has 646 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 14, 2026.

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