Skills Library · SQLcl · 3 entries · Nov 17, 2026

SQLcl: skills sync and the MCP server

SQLcl installs Oracle's skills with one command and ships its own MCP server. This is the walkthrough we ran, with a read-only user.

We make some of these. Entries marked harby.dev are ours and follow the same listing rules as the rest. Not affiliated with Oracle.

All skills

Before you install any skill

Skills and MCP servers run with your agent's permissions: they can read files, run commands and change data. Read the SKILL.md, the scripts and the MCP config before you install. Install from a pinned commit, not a branch. Use a development database and a read-only user. Never connect them to production.

About the install commands

Most commands use the open-source skills CLI (npx skills), pinned to a version and a commit. It sends anonymous usage data by default; set DO_NOT_TRACK=1 first to turn that off. Add -a with your agent's name to install for one agent only.

01

Walkthrough: skills sync and SQLcl MCP

Tested with SQLcl 26.3.1 on Oracle AI Database 26ai Free (23.26.1). Replace the user, password and service with your own development values.
  1. 01

    Create a read-only user

    Run this as an administrator on a development database. CREATE TABLE, CREATE SEQUENCE and the quota are only there so SQLcl can create its audit table; grant SELECT on the objects the agent may read.

    create user agent_ro identified by "<password>" default tablespace users quota 5m on users;
    grant create session, create table, create sequence to agent_ro;
    grant select on app.orders to agent_ro;
  2. 02

    Save the connection

    In SQLcl, save it under a name with its password. The MCP server only sees saved connections.

    conn -save agent_ro -savepwd agent_ro@//localhost:1521/FREEPDB1
  3. 03

    Install Oracle's skills

    skills sync clones oracle/skills and installs the chosen skills into every agent it detects, at user level, even with -home set. It installs the latest version unless you pass -version, so it is not pinned to a commit; use the npx command on the library card if you need a pin.

    skills sync -skill-name db,apex
  4. 04

    Add the MCP server to your agent

    -R 4 is SQLcl's most restricted mode: it turns off commands that touch the file system. We ran it this way: queries worked, while spool and host were refused (SP2-0738). Example for a project .mcp.json:

    {
      "mcpServers": {
        "sqlcl": { "command": "sql", "args": ["-mcp", "-R", "4"] }
      }
    }
  5. 05

    Check the audit trail

    After the agent has connected and run a query, the log is in the connected schema. Without CREATE SEQUENCE the table is never created and nothing tells you.

    select id, model, end_point_name, log_message from dbtools$mcp_log order by id;

02

SQLcl

  • oracle/skills

    Oracle's own skills. db is one routed skill with references for SQL, PL/SQL, SQLcl, ORDS, performance and security. apex holds APEXlang skills kept per APEX release, such as compile and deploy. SQLcl can also install them with skills sync.

    Caution: SQLcl's skills sync installs into every agent it finds on your machine, globally. Use the npx command to install into one project.

    License
    UPL-1.0
    Last push
    Nov 2, 2026
    Stars
    935 as of Nov 17, 2026
    Agents
    Claude Code, any Agent Skills client

    Install · pinned to 0779f03

    npx [email protected] add oracle/skills@0779f030fdee393ee418a3a76f6a4b09bf1408db --skill db --skill apex
  • OfficialTested by harby.dev on Nov 17, 2026Link only: no OSI license

    SQLcl MCP Server

    The MCP server built into SQLcl (sql -mcp). The agent connects through your saved connections, runs SQL, and every call is tagged with the model name.

    Caution: Its audit table, DBTOOLS$MCP_LOG, was not created for a user with CREATE TABLE alone; it appeared once we granted CREATE SEQUENCE. Until then nothing was logged and no error was shown.

    License
    Oracle Free Use Terms
    Agents
    Any MCP client
  • By harby.dev · $79

    Premium Skills Pack

    Nine skills that tell the agent what breaks in APEXlang, PL/SQL, Forms to APEX, Oracle AI Database, APEX AI, SQLcl and Liquibase, ORDS and Template Components, plus a safe Claude Code setup. Official skills tell it where things are; these tell it what breaks.

    License
    Commercial
    Agents
    Claude, Codex, Copilot, Cursor

03

By topic