Agent skill

Rename SQL Table

by microbus-io in microbus-io/fabric

TRIGGER when user asks to rename the database table used by a SQL CRUD microservice.

Apache-2.0Auto-check passedBackend & APIs

Install Rename SQL Table

skills CLI
$ npx skills add microbus-io/fabric --skill rename-sql-table -a claude-code

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

GitHub CLI
$ gh skill install microbus-io/fabric rename-sql-table --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/microbus-io/fabric.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/sequel/rename-sql-table .claude/skills/rename-sql-table && 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
rename-sql-table
GitHub stars
172
Token cost
~538 tokens
SKILL.md length
178 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0

At a glance

TRIGGER when user asks to rename the database table used by a SQL CRUD microservice.

  • Works in 3 steps: Update Table Name Const → Update Database Schema → Housekeeping
  • User asks to rename the database table used by a SQL CRUD microservice
  • Calls go
  • Tasks that involve SQL

What it does

Rename SQL Table is an agent skill from microbus-io/fabric. TRIGGER when user asks to rename the database table used by a SQL CRUD microservice.

Its SKILL.md is about 540 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 Backend & APIs, covering SQL and Microservices. It works with SQL. The repository describes itself as: Microbus is the only fabric where every agentic workflow runs on a true microservice substrate - giving your workflows security, scale, observability, and prompt-driven authoring. The licence is Apache-2.0.

When your agent uses it

  • User asks to rename the database table used by a SQL CRUD microservice
  • Tasks that involve SQL
  • Tasks that involve Microservices

Example prompts

  • “/rename-sql-table”

Workflow steps

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

  1. Update Table Name Const
  2. Update Database Schema
  3. Housekeeping

What it can do on your machine

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

    Shell commands in SKILL.md call:

    • go

    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

Rename SQL Table loads about 538 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 178 words of instructions outside code blocks.

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

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 microbus-io/fabric at commit fb98098, republished under its Apache-2.0 licence (© microbus-io). 178 words, ~538 tokens.

