# ns-download-asset

> Claude/Codex skill by [@nodesource](https://omgskills.com/library/nodesource/index.md) · 0 stars · Updated 2026-09-16

Downloads a raw N|Solid diagnostic asset (heap snapshot, CPU profile, or heap profile) to local disk by asset ID. Use when the user asks to download, save, export, or pull an asset file locally, or needs the raw file for external tools such as snapshot-parser, Chrome DevTools, or diffing. Do not use for analyzing assets — ns-analyze-asset covers that.

## Install

```sh
git clone https://github.com/nodesource/nsolid-skills-plugin /tmp/nsolid-skills-plugin && ln -s /tmp/nsolid-skills-plugin/skills/ns-download-asset ~/.claude/skills/ns-download-asset
```

## From README

Instructions Identify the Asset The asset ID comes from the user or from the assets MCP tool (filter with type, app, etc.). If the user gives only an app name + asset type, call assets and confirm which asset to download before proceeding. If the asset was just generated, make sure it is no longer listed in assets-in-progress before downloading. Resolve the Asset Type Map the asset to the script's assetType: cpuprofile | heapprofile | heapsnapshot. Heap sampling assets use heapprofile. Resolve the App Name Resolve appName from the assets metadata or the user. Fall back to unknown only when the app name is genuinely unknown. Download Run the bundled script (use the absolute path of the directory where you read this SKILL.md): Report Output the file path under .nsolid/assets/, the size printed by the script, and that the asset is registered in .nsolid/assets/index.json. Never open or read the raw file into context.

## Links

- HTML page: https://omgskills.com/library/nodesource/nsolid-skills-plugin/skills/ns-download-asset/
- GitHub: https://github.com/nodesource/nsolid-skills-plugin
- Author: [@nodesource](https://omgskills.com/library/nodesource/index.md)

## More from this repo

- [ns-advanced-memory-leak-hunter](https://omgskills.com/library/nodesource/nsolid-skills-plugin/skills/ns-advanced-memory-leak-hunter/index.md) — Performs an advanced N|Solid memory leak hunt comparing baseline vs peak heap evidence to isolate retained...
   - [@nodesource](https://omgskills.com/library/nodesource/index.md) · 0 stars
- [ns-analyze-asset](https://omgskills.com/library/nodesource/nsolid-skills-plugin/skills/ns-analyze-asset/index.md) — Analyzes an existing N|Solid diagnostic asset by asset ID or local asset path using asset-summary.
   - [@nodesource](https://omgskills.com/library/nodesource/index.md) · 0 stars
- [ns-analyze-event](https://omgskills.com/library/nodesource/nsolid-skills-plugin/skills/ns-analyze-event/index.md) — Investigates an existing N|Solid event payload and correlates relevant MCP evidence.
   - [@nodesource](https://omgskills.com/library/nodesource/index.md) · 0 stars
