vp-add-span

vp-add-span is a command for coding agents from Ganbin/4d-development-skill. It costs 0 tokens per session (439 once invoked), scanned A, original, MIT.

A 4D View Pro command that joins selected spreadsheet cells into one larger cell spanning multiple rows or columns.

In plain words
What is it for?
Use it to create merged headings, labels, or other multi-cell layouts in a 4D View Pro spreadsheet. Overlapping ranges use only the first range.
Why use it?
It lets a spreadsheet display a group of cells as one area while retaining hidden data that formulas can still access.

Command

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-add-span
Clone the repo
git clone --depth 1 https://github.com/Ganbin/4d-development-skill

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-add-span

README.md
[![agentmods](https://agentmods.dev/badge/commands/ganbin/4d-development-skill/vp-add-span.svg)](https://agentmods.dev/commands/ganbin/4d-development-skill/vp-add-span)
Your own site
<a href="https://agentmods.dev/commands/ganbin/4d-development-skill/vp-add-span"><img src="https://agentmods.dev/badge/commands/ganbin/4d-development-skill/vp-add-span.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 439 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 $0.00000 $0.00439
Opus 5 $0.00000 $0.00219
Sonnet 5 $0.00000 $0.00088
Haiku 4.5 $0.00000 $0.00044

Measured 3d ago against content hash 0d6cdabf1326, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vp-add-span 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 3d 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-add-span.md · 51 lines

What it actually says

VP ADD SPAN ( rangeObj : Object )

Parameter Type Description
rangeObj Object -> Range object

Description

The VP ADD SPAN command combines the cells in rangeObj as a single span of cells.

In rangeObj, pass a range object of cells. The cells in the range are joined to create a larger cell extending across multiple columns and/or rows. You can pass multiple cell ranges to create several spans at the same time. Note that if cell ranges overlap, only the first cell range is used.

  • Only the data in the upper-left cell is displayed. Data in the other combined cells is hidden until the span is removed.
  • Hidden data in spanned cells is accessible via formulas (beginning with the upper-left cell).

Example

To span the First quarter and Second quarter cells across the two cells beside them, and the South area cell across the two rows below it:

initial-document

 // First quarter range
 $q1:=VP Cells("ViewProArea";2;3;3;1)
 
  // Second quarter range
 $q2:=VP Cells("ViewProArea";5;3;3;1)
 
  // South area range
 $south:=VP Cells("ViewProArea";0;5;1;3)
 
 VP ADD SPAN(VP Combine ranges($q1;$q2;$south))

vp-add-span-result

See also

4D View Pro Range Object Properties VP Get spans VP REMOVE SPAN

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. 3d ago First seen · 51 lines · 0 tokens per session scan A 0d6cdabf1326

Subscribe to this mod's changes

vp-add-span 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 439 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.