Download SKILL.mdSave it as .claude/skills/rename-sql-table/SKILL.md (or your agent's skills folder).
name
rename-sql-table
description
TRIGGER when user asks to rename the database table used by a SQL CRUD microservice.

CRITICAL: Read and analyze this microservice before starting. Do NOT explore or analyze other microservices unless explicitly instructed to do so. The instructions in this skill are self-contained to this microservice.

IMPORTANT: old_table_name and new_table_name are placeholders for the actual old and new table names.

Workflow

Copy this checklist and track your progress:

Renaming the database table:
- [ ] Step 1: Update Table Name Const
- [ ] Step 2: Update Database Schema
- [ ] Step 3: Housekeeping
Step 1: Update Table Name Const

Update the tableName const in service.go to the new table name. Do NOT change the sequenceName.

go
const (
	tableName        = "new_table_name"
	sequenceName     = "old_table_name@0f7ce540" // Do not change
	// ...
)
Step 2: Update Database Schema

Create a new migration script file in resources/sql with an incremental file name. IMPORTANT: Do not edit an existing migration file.

sql
-- DRIVER: mysql
RENAME TABLE old_table_name TO new_table_name;

-- DRIVER: pgx
ALTER TABLE old_table_name RENAME TO new_table_name;

-- DRIVER: mssql
EXEC sp_rename 'old_table_name', 'new_table_name';

Refer to the older .sql migration files to identify what if any indices were associated with the old table name. Append statements to the migration script to rename these indices, replacing the old table name with the new one.

sql
-- DRIVER: mysql
ALTER TABLE new_table_name RENAME INDEX old_table_name_idx_field TO new_table_name_idx_field;

-- DRIVER: pgx
ALTER INDEX old_table_name_idx_field RENAME TO new_table_name_idx_field;

-- DRIVER: mssql
EXEC sp_rename 'old_table_name_idx_field', 'new_table_name_idx_field', 'INDEX';
Step 3: Housekeeping

Follow the housekeeping skill. Renaming the SQL table changes only the hand-written service.go column mappings and resources/sql migrations, not definition.go, so the boilerplate regeneration is a no-op; the Version bump and go vet still apply.

© microbus-io, 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 .claude/skills/sequel/rename-sql-table of microbus-io/fabric.

Open the folder on GitHubat commit fb98098

Compare with similar skills

Rename SQL Table 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.

Rename SQL Table compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rename SQL Table this skillmicrobus-io/fabric172—~538Automated safety check: PassApache-2.0
Google BigqueryLeoYeAI/openclaw-master-skills2.2k—~4.1kAutomated safety check: PassMIT
Debug Using Debugbarhexlet-volunteers/hexlet-sicp1141 repos~1.5kAutomated safety check: PassAGPL-3.0
Databricksrocky-data/rocky304—~2kAutomated safety check: PassApache-2.0
Datajunction QueryDataJunction/dj161—~2kAutomated safety check: PassMIT
Aurora Dsqlaws/agent-toolkit-for-aws2.8k—~9.6kAutomated safety check: PassApache-2.0

Similar skills

  • Google Bigquery

    LeoYeAI/openclaw-master-skills

    Google BigQuery API integration with managed OAuth. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~4.1k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Debug Using Debugbar

    hexlet-volunteers/hexlet-sicp

    Inspect what a Laravel request actually did — queries, exceptions, timing, cache, auth, views — by reading the profiling data Laravel Debugbar already captured, via Artisan commands.

    114 GitHub starsUsed in 1 repo~1.5k tokens
    Backend & APIsAuto-check passed
  • Databricks

    rocky-data/rocky

    Databricks REST API and SQL reference for Rocky's warehouse adapter.

    304 GitHub stars~2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Datajunction Query

    DataJunction/dj

    Activate this skill for querying DataJunction (DJ) — finding nodes, generating SQL, fetching metric data, exploring lineage, visualizing results — via the DJ UI, MCP tools, or REST/GraphQL APIs.

    161 GitHub stars~2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Aurora Dsql

    aws/agent-toolkit-for-aws

    Official

    Provisions and manages Aurora DSQL clusters, connects via psql or DSQL Connectors, manages schemas, runs queries, migrates from MySQL, diagnoses query plans, and develops apps on serverless…

    2.8k GitHub stars~9.6k tokensUpdated today
    Backend & APIsAuto-check passed
  • Pp Jobber

    mvanhorn/printing-press-library

    Read-only Jobber CLI for offline analysis — every GraphQL surface synced to SQLite, every relationship queryable.

    2.1k GitHub stars~3k tokensUpdated today
    Backend & APIsAuto-check: notes

More from microbus-io/fabric

All 32 skills in this repo
  • Add Config

    microbus-io/fabric

    TRIGGER when user asks to add or modify a configuration property or setting, or to make a value configurable.

    172 GitHub stars~2.3k tokensUpdated 10 days ago
    Auto-check passed
  • Add Function

    microbus-io/fabric

    TRIGGER when user asks to add, create, or modify an API endpoint, function, or RPC, or a route that accepts typed arguments and returns typed results.

    172 GitHub stars~2.4k tokensUpdated 10 days ago
    Auto-check passed
  • Add Inbound Event

    microbus-io/fabric

    TRIGGER when user asks to listen for, subscribe to, or handle an event emitted by another microservice.

    172 GitHub stars~1.4k tokensUpdated 10 days ago
    Auto-check passed
  • Add Metric

    microbus-io/fabric

    TRIGGER when user asks to add or modify a metric, counter, gauge, or histogram, or to track/measure an operation.

    172 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed
  • Add Outbound Event

    microbus-io/fabric

    TRIGGER when user asks to fire, emit, or publish an event that other microservices can subscribe to.

    172 GitHub stars~1.7k tokensUpdated 10 days ago
    Auto-check passed
  • Add Python Function

    microbus-io/fabric

    TRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice.

    172 GitHub stars~1.3k tokensUpdated 10 days ago
    Auto-check passed

Works with

Questions about Rename SQL Table

What does Rename SQL Table do?

TRIGGER when user asks to rename the database table used by a SQL CRUD microservice. Rename SQL Table is an agent skill from microbus-io/fabric. TRIGGER when user asks to rename the database table used by a SQL CRUD microservice.

When should I use Rename SQL Table?

Rename SQL Table fits situations like: user asks to rename the database table used by a SQL CRUD microservice; tasks that involve SQL; tasks that involve Microservices.

How do I install Rename SQL Table in Claude Code?

Run `npx skills add microbus-io/fabric --skill rename-sql-table -a claude-code`. Or copy the skill folder (.claude/skills/sequel/rename-sql-table in microbus-io/fabric) into .claude/skills/rename-sql-table in your project. Claude Code loads it when a task matches its description.

How do I install Rename SQL Table in Codex?

Run `npx skills add microbus-io/fabric --skill rename-sql-table -a codex`. Or copy the skill folder (.claude/skills/sequel/rename-sql-table in microbus-io/fabric) into .agents/skills/rename-sql-table in your project. Codex loads it when a task matches its description.

Can I use Rename SQL Table 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 microbus-io/fabric --skill rename-sql-table -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rename-sql-table, .gemini/skills/rename-sql-table, .github/skills/rename-sql-table and .opencode/skills/rename-sql-table in your project.

What does Rename SQL Table need to run?

Going by SKILL.md and its folder, Rename SQL Table needs the command-line tools its instructions call (go).

Does Rename SQL Table 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 Rename SQL Table 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 Rename SQL Table use?

Rename SQL Table 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 Rename SQL Table use?

About 538 tokens (SKILL.md is roughly 2.2k 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 Rename SQL Table?

Skills that share tags, products or a category with Rename SQL Table: Google Bigquery (LeoYeAI/openclaw-master-skills, 2.2k stars), Debug Using Debugbar (hexlet-volunteers/hexlet-sicp, 114 stars), Databricks (rocky-data/rocky, 304 stars) and Datajunction Query (DataJunction/dj, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rename SQL Table?

microbus-io (a GitHub organization) maintains it in microbus-io/fabric, which has 172 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on September 28, 2026.

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