Skip to content
TrustedSkillsbeta
Back to all skills

Data Sql Optimization

Listed
vasilyu1983·vlatest·database·MIT

Helps with data, optimization as part of working with databases and data persistence workflows.

Install on your platform

This skill no longer installs under the name data-sql-optimization. vasilyu1983/ai-agents-public is deleted or private, so it cannot be installed from.

We check each listing against its upstream repository with the rules the skills CLI uses, last on 2026-10-22. We don't show a command we know will fail.

Repository install instructions

What we know about this skill

Publisher

vasilyu1983

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • No undeclared network calls: failed

    Contacts 17 hosts that are neither well-known infrastructure nor declared in the skill's frontmatter: blogs.oracle.com, cheatsheetseries.owasp.org, cloud.google.com, dev.mysql.com, docs.oracle.com….

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

    Hosts contacted

    www.postgresql.orgundeclareddev.mysql.comundeclaredlearn.microsoft.comundeclareddocs.oracle.comundeclaredwww.sqlite.orgundeclaredwww.pgbouncer.orgundeclaredcloud.google.comundeclaredcheatsheetseries.owasp.orgundeclaredpgbadger.darold.netundeclareddocs.percona.comundeclarednode-postgres.comundeclareduse-the-index-luke.comundeclaredopenproceedings.orgundeclaredgithub.comsource hostblogs.oracle.comundeclaredwww.manning.comundeclaredpragprog.comundeclaredwww.oreilly.comundeclared

    What it found (3 of 39)

    • skills/universal/data-sql-optimization/data/sources.json:18contacts www.postgresql.org
      "url": "https://www.postgresql.org/docs/current/",
    • skills/universal/data-sql-optimization/data/sources.json:27contacts www.postgresql.org
      "url": "https://www.postgresql.org/docs/18/release-18.html",
    • skills/universal/data-sql-optimization/data/sources.json:83contacts www.postgresql.org
      "url": "https://www.postgresql.org/docs/current/using-explain.html",
  • Declares what it does: passed

    SKILL.md parses and declares a name and a description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • No pipe-to-shell installers: passed

    No pipe-to-shell or download-and-run installers.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

  • Pinned to a commit: passed

    Scanned vasilyu1983/ai-agents-public at 3ee3637d25.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
42 files, 10,803 lines
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill provides checklists, patterns, and templates for optimizing transactional (OLTP) SQL queries within databases. It focuses on a measurement-first approach to triage performance issues, interpreting query execution plans, creating balanced indexes, monitoring performance, managing schema changes, backups/recovery, high availability, and security. The skill supports PostgreSQL, MySQL, SQL Server, Oracle, and SQLite databases.

When to use it

  • Diagnose slow queries and identify missing indexes.
  • Identify performance bottlenecks in a production database environment.
  • Find unused or inefficient indexes.
  • Manage version-controlled database schema changes using tools like Flyway or Liquibase.
  • Implement point-in-time recovery and disaster recovery strategies.
  • Set up high availability and read scaling for databases.

Key capabilities

  • Query Performance Analysis (using EXPLAIN ANALYZE)
  • Finding Slow Queries (using pg_stat_statements or slow query logs)
  • Index Analysis (using pg_stat_user_indexes or SHOW INDEX)
  • Schema Migration (with Flyway/Liquibase)
  • Backup & Recovery (using pg_dump/mysqldump)
  • Replication Setup (Streaming/GTID)
  • Safe Tuning Loop (Measure -> Explain -> Change -> Verify)

Example prompts

  • "Can you help me analyze the execution plan for this SQL query?"
  • "How can I identify slow queries in my PostgreSQL database?"
  • "What's the best way to manage schema changes in MySQL using version control?"

Tips & gotchas

  • This skill is specifically designed for OLTP (transactional) databases. For OLAP/Analytics workloads, consider using the data-lake-platform skill instead.
  • Always follow a "Measure -> Explain -> Change -> Verify" approach to avoid regressions when tuning SQL queries.