Agent skill

ExecuTorch Model Export

by pytorch in pytorch/executorch

“Export a PyTorch model to .pte format for ExecuTorch. Use when converting models, lowering to edge, or generating .pte files.”

— description from SKILL.md by pytorch
Custom licenceAuto-check passedAI & LLM Engineering

Install ExecuTorch Model Export

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

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

GitHub CLI
$ gh skill install pytorch/executorch export --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/export .claude/skills/export && 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
export
GitHub stars
5.1k
Token cost
~238 tokens
SKILL.md length
34 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
Custom licence

At a glance

  • SKILL.md covers Basic pattern, Model-specific scripts, Debugging and Guides
  • Calls python

About this skill

ExecuTorch Model Export is a skill in pytorch/executorch (5.1k stars). Its SKILL.md is about 238 tokens, with 1 other file in the folder. Licence: Custom licence.

What it can do on your machine

Read from SKILL.md and the folder at commit 27d124f. 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

    Shell commands in SKILL.md call:

    • 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 Model Export loads about 238 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 34 words of instructions outside code blocks.

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

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 34 words (~238 tokens).

name
export

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .claude/skills/export of pytorch/executorch.

  • SKILL.md
  • guides/torch-export.md

Open the folder on GitHubat commit 27d124f

Compare with similar skills

ExecuTorch Model Export 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 Model Export compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
ExecuTorch Model Export this skillpytorch/executorch5.1k—~238Automated safety check: PassCustom licence
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k8 repos~1.7kAutomated safety check: PassMIT
PyTorch Lightning TrainingOrchestra-Research/AI-Research-SKILLs13k7 repos~2.3kAutomated safety check: PassMIT
Hugging Face AccelerateOrchestra-Research/AI-Research-SKILLs13k6 repos~2.1kAutomated safety check: PassMIT
Alphagenome Predictionsgenomicsxai/alphagenome-pytorch162—~868Automated safety check: PassApache-2.0
pyvene Causal InterventionsOrchestra-Research/AI-Research-SKILLs13k3 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 8 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • PyTorch Lightning Training

    Orchestra-Research/AI-Research-SKILLs

    Shows how to organize PyTorch training with Lightning's LightningModule and Trainer, covering validation, DDP, callbacks and learning-rate scheduling.

    13k GitHub starsUsed in 7 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Hugging Face Accelerate

    Orchestra-Research/AI-Research-SKILLs

    Adds distributed and mixed-precision training to a PyTorch script with a few Accelerate lines, then launches it on one GPU, many GPUs or DeepSpeed and FSDP setups.

    13k GitHub starsUsed in 6 repos~2.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Alphagenome Predictions

    genomicsxai/alphagenome-pytorch

    Run AlphaGenome-PyTorch to get genomic track predictions — via the agt predict CLI (single locus, BED regions, whole chromosomes, raw FASTA sequences, or per-gene count tables/AnnData), variant…

    162 GitHub stars~868 tokensUpdated 22 days ago
    AI & LLM EngineeringAuto-check passed
  • pyvene Causal Interventions

    Orchestra-Research/AI-Research-SKILLs

    Guides causal experiments on PyTorch models with pyvene, such as causal tracing, activation patching and interchange intervention training, to test how a model works.

    13k GitHub starsUsed in 3 repos~3.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Ray Train Distributed Training

    Orchestra-Research/AI-Research-SKILLs

    Scales PyTorch, TensorFlow and Hugging Face training from a single GPU to multi-node clusters with Ray Train, including Ray Tune sweeps and checkpoint recovery.

    13k GitHub starsUsed in 3 repos~2.7k tokens
    AI & LLM EngineeringAuto-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 Model Export

How do I install ExecuTorch Model Export in Claude Code?

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

How do I install ExecuTorch Model Export in Codex?

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

Can I use ExecuTorch Model Export 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 export -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/export, .gemini/skills/export, .github/skills/export and .opencode/skills/export in your project.

What does ExecuTorch Model Export need to run?

Going by SKILL.md and its folder, ExecuTorch Model Export needs the command-line tools its instructions call (python).

Does ExecuTorch Model Export 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 Model Export 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 Model Export use?

ExecuTorch Model Export 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 Model Export use?

About 238 tokens (SKILL.md is roughly 952 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 Model Export?

Skills that share tags, products or a category with ExecuTorch Model Export: CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars), PyTorch Lightning Training (Orchestra-Research/AI-Research-SKILLs, 13k stars), Hugging Face Accelerate (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Alphagenome Predictions (genomicsxai/alphagenome-pytorch, 162 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains ExecuTorch Model Export?

pytorch (a GitHub organization) maintains it in pytorch/executorch, which has 5,081 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 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.