vp-export-to-blob

vp-export-to-blob is a command for Claude Code from Ganbin/4d-development-skill. It costs 0 tokens per session (783 once invoked), scanned A, original, MIT.

A command that exports a 4D View Pro spreadsheet area into a 4D Blob, which is a binary data object used by 4D applications. Export options control what spreadsheet data is included.

In plain words
What is it for?
Use it to export 4D View Pro documents, choose whether to include formulas, bindings, merged cells, empty cells, or calculation data, and handle the result after export finishes.
Why use it?
It gives an application a way to save or pass along a spreadsheet area while using a completion callback to receive the exported data.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/ganbin/4d-development-skill/vp-export-to-blob
Clone the repo
git clone --depth 1 https://github.com/Ganbin/4d-development-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vp-export-to-blob

README.md
[![agentmods](https://agentmods.dev/badge/commands/ganbin/4d-development-skill/vp-export-to-blob.svg)](https://agentmods.dev/commands/ganbin/4d-development-skill/vp-export-to-blob)
Your own site
<a href="https://agentmods.dev/commands/ganbin/4d-development-skill/vp-export-to-blob"><img src="https://agentmods.dev/badge/commands/ganbin/4d-development-skill/vp-export-to-blob.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 783 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00783
Opus 5 $0.00000 $0.00392
Sonnet 5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00078

Measured 6d ago against content hash 31e314ad8e4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

vp-export-to-blob scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/ViewPro/commands/vp-export-to-blob.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VP EXPORT TO BLOB ( vpAreaName : Text ; paramObj : Object )

Parameter Type Description
vpAreaName Text -> 4D View Pro area form object name
paramObj Object -> Export options

Description

The VP EXPORT TO BLOB command exports the vpAreaName 4D View Pro document in a 4D.Blob according to the paramObj options. The exported blob is available through the export callback. Exporting and importing 4D View Pro areas as blobs is fast and memory-efficient.

In paramObj, you can pass several properties:

Property Type Description
formula 4D.Function (mandatory) Callback method to be launched when the export has completed. See Passing a callback method (formula).
includeAutoMergedCells Boolean Whether to include the automatically merged cells when saving, default=false.
includeBindingSource Boolean Whether to include the binding source when saving, default=true.
includeCalcModelCache Boolean Whether to include the extra data of calculation. Can impact the speed of opening the file, default=false.
includeEmptyRegionCells Boolean Whether to include any empty cells(cells with no data or only style) outside the used data range, default=true
includeFormulas Boolean Whether to include the formula when saving, default=true.
includeStyles Boolean Whether to include the style when saving, default=true.
includeUnusedNames Boolean Whether to include the unused custom name when saving, default=true.
saveAsView Boolean Whether to apply the format string to exporting value when saving, default=false.

The following parameters can be used in the callback method:

Parameter Type Description
param1 text The name of the 4D View Pro object
param2 4D.Blob The exported blob
param3 object A reference to the command's paramObj parameter
param4 object An object returned by the method with a status message
.success boolean True if export with success, False otherwise.
.errorCode integer Error code.
.errorMessage text Error message.

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 76 lines · 0 tokens per session scan A 31e314ad8e4b

Subscribe to this mod's changes

vp-export-to-blob is a command published in the GitHub repository Ganbin/4d-development-skill (9 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 783 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.