vp-import-from-blob

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

A 4D View Pro command that loads a saved spreadsheet document from binary data into a named spreadsheet area.

In plain words
What is it for?
Use it to load previously exported 4D View Pro documents stored as binary data.
Why use it?
It restores spreadsheet contents without requiring a file path. The imported document replaces anything already in that area.

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-import-from-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-import-from-blob

README.md
[![agentmods](https://agentmods.dev/badge/commands/ganbin/4d-development-skill/vp-import-from-blob.svg)](https://agentmods.dev/commands/ganbin/4d-development-skill/vp-import-from-blob)
Your own site
<a href="https://agentmods.dev/commands/ganbin/4d-development-skill/vp-import-from-blob"><img src="https://agentmods.dev/badge/commands/ganbin/4d-development-skill/vp-import-from-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 889 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.00889
Opus 5 $0.00000 $0.00445
Sonnet 5 $0.00000 $0.00178
Haiku 4.5 $0.00000 $0.00089

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

Security

Grade A, and why

vp-import-from-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 2d 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-import-from-blob.md · 72 lines

How it starts

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

VP IMPORT FROM BLOB ( vpAreaName : Text ; vpBlob : 4D.Blob { ; paramObj : Object} )

Parameter Type Description
vpAreaName Text -> 4D View Pro area form object name
vpBlob 4D.Blob -> Blob containing a 4D View Pro document
paramObj Object -> Import options
Release Changes
20 R9 Trigger of callback function after custom functions completed

Description

The VP IMPORT FROM BLOB command imports the vpBlob in the 4D View Pro area vpAreaName and replaces its contents. vpBlob must contain a 4D View Pro document previously saved as Blob either by using the VP EXPORT TO BLOB command or via the 4D View Pro interface.

In paramObj, you can pass several properties:

Property Type Description
formula 4D.Function Callback method to be launched when the import has completed. See Passing a callback method (formula).
calcOnDemand Boolean Whether to calculate formulas only when they are demanded, default=false.
dynamicReferences Boolean Whether to calculate functions with dynamic reference, default=true.
fullRecalc Boolean Whether to calculate after loading the json data, false by default.
includeFormulas Boolean Whether to include the formula when loading, default=true.
includeStyles Boolean Whether to include the style when loading, default=true.
includeUnusedStyles Boolean Whether to include the unused name style when converting excel xml to the json, default=true.
openMode Integer can be: 0: normal open mode, without lazy and incremental. When opening document, UI and UI event could be refreshed and responsive at specific time points. 1: lazy open mode. When opening document, only the active sheet will be loaded directly. Other sheets will be loaded only when they are be used. 2: incremental open mode. When opening document, UI and UI event could be refreshed and responsive directly.

The following parameters can be used in the callback method:

Parameter Type Description
param1 text The name of the 4D View Pro area object
param2 4D.Blob The imported 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 import with success, False otherwise.
.errorCode integer Error code.
.errorMessage text Error message.

:::note

The callback function specified in the formula attribute is triggered after all 4D custom functions within the imported content have completed their calculations. This ensures that any dependent processes, such as document modifications or exports, are performed only after all formula-based computations are fully resolved.

::::

Read the full file on GitHub · 72 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. 2d ago First seen · 72 lines · 0 tokens per session scan A 4ed49f4ace0b

Subscribe to this mod's changes

vp-import-from-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 889 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-09-03.