oracledb

使用这些技能管理和监控 Oracle 数据库,包括执行 SQL 语句、探索模式元数据、分析查询性能、监控活动会话和资源消耗,以及管理存储和对象健康状况。

仓库最近推送
GitHub Stars
212
Forks
664
Issues / PRs
21

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "oracledb":https://skillpi.com/zh/skills/deepskill-95362a9f0d8f26158d0cd10e818bfcdcd2783191aa77d5861833ac0ec11b51fb。安装前核对上游来源和版本:https://github.com/Kilo-Org/kilo-marketplace。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用这些技能管理和监控 Oracle 数据库,包括执行 SQL 语句、探索模式元数据、分析查询性能、监控活动会话和资源消耗,以及管理存储和对象健康状况。

0 下载

介绍来源: third_party · Kilo-Org · 0.0.1 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: oracledb
description: >-
  Use these skills to manage and monitor Oracle databases by executing SQL
  statements, exploring schema metadata, analyzing query performance, monitoring
  active sessions and resource consumption, and managing storage and object
  health.
metadata:
  category: data
  source:
    repository: 'https://github.com/gemini-cli-extensions/oracledb'
    path: skills/oracledb
    license_path: LICENSE
    commit: d5a26255c6f2ffb32b5920735512629014622693

Usage

All scripts can be executed using Node.js. Replace <param_name> and <param_value> with actual values.

Bash: node <skill_dir>/scripts/<script_name>.js '{"<param_name>": "<param_value>"}'

PowerShell: node <skill_dir>/scripts/<script_name>.js '{\"<param_name>\": \"<param_value>\"}'

Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence.

Scripts

execute_sql

Executes one read-only SELECT or WITH query by default. The wrapper rejects multiple statements, DDL, DML, transaction control, PL/SQL, CALL, COPY, DO, SELECT INTO, and row-locking queries before starting the database tool.

Parameters

Name Type Description Required Default
sql string One read-only SQL query to execute. Yes

A non-read statement requires both explicit CLI acknowledgements and should be used only after the user confirms the exact SQL:

node <skill_dir>/scripts/execute_sql.js \
  --dangerous --confirm-dangerous-sql=EXECUTE \
  '{"sql":"<confirmed non-read SQL>"}'

get_query_plan

Generate a full execution plan for one SELECT or WITH query using EXPLAIN PLAN. The wrapper applies the same read-only statement validation and the same two-flag dangerous override as execute_sql before invoking the tool.

Parameters

Name Type Description Required Default
query string The SQL statement for which you want to generate plan (omit the EXPLAIN keyword). Yes

list_active_sessions

List the top N (default 50) currently running database sessions (STATUS='ACTIVE'), showing SID, OS User, Program, and the current SQL statement text.


list_invalid_objects

Lists all database objects that are in an invalid state, requiring recompilation (e.g., procedures, functions, views).


list_tables

Lists all user tables in the connected schema, including segment size, row count, and last analyzed date. Filters by a comma-separated list of names. If names are omitted, lists all tables in the current user's schema.


list_tablespace_usage

List tablespace names, total size, free space, and used percentage to monitor storage utilization.


list_top_sql_by_resource

List the top N (default 5) SQL statements from the library cache based on a chosen resource metric (CPU, I/O, or Elapsed Time). Shows SQL ID, execution count, buffer gets, disk reads, CPU time, and elapsed time.


版本历史

  1. skills-20261103210927-6c1b454 GitHub ↗
    原版更新说明

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    原版更新说明

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    原版更新说明

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    原版更新说明

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    原版更新说明

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 提供完整的 Oracle 数据库运维能力,覆盖 SQL 执行、性能分析、会话监控、存储管理等核心场景
  • 解决 DBA 日常高频刚需任务,显著提升数据库管理效率
触发精准95/100

亮点

  • description 完整覆盖六大核心功能,触发词边界清晰
  • 功能描述专业准确,不易与其他数据库工具混淆
结构规范90/100

亮点

  • Usage 章节提供清晰的执行说明和跨平台命令示例
  • 各脚本独立文档完整,参数表规范,危险操作有明确确认机制
执行可靠90/100

亮点

  • GitHub 官方仓库来源可靠,commit hash 确保版本一致性
  • 危险 SQL 执行需双重确认,有效防止误操作风险
  • 自动加载环境变量,降低用户配置复杂度
证据可验 (前四项均值)93/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。