ascend_pytorch_profiler_db_explorer

Convert natural-language profiling questions into executable SQL for Ascend PyTorch Profiler databases.

7|3|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/kali20gakki/mindstudio-skills --skill ascend-pytorch-profiler-db-explorer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascend_pytorch_profiler_db_explorer
Source: https://github.com/kali20gakki/mindstudio-skills/tree/main/ascend-profiler-db-explorer
Command: npx skills add https://github.com/kali20gakki/mindstudio-skills --skill ascend-pytorch-profiler-db-explorer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

面向 Ascend PyTorch Profiler / msprof DB 的 SQL 分析技能,将自然语言问题转化为安全可执行 SQL,并按需从官方文档提取表结构详情。

Core Features & Use Cases

  • 将自然语言问题转化为基于预置 CTE 宏和字典的 SQL 草案,快速形成可执行查询。
  • 支持查询算子耗时、通信耗时、下发分析、调度分析及表结构信息等 Profiling 场景,并可输出诊断结论。
  • 以 Track A 为主路径,遇到需要底层表结构或官方文档时切换到 Track B,自动返回 SQL 草案及文档参考。

Quick Start

Ask a profiling question and get a safe, executable SQL draft that can be run against the Ascend profiler DB.

Frequently Asked Questions about ascend_pytorch_profiler_db_explorer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert natural language questions into SQL for Ascend PyTorch Profiler DB analysis?

You can convert natural language questions into SQL for Ascend PyTorch Profiler DB analysis by transforming them into safe, executable SQL drafts using predefined CTE macros. This approach applies to querying operator duration, communication time, and dispatch analysis.

What schema details do I need to query msprof DB for operator duration and communication time?

To query msprof DB for operator duration and communication time, schema details are automatically retrieved from official documentation when deeper table structures are required. The system switches to a secondary track to provide exact table structures alongside the SQL draft.

Can I use natural language to generate safe SQL queries for Ascend profiling diagnostics?

Yes, you can use natural language to generate safe SQL queries for Ascend profiling diagnostics. The system translates your profiling questions into executable SQL drafts, returning actionable queries and optional schema references for diagnostic analysis.

What's the best way to analyze dispatch and scheduling data in the Ascend PyTorch Profiler DB?

The best way to analyze dispatch and scheduling data in the Ascend PyTorch Profiler DB is by translating your profiling questions into SQL using predefined CTE macros. This generates executable SQL drafts specifically targeting dispatch and scheduling analysis scenarios.

Does the Ascend PyTorch Profiler SQL generator work without manually looking up table structures?

The Ascend PyTorch Profiler SQL generator works without manual table structure lookups by using a primary path with predefined CTE dictionaries. It automatically switches to a secondary track to fetch official documentation when deeper structural details are needed.

Why does my generated SQL for msprof DB need schema references and how are they provided?

Your generated SQL for msprof DB needs schema references to ensure accurate column mapping and query execution. They are provided automatically as optional schema notes alongside the final SQL draft when the system extracts table structure details from official documentation.