Read EXIF from image bytes in a Code node or CodeAct action, with exifr running on the host
Scanned 9/1/2026
Install to Claude Code
npx -y skills add nodetool-ai/nodetool --skill sandbox-exif --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Sandbox Exif?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/nodetool-ai-sandbox-exif)More formats (shields.io, HTML) on the badges page.
---
name: sandbox-exif
description: Read EXIF from image bytes in a Code node or CodeAct action, with exifr running on the host
---
# Photo metadata in the sandbox
Specifier: `@nodetool-ai/sandbox-exif`. Import it at the top of the body.
exifr does not compile into QuickJS, so this pack is a **host module**.
## parse — bytes to tags
```js
import { parse } from "@nodetool-ai/sandbox-exif";
const tags = await parse(inputs.bytes);
return {
make: tags?.Make ?? null,
model: tags?.Model ?? null,
takenAt: tags?.DateTimeOriginal ?? null
};
```
`inputs.bytes` is a `Uint8Array` from `workspace.readBytes` or `image.bytes`.
## Gotchas
- **Named export `parse`.** Not the library's default export.
- **Missing tags return `null`.** A stripped JPEG has no EXIF.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!