ascend-npu-plan-git-operator-workspaces
Use when a Git branch must be analyzed to plan Ascend NPU operator workspaces for downstream distillation or optimization across Triton, TileLang, or similar…
Skill by Piagari
Chalk Labs
Need help deploying ascend-npu-plan-git-operator-workspaces?
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-plan-git-operator-workspaces
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
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
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ascend-npu-plan-git-operator-workspaces
What's inside
- Skill name
ascend-npu-plan-git-operator-workspaces- Description
- Use when a Git branch must be analyzed to plan Ascend NPU operator workspaces for downstream distillation or optimization across Triton, TileLang, or similar operator languages.
- License
- Apache-2.0
- Instructions
- 112 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- output-contract.md · references/
- collect_commit_context.py · scripts/
- group_commit_context_by_file.py · scripts/
- knowledge_pull_requests.py · scripts/
- scaffold_operators.py · scripts/
SKILL.md (first lines)
# Git Operator Workspace Planning ## Goal Analyze the current branch relative to a base revision, identify changed operators, and produce a workspace plan that the CLI uses to scaffold operator directories. ## Inputs - A local Git repository or workspace path. - A base revision, usually `origin/main`. ## Outputs - `workspace-plan.json` — machine-readable plan consumed by `scaffold_operators.py`. Each entry describes one changed operator with its launch function, source path, and kernel dependencies. ## Required References Read these before writing: - [references/output-contract.md](references/output-contract.md) When available, use the corresponding `<language>-npu-optimize-knowledge` skill as the generic optimization pattern and symptom library. The caller prompt may name the active operator language, such as `triton` or `tilelang`. ## Workflow ### Stage 1: Collect Git Context If the caller prompt gives a precomputed fork revision or merge-base, use that revision directly as the baseline for diffs and do not run `git merge-base` again. Otherwise collect context from the requested base revision: ```bash python3 ./scripts/collect_commit_context.py \ --base <base-revision> \ --output .helix/git-operator-context.json ``` If `commit_count` is zero, stop immediately and explain that `<base>..HEAD` is empty. Common causes: `HEAD` equals the base revision, or the wrong branch is checked out. ### Stage 2: Group By File ```bash python3 ./scripts/group_commit_context_by_file.py \ --input .helix/git-operator-context.json \ --output .helix/git-operator-file-groups.json ``` ### Stage 3: Produce Workspace Plan Analyze the file groups to identify changed operators: 1. List changed operator source files. Prefer the caller's extension filter when provided, for example: ```bash git diff --name-only <fork-revision>..HEAD -- "*.py" "*.triton" "*.ttir" "*.mlir" ``` 2. For each changed file, inspect both the diff and the full source at `HEAD`: ```bash git diff <fork-revision>..HEAD -- <source_path> git show HEAD:<source_path> ``` Read file content silently; do not print full source to stdout. 3. Identify kernel definitions and public entry points using the active operator language from the caller prompt. Examples: Triton code may use `@triton.jit` kernels plus host launch expressions such as `kernel[grid](...)`; TileLang code may use `@tilelang.jit`, `T.prim_func`, builder functions, or public Python wrappers that compile or launch TileLang kernels. 4. Only treat a kernel as changed when its body changed. Ignore import-only, comment-only, docstring-only, formatting-only, and unrelated helper changes. 5. For each changed kernel body, find the host-side entry point that users call. This may be a Triton launch wrapper, a TileLang compile/invoke wrapper, or another language-specific launch or call site. If a private helper launches the kernel, trace upward to the first public entry point. 6. Cross-check each candidate against the diff. If the diff does not touch the launch function or one of its kernels, skip it. 7. Emit one `operators[]` entry per launch function. If multiple changed kernels share one launch function, put all kernel names in that entry's `kernels` list. 8. Deduplicate by launch function and source path. If the same launch function appears from multiple source paths, keep one entry and explain the conflict in `notes`. 9. Verify each `source_path` exists at `HEAD`: ```bash git cat-file -e HEAD:<source_path> && echo ok || echo missing ``` Skip entries that do not exist. 10. Write `workspace-plan.json` following the contract in [references/output-contract.md](references/output-contract.md). The CLI will call `scaffold_operators.py` to create operator workspace directories from the plan. ## Hard Rules - Keep prompts, report text, and user-visible instructions in English. - Do not edit tracked source files. - Do not switch branches or perform destructive Git commands. - Do not claim benchmark speedups without evidence. - Do not extract or write operator `.py` files while producing the plan; the CLI scaffold script handles source extraction. - Do not include every kernel in a changed file. Include only launch functions whose kernel bodies changed. - Do not guess. If the diff does not clearly show a function body change, skip the entry.
From Piagari/helix, Apache-2.0.
More from Piagari/helix
- 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.479score
ascend-npu-report
Piagari
Generate a Chinese optimization report from an existing optimize workspace.
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
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.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-analyze-round-performance
Piagari
Use when an optimize round needs deep performance diagnosis from round-local profile and optional IR evidence, especially to explain scalar/vector/cube…
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)
- Jul 13, 2026 (3 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-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
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-report
Piagari
Generate a Chinese optimization report from an existing optimize workspace.
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
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
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-plan-git-operator-workspaces 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-plan-git-operator-workspaces skill. Agent Mart. https://agentmart.dev/skills/piagari-ascend-npu-plan-git-operator-workspaces (last updated 2026-10-24)