From antigravity-awesome-skills
Creates, manages, and automates LibreOffice Base databases in ODB format. Supports forms, reports, SQL queries, and connections to external databases via JDBC/ODBC.
How this skill is triggered — by the user, by Claude, or both
Slash command
/antigravity-awesome-skills:baseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
LibreOffice Base skill for creating, managing, and automating database workflows using the native ODB (OpenDocument Database) format.
LibreOffice Base skill for creating, managing, and automating database workflows using the native ODB (OpenDocument Database) format.
Use this skill when:
soffice --base
import uno
def create_database():
local_ctx = uno.getComponentContext()
resolver = local_ctx.ServiceManager.createInstanceWithContext(
"com.sun.star.bridge.UnoUrlResolver", local_ctx
)
ctx = resolver.resolve(
"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext"
)
smgr = ctx.ServiceManager
doc = smgr.createInstanceWithContext("com.sun.star.sdb.DatabaseDocument", ctx)
doc.storeToURL("file:///path/to/database.odb", ())
doc.close(True)
import uno
def connect_to_mysql(host, port, database, user, password):
local_ctx = uno.getComponentContext()
resolver = local_ctx.ServiceManager.createInstanceWithContext(
"com.sun.star.bridge.UnoUrlResolver", local_ctx
)
ctx = resolver.resolve(
"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext"
)
smgr = ctx.ServiceManager
doc = smgr.createInstanceWithContext("com.sun.star.sdb.DatabaseDocument", ctx)
datasource = doc.getDataSource()
datasource.URL = f"sdbc:mysql:jdbc:mysql://{host}:{port}/{database}"
datasource.Properties["UserName"] = user
datasource.Properties["Password"] = password
doc.storeToURL("file:///path/to/connected.odb", ())
return doc
# MySQL
sdbc:mysql:jdbc:mysql://localhost:3306/database
# PostgreSQL
sdbc:postgresql://localhost:5432/database
# SQLite
sdbc:sqlite:file:///path/to/database.db
# ODBC
sdbc:odbc:DSN_NAME
soffice --headless
soffice --base # Base
pip install pyodbc # ODBC connectivity
pip install sqlalchemy # SQL toolkit
killall soffice.bin
soffice --headless --accept="socket,host=localhost,port=8100;urp;"
npx claudepluginhub sickn33/antigravity-awesome-skills --plugin antigravity-bundle-aas-mobile-app-builderCreates, manages, and automates LibreOffice Base databases in ODB format with forms, reports, data operations, SQL queries, and connections to MySQL, PostgreSQL, SQLite via Python UNO or CLI.
Designs production-ready database schemas with tables, fields, indexes, ER diagrams, Markdown docs, SQL scripts, and DrawDB/DBML files for MySQL, PostgreSQL, SQL Server.
Designs complete database schemas with tables, fields, indexes, ER diagrams for MySQL, PostgreSQL, SQL Server. Generates Markdown docs, SQL scripts, DrawDB JSON/DBML files.