Agent skill

ExecuTorch Profiling

by pytorch in pytorch/executorch

“Profile ExecuTorch model execution. Use when measuring performance, analyzing operator timing, or debugging slow models.”

— description from SKILL.md by pytorch
Custom licenceAuto-check passedDevelopment

Install ExecuTorch Profiling

skills CLI
$ npx skills add pytorch/executorch --skill profile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pytorch/executorch profile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pytorch/executorch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/profile .claude/skills/profile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
profile
GitHub stars
5.1k
Token cost
~165 tokens
SKILL.md length
14 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Custom licence

At a glance

  • Works in 3 steps: Enable ETDump when loading → Execute and save → Analyze with Inspector
  • SKILL.md covers 1. Enable ETDump when loading, 2. Execute and save and 3. Analyze with Inspector
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

ExecuTorch Profiling is a skill in pytorch/executorch (5.1k stars). Its SKILL.md is about 165 tokens. Licence: Custom licence.

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Enable ETDump when loading
  2. Execute and save
  3. Analyze with Inspector

What it can do on your machine

Read from SKILL.md and the folder at commit 80fb9e3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

ExecuTorch Profiling loads about 165 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 14 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~165

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 14 words (~165 tokens).

name
profile

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/profile of pytorch/executorch.

Open the folder on GitHubat commit 80fb9e3

Compare with similar skills

ExecuTorch Profiling next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

ExecuTorch Profiling compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
ExecuTorch Profiling this skillpytorch/executorch5.1k—~165Automated safety check: PassCustom licence
The Art of Debuggingstas00/the-art-of-debugging1.7k—~6.1kAutomated safety check: NotesCC-BY-SA-4.0
Torch Performance Optimizationalbumentations-team/albucore123—~895Automated safety check: PassMIT
Magpie Kernel Evaluatoramd/skills406—~2.3kAutomated safety check: PassMIT
Worktree Env Setupmeta-pytorch/attention-gym1.3k—~858Automated safety check: PassBSD-3-Clause
Ascendcascend-ai-coding/awesome-ascend-skills174—~3.5kAutomated safety check: PassNone

Similar skills

  • The Art of Debugging

    stas00/the-art-of-debugging

    Condensed debugging method and tool recipes for Unix, Python and PyTorch programs: crashes, hangs, segfaults, wrong output, CUDA OOM, NaN values and slowness.

    1.7k GitHub stars~6.1k tokensUpdated 2 days ago
    DevelopmentAuto-check: notes
  • Torch Performance Optimization

    albumentations-team/albucore

    Optimize or review eager CPU-only Albucore PyTorch runtime paths with benchmark-backed decisions.

    123 GitHub stars~895 tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Benchmarks LLM inference and drives GPU kernel optimization with Magpie.

    406 GitHub stars~2.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Worktree Env Setup

    meta-pytorch/attention-gym

    Sets up an isolated per-worktree Python environment for attention-gym development using nightly PyTorch and the CI-mirroring uv flow.

    1.3k GitHub stars~858 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Ascendc

    ascend-ai-coding/awesome-ascend-skills

    End-to-end AscendC custom operator development for Ascend NPU in an ascend-kernel (csrc/ops + build.sh + torchnpu PyTorch custom op) project.

    174 GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check passed
  • External Mindstudio Ascend Profiler DB Explorer

    ascend-ai-coding/awesome-ascend-skills

    面向 Ascend PyTorch Profiler / msprof DB(如 ascendpytorchprofiler.db、msprof.db)的 SQL 分析技能。将自然语言问题(算子耗时、通信、下发、调度、schema/table 查询)转为安全可执行 SQL,并按需从官方文档提取表结构详情。

    174 GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from pytorch/executorch

All 10 skills in this repo
  • Measures and shrinks the ExecuTorch runtime binary by building a size test, analyzing it with bloaty and landing each reduction as its own pull request.

    5.1k GitHub stars~793 tokensUpdated today
    Auto-check passed
  • ExecuTorch Build Guide

    pytorch/executorch

    Builds ExecuTorch from source: the Python package, C++ runtime, model runners, Android and iOS cross-compilation and backend-specific builds, with environment checks.

    5.1k GitHub stars~2.3k tokensUpdated today
    Auto-check: notes
  • ExecuTorch Cortex-M Backend

    pytorch/executorch

    Developer guide for the Cortex-M (CMSIS-NN) backend in ExecuTorch: quantization pipeline, pass manager, tests and adding new ops.

    5.1k GitHub stars~872 tokensUpdated today
    Auto-check passed
  • ExecuTorch Knowledge Base

    pytorch/executorch

    Answers ExecuTorch questions from a local wiki on backends, export pitfalls, quantization recipes, runtime errors and SoC compatibility.

    5.1k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • ExecuTorch PR Review

    pytorch/executorch

    Reviews ExecuTorch pull requests or local branches for what CI cannot check, using a checklist, with an optional detailed line-by-line mode.

    5.1k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Helps build, test and extend the Qualcomm AI Engine Direct (QNN) backend in ExecuTorch, with routes for new ops, model export, Buck-vs-CMake parity fixes and per-layer accuracy debugging.

    5.1k GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Works with

Questions about ExecuTorch Profiling

How do I install ExecuTorch Profiling in Claude Code?

Run `npx skills add pytorch/executorch --skill profile -a claude-code`. Or copy the skill folder (.claude/skills/profile in pytorch/executorch) into .claude/skills/profile in your project. Claude Code loads it when a task matches its description.

How do I install ExecuTorch Profiling in Codex?

Run `npx skills add pytorch/executorch --skill profile -a codex`. Or copy the skill folder (.claude/skills/profile in pytorch/executorch) into .agents/skills/profile in your project. Codex loads it when a task matches its description.

Can I use ExecuTorch Profiling in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pytorch/executorch --skill profile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/profile, .gemini/skills/profile, .github/skills/profile and .opencode/skills/profile in your project.

What does ExecuTorch Profiling need to run?

SKILL.md names no scripts, command-line tools or credentials: ExecuTorch Profiling is instructions for the agent only.

Does ExecuTorch Profiling access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is ExecuTorch Profiling safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does ExecuTorch Profiling use?

ExecuTorch Profiling has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does ExecuTorch Profiling use?

About 165 tokens (SKILL.md is roughly 660 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to ExecuTorch Profiling?

Skills that share tags, products or a category with ExecuTorch Profiling: The Art of Debugging (stas00/the-art-of-debugging, 1.7k stars), Torch Performance Optimization (albumentations-team/albucore, 123 stars), Magpie Kernel Evaluator (amd/skills, 406 stars) and Worktree Env Setup (meta-pytorch/attention-gym, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains ExecuTorch Profiling?

pytorch (a GitHub organization) maintains it in pytorch/executorch, which has 5,082 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 9, 2026.

Source: pytorch/executorch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.