Skip to content
Agentmart
Submit a tool

executorch

Use ExecuTorch to export PyTorch models to edge runtime artifacts, build host/device runtimes, choose delegates, profile/debug execution, and operate…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying executorch?

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.

Book a call

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/vectorspacelab-executorch

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.

We use your email only for this newsletter. Privacy

About

Use ExecuTorch to export PyTorch models to edge runtime artifacts, build host/device runtimes, choose delegates, profile/debug execution, and operate specialized Qualcomm, Cortex-M, LLM, and binary-size workflows.

Use cases: ml

No 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/executorch

What's inside

Skill name
executorch
Description
Use ExecuTorch to export PyTorch models to edge runtime artifacts, build host/device runtimes, choose delegates, profile/debug execution, and operate specialized Qualcomm, Cortex-M, LLM, and binary-size workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
53 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (46)

  • SKILL.md
  • package-overview.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_import_surface.py · scripts/
  • SKILL.md · sub-skills/backend-selection/
  • backend-export-patterns.md · sub-skills/backend-selection/references/
  • backend-matrix.md · sub-skills/backend-selection/references/
  • troubleshooting.md · sub-skills/backend-selection/references/
  • check_backend_imports.py · sub-skills/backend-selection/scripts/
  • SKILL.md · sub-skills/binary-size/
  • binary-size-workflow.md · sub-skills/binary-size/references/
  • troubleshooting.md · sub-skills/binary-size/references/
  • compare_binary_sizes.py · sub-skills/binary-size/scripts/
  • SKILL.md · sub-skills/cortex-m/
  • api-reference.md · sub-skills/cortex-m/references/
  • cortex-m-workflows.md · sub-skills/cortex-m/references/
  • troubleshooting.md · sub-skills/cortex-m/references/
  • plan_cortex_m_test.py · sub-skills/cortex-m/scripts/
  • SKILL.md · sub-skills/export-runtime/
  • api-reference.md · sub-skills/export-runtime/references/
  • export-workflows.md · sub-skills/export-runtime/references/
  • runtime-integration.md · sub-skills/export-runtime/references/
  • troubleshooting.md · sub-skills/export-runtime/references/
  • export_smoke.py · sub-skills/export-runtime/scripts/
  • SKILL.md · sub-skills/llm-workflows/
  • llm-workflows.md · sub-skills/llm-workflows/references/
  • model-and-backend-notes.md · sub-skills/llm-workflows/references/
  • troubleshooting.md · sub-skills/llm-workflows/references/
  • plan_llm_export.py · sub-skills/llm-workflows/scripts/
  • SKILL.md · sub-skills/profiling-debugging/
  • api-reference.md · sub-skills/profiling-debugging/references/
  • profiling-workflows.md · sub-skills/profiling-debugging/references/
  • troubleshooting.md · sub-skills/profiling-debugging/references/
  • inspect_etdump_summary.py · sub-skills/profiling-debugging/scripts/
  • SKILL.md · sub-skills/qualcomm/
  • buck-cmake-parity.md · sub-skills/qualcomm/references/
  • qualcomm-workflows.md · sub-skills/qualcomm/references/
  • troubleshooting.md · sub-skills/qualcomm/references/
  • plan_qnn_command.py · sub-skills/qualcomm/scripts/
  • SKILL.md · sub-skills/setup-build/
  • build-and-install.md · sub-skills/setup-build/references/
  • test-and-maintenance.md · sub-skills/setup-build/references/
  • troubleshooting.md · sub-skills/setup-build/references/
  • check_executorch_env.py · sub-skills/setup-build/scripts/

SKILL.md (first lines)

# ExecuTorch

Use this repo skill when the task involves ExecuTorch, the `executorch` Python package, `.pte` or `.ptd` artifacts, EXIR/export lowering, on-device runtime integration, ExecuTorch backends/delegates, or ExecuTorch build/profiling/debugging workflows.

## Start Here

1. Classify the user's goal before reading deep references:
   - Install, build, configure CMake, cross-compile, or pick tests: `sub-skills/setup-build/SKILL.md`.
   - Export a PyTorch model, create `.pte`/`.ptd`, or validate runtime loading: `sub-skills/export-runtime/SKILL.md`.
   - Choose or configure XNNPACK, Core ML, MPS/Metal, Vulkan, CUDA/AOTI, OpenVINO, MediaTek, NXP, Samsung, Cadence, or Arm VGF backends: `sub-skills/backend-selection/SKILL.md`.
   - Use the Qualcomm QNN backend, QNN SDK, Android device tests, Buck/CMake parity, or QNN intermediate-output debugging: `sub-skills/qualcomm/SKILL.md`.
   - Use Cortex-M/CMSIS-NN, Arm embedded quantization, FVP, or bare-metal tests: `sub-skills/cortex-m/SKILL.md`.
   - Generate or inspect ETRecord/ETDump, use Inspector, visualize graphs, or triage accuracy/performance: `sub-skills/profiling-debugging/SKILL.md`.
   - Export/run LLMs, plan `export_llm` or Optimum ExecuTorch commands, or build LLM runners: `sub-skills/llm-workflows/SKILL.md`.
   - Measure/reduce binary size or compare stripped binaries: `sub-skills/binary-size/SKILL.md`.
2. For mixed workflows, route through the narrowest owner first, then cross-link. Example: a dynamic-shape CV model with XNNPACK and ETRecord starts in `export-runtime`, reads `backend-selection` for XNNPACK, then reads `profiling-debugging` for ETRecord/Inspector.
3. Treat hardware/vendor SDK/device workflows as conditional. A CPU import or export smoke proves Python/export plumbing, not QNN/Core ML/MPS/Vulkan/CUDA/Arm implementation behavior.

## Package and Runtime Baseline

- Public package name: `executorch`; import namespace: `executorch`.
- Python support from package metadata: Python 3.10 through 3.14.
- The direct export path is `torch.export.export(...)` followed by `executorch.exir.to_edge_transform_and_lower(...)` and `.to_executorch()`.
- The higher-level experimental export surface is `executorch.export.export(...)` with `ExportRecipe`, `LoweringRecipe`, and `QuantizationRecipe`.
- Python runtime loading with `executorch.runtime.Runtime` and `executorch.extension.pybindings.portable_lib` requires a build or wheel that includes the native pybindings. If imports fail with missing `_portable_lib`, route to `setup-build` before debugging model logic.

## Minimal Checks

Use these checks only in an environment where ExecuTorch is installed or a source checkout is intentionally on `PYTHONPATH`:

```bash
python - <<'PY'
from executorch.exir import to_edge_transform_and_lower
print("EXIR import OK", callable(to_edge_transform_and_lower))
PY
```

For a more complete read-only diagnostic, run the bundled helper:

```bash
python scripts/check_import_surface.py
```

The helper reports import surfaces and optional backend modules without installing packages, downloading models, or building targets.

## Shared References

- Read `references/package-overview.md` for source/package layout, public artifacts, and terminology.
- Read `references/troubleshooting.md` for cross-cutting installation, import, backend, runtime, and source-build failures.
- Read `references/repo-provenance.md` before deciding whether this skill is current for another ExecuTorch checkout.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

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 executorch 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.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying executorch?

CallGet help
Cite this page

executorch skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-executorch (last updated 2026-10-24)