get-file

Download files from NovaDB by identifier and save them to disk.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/novadb/claude-plugins --skill get-file
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-file
Source: https://github.com/novadb/claude-plugins/tree/main/consulting/skills/get-file
Command: npx skills add https://github.com/novadb/claude-plugins --skill get-file

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Downloading binary files referenced in NovaDB objects and preserving them locally while returning structured metadata so agents or users can reference the saved file without embedding large binary content.

Core Features & Use Cases

  • Direct file retrieval: Fetch a file by its combined identifier and extension (e.g., attr 11000 + 11005) and persist it to the local filesystem.
  • Metadata-first response: Returns filePath, sizeBytes, and contentType instead of raw file content for safe downstream processing.
  • Use Case: When rendering HTML or generating reports that reference stored images or documents, use this skill to download each referenced asset and include stable local paths in the output.

Quick Start

Call the get-file skill with the file identifier 5fe618811cca585a2826a2da06e3ce1b.jpg and optional filename report.jpg to save the file to disk and receive its metadata.

Frequently Asked Questions about get-file

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download binary files from NovaDB and save them to disk?

To download binary files from NovaDB, you need the file identifier and extension, typically found in attributes 11000 and 11005. The retrieval process uses the novadb_cms_get_file tool to fetch and persist the file locally to your filesystem.

What metadata is returned when retrieving a NovaDB file to local storage?

Retrieving a NovaDB file returns filesystem metadata including the file path, size in bytes, and content type. This metadata-first response allows agents to reference saved assets without embedding large binary content directly into their output.

Can I specify a custom filename when saving NovaDB binary objects locally?

Yes, you can optionally accept a user-specified filename when saving NovaDB binary objects. For example, calling the retrieval process with an identifier and a filename like report.jpg will save the file to disk using that specific name.

How do I handle file downloads when generating HTML reports with NovaDB assets?

When generating HTML reports with NovaDB assets, use the file retrieval process to download each referenced image or document. This provides stable local file paths that you can safely include in your output instead of embedding raw binary content.

When should I use BinRef attributes to download files from NovaDB?

You should use BinRef attributes to download files when binary objects provide a file identifier and extension. This applies when reading attributes like 11000 and 11005 from objects or search results to locate and fetch the referenced files.

Does saving NovaDB files to disk require embedding the binary content in the response?

No, saving NovaDB files to disk does not require embedding binary content in the response. The process persists the file locally and only returns structured filesystem metadata, ensuring safe downstream processing without large binary payloads.