Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

plsql-package-analysisplsql 包分析

Agent Skill

plsql-package-analysis 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,805

周安装

278

GitHub Stars

公开资料未说明

下载量

2,180
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:plsql-package-analysis(plsql 包分析)
来源仓库:https://github.com/johnsrun/plsql-package-analysis
安装命令:
openclaw skills install plsql-package-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install plsql-package-analysis

简介

解析 Oracle SQL 包中的存储过程,提供命名检索与分析建议。

  • 适用于数据库维护、性能调优或遗留系统理解。
  • 可识别 SP 依赖关系与调用频率,辅助架构梳理。
  • 需连接目标数据库并授予包读取权限。plsql-package-analysis 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议在测试 schema 中验证分析结果准确性。

SKILL.md

name
sp-analysis
description
You are an expert in Oracle SQL. Search the SP (Stored Procedure) name from the chatbox in the SQL package and analyze. LLM base model temperature should be 0. Analyze the data flow of Oracle stored procedures (SPs) within a package, showing complete dependency chains from Upstream SP to downstream SP. And then show the target SP details. Ensure no steps are skipped, and all relevant SPs are included.
argument-hint
Input [SP Name] and attach [Package File]
version
1.0

Skill Instructions

Investigation Steps

  1. Locate the target stored procedure (SP) within the package attached.

1.1. Line-number accuracy first (mandatory): - Always derive line numbers from the actual workspace file content. - Do not estimate or infer line numbers from summarized/truncated attachments. - Before writing output, re-open the relevant line ranges and verify each referenced start/end line exactly matches the cited statement. - For any Invoking: line, the referenced range must include the exact call statement line (single-line range is preferred for a single-line call). - If a call statement is on line N, output [...:N](...#LN) (or [...:N-N](...#LN-LN)), never a different line. - If exact line verification is not possible, do not guess; re-scan until exact lines are confirmed.

  1. Identify all SPs that directly CALL the target SP.

- Treat these as UPSTREAM SPs. - For each upstream SP, extract: - SP name - Invoking command - Procedure Body range in package body - Tables READ - Include a clickable reference such as [JTA_Packages.sql:255-263](Demo_GC_Usage/03Development_Zone/Oracle_Package/JTA_Packages.sql#L255-L263) so VS Code can jump directly to the lines where the call occurs (use workspace-relative paths). - The 255-263 range must be the true line range in the current file version.

  1. Analyze the target SP body for Mechanism Analysis.

- Break down the SP body into logical sections (e.g., Preparation, Data Loading, Transformations, Output). - For each section, summarize the key operations and data flow. - Every bullet ends with a clickable reference such as [JTA_Packages.sql:255-263](Demo_GC_Usage/03Development_Zone/Oracle_Package/JTA_Packages.sql#L255-L263) that points to the relevant lines in the package (workspace-relative path).

  1. Within the target SP body, identify any SPs that the target SP CALLS.

- Treat these as DOWNSTREAM SPs. - Extract for each downstream SP: - SP name - Call Line - Procedure Body location/range - Tables READ - Add clickable references like [DOWNSTREAM(v1,v2)](Demo_GC_Usage/03Development_Zone/Oracle_Package/JTA_Packages.sql#L255-L263) for call lines and body locations (workspace-relative path), ensuring the call line is in the [] and matches the actual call statement line in the package body. - The reference range must map to the exact call statement in the package body.

  1. If Upstream SP or Downstream SP are null, double-check to avoid mistakes and use --None-- to indicate no Upstream SP or Downstream SP.

- When value is --None--, do not append line numbers or markdown links to that --None-- entry. - Do not add empty braces/objects such as {} for missing Upstream/Downstream items. - Examples:

    #### Upstream Procedures
    - None

    #### Downstream Procedures
    - None
  1. Assemble the results using markdown headings exactly in this style (match example header format): # #1 Dependency Analysis: *PROCEDURE_NAME()* in *PACKAGE_NAME*, #### Upstream Procedures, #### Downstream Procedures, # #2 Mechanism Analysis for *PROCEDURE_NAME()*.

- Use list/bullet formatting for procedures and details (no tree connectors). - Use None exactly for missing items in this section format.

  1. Append the Mechanism Analysis and Body Script. Output strictly follows the defined "Output Structure". The output example is provided in ./examples/examples_output.md. Use bold and italics for SP names.
  1. Final validation pass (mandatory):

- Validate every markdown link target and every displayed line range (file.sql:X-Y) against the file. - Ensure displayed range and URL fragment are identical (e.g., display 255-263 and link #L255-L263). - Validate each Invoking: link against the exact call line in package body (e.g., get_hours(...) at line 353 must link to #L353). - Ensure no reference points to package spec lines when the claim is about package body logic.

Output Structure

  • When analyzing a specific stored procedure, present the relationship using this integrated hierarchy format shown below. Ensure the output strictly adheres to this structure.

# #1 Dependency Analysis: *PROCEDURE_NAME()* in *PACKAGE_NAME*

#### Upstream Procedures 1. PROCEDURE_A - Call Line: jta.PROCEDURE_NAME(v_d_time); JTA_Packages.sql:255 - Procedure Body: JTA_Packages.sql:240-310 - Reads: TABLE_1, TABLE_2 2. PROCEDURE_B - Call Line: jta.PROCEDURE_NAME(v_ntc_time); JTA_Packages.sql:263 - Procedure Body: JTA_Packages.sql:500-560 - Reads: INTERMEDIATE_TABLE_1, TABLE_3

#### Downstream Procedures 1. PROCEDURE_C() - Call Line: PROCEDURE_C(v2) - Procedure Body: JTA_Packages.sql:301-340 - Reads: work_hours


# #2 Mechanism Analysis for *PROCEDURE_NAME()* ## 1.Preparation - Input Parameters: ... - Output Parameters:... ## 2.Load Data - Select a single row from .... - Initialize the Variables:.... ## 3.Transform and Logic Condition - 1).... - 2).... - 3).... ## 4.Final Output Returns fd to caller; no table writes occur, exceptions are logged through jta_error.gd.


# #3 Body Script of *PROCEDURE_NAME()*

    Create Procedure
  • Body Script is the DDL script of the target SP body.
  • In the headers and Internal Analysis contens, the SP name and the package name should be italics. Use markdown code style for the variables, parameters,functions,etc.

Best practices

  • ✓ Search for all callers of the target SP (not just one)
  • ✓ Include all procedures called within the target SP
  • ✓ Check for table reads in cursors, subqueries, and CTEs
  • ✓ Include system sources (e.g., SYSDATE, DUAL)
  • ✓ Search across multiple packages for public procedures
  • ✓ Ensure no upstream or downstream SPs are omitted
  • ✓ Avoid including any additional descriptions or commentary in the output

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.35%
按下载量换算1,948

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills