load CSV into new Oracle table via SQLcl MCP

Anthropic introduced Agent Skills a while ago, and I forgot to dive into that field of AI, until today. The concept is open source and not exclusive to Anthropic of Claude, you can see the details in What you will see below done in Claude Desktop.

But first, I want to thank my dear friend Kay for inspiring today’s post. I highly recommend you subscribe to his AI For You newsletter on LinkedIn. Kay ‘does this for real’, so when you hear her talk about things like agent memories, it comes from real world experience!

Wait, are skills just ‘fancy commands’?’

Sure, it looks like a prompt, or even a description of the MCP Tool. But in practice, they allow Agents to perform tasks consistently across sessions or commands or even Agents, and use fewer tokens!

SQLcl is an MCP Server; SQLcl has a LOAD command

What if I could enter the HELP text for the LOAD command into Claude’s Skill Creator tool, and have it become a skill for me?

I did just that, I gave it a name, and a general description. I asked him to look at the HELP text for the LOAD command, and use MCP’s SQLcl tool, ‘run-sqlcl’ to run the command, to get the information needed to understand the feature.

Claude then created a mock CSV file to experiment with his skills and tools, and tested it himself, until it was deemed ‘ready’.

I then ran it through several real scenarios, and had Claude update his skills each time, learning from each iteration. I’ll share my temporary Skills ‘resource’ below if you’re interested. More importantly, I’ll be working on publishing a ton of Skills in our public Github repo so you can leverage them to get the most out of our SQLcl commands.

Some example scenarios

Agents can use skills, as needed, as they do on MCP Servers and tools. I had it load my strava data into a table, and gave it a file to play. Just by using the Skill, he did the rest himself.

In short, he now knows to:

  • check the file
  • find date, define date format
  • find out whether SQLcl can do the column measurements itself or whether it needs to create a ddl table – depending on the number of rows in the file
  • configure various LOAD settings
  • results in executing the LOAD command
  • analyze the results, correct them if necessary
  • compare file sizes and table rows

And here is an example call of the run-sqlcl tool used to do all the work –

JSON

This is my Strava importhandled in just 2 SQLcl MCP tool calls, one to perform the load, and another to check the number of rows.

And my desk –

Here’s my Untappd importhandled in just 3 SQLcl MCP tool calls, one to create the table, one to perform the load, and one to check the number of rows.

This breaks it down in additional steps because there is more data than SQLcl can scan, and there are variations in the data that require columns to be specified explicitly vs letting SQLcl organize them based on the first X rows it reads.

And my desk –

And one more, here is my City of Cary Public Data Set for traffic congestion importhandled in just 4 SQLcl MCP tool calls, one to delete the existing table, one to create the table, one to perform a load, and one to check the number of rows.

And my desk –

My expertise

Price reduction

Berita Terkini

Berita Terbaru

Daftar Terbaru

News

Berita Terbaru

Flash News

RuangJP

Pemilu

Berita Terkini

Prediksi Bola

Togel Deposit Pulsa

Technology

Otomotif

Berita Terbaru

Daftar Judi Slot Online Terpercaya

Slot yang lagi gacor

Teknologi

Berita terkini

Berita Pemilu

Berita Teknologi

Hiburan

master Slote

Berita Terkini

Pendidikan

Resep

Jasa Backlink

One Piece Terbaru