ascend-npu-analyze-round-performance
Use when an optimize round needs deep performance diagnosis from round-local profile and optional IR evidence, especially to explain scalar/vector/cube…
Skill by Piagari
Chalk Labs
Need help deploying ascend-npu-analyze-round-performance?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/piagari-ascend-npu-analyze-round-performance
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ascend-npu-analyze-round-performance
What's inside
- Skill name
ascend-npu-analyze-round-performance- Description
- Use when an optimize round needs deep performance diagnosis from round-local profile and optional IR evidence, especially to explain scalar/vector/cube imbalance, frequent data movement, weak pipeline overlap, or other signals that should be traced back to problems in the current operator implementation.
- License
- Apache-2.0
- Instructions
- 120 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/symptom_index.md, references/pattern_index.md
Files (4)
- SKILL.md
- ascend-npu-architecture-notes.md · references/
- ascend-npu-optimization-guidance.md · references/
- ascend-npu-profiling-analysis.md · references/
SKILL.md (first lines)
# Analyze Optimize Round Performance
Diagnose one `opt-round-N/` at a time and write the result to `opt-round-N/perf-analysis.md`.
This skill is for deep round analysis inside the corresponding `<Language>-npu-optimize` skill, not for supervisor audits and not for whole-session summaries.
This skill is the owner of `opt-round-N/perf-analysis.md` for round-level performance diagnosis inside the corresponding `<Language>-npu-optimize` skill.
In file paths below, `<Language>` is `triton` or `tilelang` depending on the kernel language of the current optimize session.
It supports both:
- `profile-only diagnosis`
- `profile-plus-IR diagnosis`
When IR attribution is needed, use the corresponding `<Language>-npu-analyze-ir` skill as the IR evidence companion for capture, navigation, and stage-level inspection. That does not transfer ownership of `opt-round-N/perf-analysis.md`.
Use two complementary analysis paths to find performance problems:
- profiling analysis to identify where time is going and which hardware-facing symptom dominates
- IR analysis to explain why that symptom appears in the current lowering and operator structure
Use profiler-first layered analysis. Start from profiler evidence, deepen into `.bin` when the CSV-level view is not enough, and use IR as explanation and attribution rather than as the default entrypoint.
When compiler source analysis is enabled by the launch prompt or workspace guidance, treat it as a later escalation after profile and IR analysis. Use the corresponding `<Language>-npu-analyze-compiler-source` skill only when this skill has narrowed the problem to a concrete performance-related compiler-side question that still needs source-backed explanation before the next operator change is clear.
Read [references/ascend-npu-profiling-analysis.md](references/ascend-npu-profiling-analysis.md) when the round needs deeper interpretation of `op_summary`, `task_time`, `api_statistic`, `msprof` JSON, or `.bin` signals.
Read [references/ascend-npu-optimization-guidance.md](references/ascend-npu-optimization-guidance.md) when you need help turning profiling symptoms and IR findings into concrete potential optimization points.
Read [references/ascend-npu-architecture-notes.md](references/ascend-npu-architecture-notes.md) when the likely optimization point depends on chip differences such as A3 versus A5 buffer sizes, layout behavior, or cube/vector data handoff.
Use the staged `<Language>-npu-optimize-knowledge` skill when structured profile or IR evidence is available and you need Triton/kernel-oriented symptom cards to narrow likely pattern directions before returning to detailed pattern references. Start from that skill's `references/symptom_index.md`.
When the optimize target is `operator` and the evidence points to Torch NPU or framework-op behavior, also use the staged `torch-npu-optimize-knowledge` skill and start from its `references/pattern_index.md` for operator-level pattern routing.
Read the references in this order:
1. profiling analysis, to understand the dominant profiler signals
2. optimization guidance, to turn those signals plus IR findings into potential optimization points
3. architecture notes, to adjust those optimization points for chip-specific constraints when needed
## Default workflow
1. Resolve the current round directory and round-local operator file.
2. Confirm the round has profile evidence.
- Prefer round-local evidence such as `opt-round-N/profile/`.
- If profile evidence is missing, collect it first through the `ascend-npu-profile-operator` skill.
3. Strongly consider spawning a subagent before the deep analysis phase.
- Use this when profile or IR artifacts are large, or when the round already has a long `attempts.md`.
- If context is still small enough, the current agent may continue directly.
4. Extract profile signals first.
- Prefer the `ascend-npu-run-eval` skill's `profile-report` helper in JSON mode. The standard argument shape is:
```text
profile-report --profile-dir <profile-dir> --format json
```
- Use this as the default structured entrypoint for profiling evidence.
5. Interpret profiling evidence through the profiling reference instead of ad hoc guesses.
- Follow [references/ascend-npu-profiling-analysis.md](references/ascend-npu-profiling-analysis.md) for layered signal interpretation.
- Escalate into `.bin` when CSV-level evidence is still not explanatory enough.
6. Use the staged `<Language>-npu-optimize-knowledge` skill's `references/symptom_index.md` and the matching symptom cards to narrow the current hypothesis.
- Start from that symptom index, then read only the one or two best-matching cards under the staged `<Language>-npu-optimize-knowledge` skill's `references/symptoms/` directory.
- When the optimize target is `operator` and the bottleneck looks Torch NPU or framework-op specific, also use the staged `torch-npu-optimize-knowledge` skill's `references/pattern_index.md` and the one or two best-matching cards under its `references/patterns/` directory.
- Use symptom cards as routing aids, not as a replacement for the underlying profile or IR evidence.
7. Decide whether profiler evidence is already sufficient on its own.
- If the layered profiler signals already explain the likely operator problem well enough, continue to diagnosis.
- If the profiler signals are suspicious but still not explanatory enough, capture or reuse IR under `opt-round-N/ir/`.
8. Extract IR performance signals as the second analysis path for explanation and attribution.
- Prefer the `ascend-npu-analyze-ir` skill's `inspect_ir.py` helper in `performance-signals` mode:
```text
inspect_ir.py performance-signals --ir-dir <ir-dir> --format json
```
- Use `list-stages`, `stage-summary`, `find-changes`, or direct file inspection when the heuristic summary points to a specific stage or lowering symptom.
9. Compare with parent or baseline evidence when it already exists and is useful.
- Do not block the round analysis if comparable evidence is missing.
- Record missing comparison inputs as an evidence gap rather than guessing.
10. Write `opt-round-N/perf-analysis.md`.
- Either `profile-only diagnosis` or `profile-plus-IR diagnosis` is acceptable, as long as the document makes the evidence path clear.
## Output contract
Write the analysis as a standalone document with these sections:
1. `# Round Performance Analysis`
2. `## Executive Summary`
3. `## Profile Signals`
4. `## Binary Signals`
5. `## IR Signals`
6. `## Diagnosis`
7. `## Operator Implementation Issues`
8. `## Optimization Suggestions`
9. `## Evidence Gaps`
Inside `## Profile Signals`, prefer these subsections when the evidence exists:
- `### Hotspots`
- `### Pipeline Ratios`
- `### Timeline And Wait`
- `### Host API Overhead`
Inside `## Diagnosis`, prefer these subsections:
- `### Operator Type Fit`
- `### Compute vs Memory Bound`
- `### Pipeline Bottlenecks`
- `### Memory Hierarchy Bottlenecks`
- `### Concurrency And Scheduling Bottlenecks`
## Required reasoning rules
- Treat profile evidence as the default required input.
- Treat `.bin` as a first-class deep-analysis path, not only as a niche fallback.
- Treat IR as optional but strongly preferred when profiler evidence alone does not explain the likely implementation problem.
- Use IR as explanation and attribution for profiler symptoms, not as the default entrypoint.
- Use profiling analysis and IR analysis together when one source alone cannot explain the performance problem confidently.
- Keep artifact ownership here even when IR evidence is used; the corresponding `<Language>-npu-analyze-ir` skill is the IR evidence companion, not the owner of `perf-analysis.md`.
- Distinguish facts from inference.
- Cite the specific profile path, IR path, stage name, or operator name that supports each nontrivial conclusion.
- Do not stop at profiler or IR symptoms. The final diagnosis must point to likely problems in the current operator implementation.
- Keep optimization suggestions tied to those diagnosed implementation problems.
- Do not automatically write the analysis back into `attempts.md` or `summary.md`. `perf-analysis.md` is the formal output of this skill.
Use the profiling and optimization references for detailed signal interpretation and for mapping those signals to likely optimization points. Keep `SKILL.md` focused on workflow, evidence order, and output quality.From Piagari/helix, Apache-2.0.
More from Piagari/helix
- 0.479score
create-pr
Piagari
Use when opening a new pull request for this repository requires the repo's branch, validation, and skill-script checking gates to run before PR creation.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-run-eval
Piagari
Execute and evaluate generated operator artifacts.
SkillCFreshness: CClaude Code +9 - 0.479score
managing-gitcode-prs
Piagari
Create, list, and inspect GitCode pull requests for the current project.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-gen-test
Piagari
Generate correctness test code for an Ascend NPU operator from source code and task context.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-gen-bench
Piagari
Generate benchmark code for an Ascend NPU operator.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-report
Piagari
Generate a Chinese optimization report from an existing optimize workspace.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-plan-git-operator-workspaces
Piagari
Use when a Git branch must be analyzed to plan Ascend NPU operator workspaces for downstream distillation or optimization across Triton, TileLang, or similar…
SkillCFreshness: CClaude Code +9 - 0.479score
tilelang-npu-analyze-ir
Piagari
Use when an agent needs to inspect generated AscendC source code from a TileLang compiled operator, reason about likely performance issues from the generated…
SkillCFreshness: CClaude Code +9 - 0.476score
ascend-npu-optimize-state
Piagari
Manage temporary optimize workflow state in an Ascend NPU optimize workspace, including baseline acceptance, round start, same-round strategy-state updates…
SkillCFreshness: CClaude Code +9 - 0.475score
ascend-npu-profile-operator
Piagari
Get and analyze Ascend NPU operator performance data.
SkillCFreshness: CClaude Code +9 - 0.475score
helix-pyinstaller-packager
Piagari
Package the helix repository into PyInstaller onefile executables with the built-in skills tree embedded.
SkillCFreshness: CClaude Code +9 - 0.475score
ascend-npu-run-eval
Piagari
Execute and evaluate generated operator artifacts.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 25, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/Piagari/helix
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Piagari
- 0.479score
ascend-npu-plan-git-operator-workspaces
Piagari
Use when a Git branch must be analyzed to plan Ascend NPU operator workspaces for downstream distillation or optimization across Triton, TileLang, or similar…
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-report
Piagari
Generate a Chinese optimization report from an existing optimize workspace.
SkillCFreshness: CClaude Code +9 - 0.479score
create-pr
Piagari
Use when opening a new pull request for this repository requires the repo's branch, validation, and skill-script checking gates to run before PR creation.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-gen-bench
Piagari
Generate benchmark code for an Ascend NPU operator.
SkillCFreshness: CClaude Code +9 - 0.479score
managing-gitcode-prs
Piagari
Create, list, and inspect GitCode pull requests for the current project.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-run-eval
Piagari
Execute and evaluate generated operator artifacts.
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get ascend-npu-analyze-round-performance running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
ascend-npu-analyze-round-performance skill. Agent Mart. https://agentmart.dev/skills/piagari-ascend-npu-analyze-round-performance (last updated 2026-10-24)