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.
npx agentmods add commands/ganbin/4d-development-skill/vp-export-documentgit clone --depth 1 https://github.com/Ganbin/4d-development-skillWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.02863 |
| Opus 5 | $0.00000 | $0.01432 |
| Sonnet 5 | $0.00000 | $0.00573 |
| Haiku 4.5 | $0.00000 | $0.00286 |
Grade A, and why
vp-export-document 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.
How it starts
The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
| Release | Changes |
|---|---|
| 20 R9 | Trigger of callback function after custom functions completed |
| 20 R2 | Support of .sjs documents |
VP EXPORT DOCUMENT ( vpAreaName : Text ; filePath : Text {; paramObj : Object} )
| Parameter | Type | Description | |
|---|---|---|---|
| vpAreaName | Text | -> | 4D View Pro area form object name |
| filePath | Text | -> | Pathname of the document |
| paramObj | Object | -> | Export options |
Description
The VP EXPORT DOCUMENT command exports the 4D View Pro object attached to the 4D View Pro area vpAreaName to a document on disk according to the filePath and paramObj parameters.
In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.
In filePath, pass the destination path and name of the document to be exported. If you don't specify a path, the document will be saved at the same level as the Project folder.
You can specify the exported file's format by including an extension after the document's name:
- 4D View Pro (".4vp")
- Microsoft Excel (".xlsx")
- PDF (".pdf")
- CSV (".txt", or ".csv")
- SpreadJS document (".sjs")
If the extension is not included, but the format is specified in paramObj, the exported file will have the extension that corresponds to the format, except for the CSV format (no extension is added in this case).
The optional paramObj parameter allows you to define multiple properties for the exported 4D View Pro object, as well as launch a callback method when the export has completed.
| Property | Type | Description | |
|---|---|---|---|
| format | text | (optional) When present, designates the exported file format: ".4vp" (default), ".csv", ".xlsx", ".pdf", or ".sjs". You can use the following constants:vk 4D View Pro formatvk csv formatvk MS Excel formatvk pdf formatvk sjs format4D adds the appropriate extension to the file name if needed. If the format specified doesn't correspond with the extension in filePath, it will be added to the end of filePath. If a format is not specified and no extension is provided in filePath, the default file format is used. |
|
| password | text | Microsoft Excel only (optional) - Password used to protect the MS Excel document | |
| formula | 4D.Function | Callback method to be launched when the export has completed. Using a callback method is necessary when the export is asynchronous (which is the case for PDF and Excel formats) if you need some code to be executed after the export. The callback method must be passed with the Formula command. See Passing a callback method (formula). |
|
| valuesOnly | boolean | Specifies that only the values from formulas (if any) will be exported. | |
| includeFormatInfo | boolean | True to include formatting information, false otherwise (default is true). Formatting information is useful in some cases, e.g. for export to SVG. On the other hand, setting this property to false allows reducing export time. | |
| includeBindingSource | boolean | 4DVP and Microsoft Excel only. True (default) to export the current data context values as cell values in the exported document (data contexts themselves are not exported). False otherwise. Cell binding is always exported. For data context and cell binding management, see VP SET DATA CONTEXT and VP SET BINDING PATH. | |
| sheetIndex | number | PDF only (optional) - Index of sheet to export (starting from 0). -2=all visible sheets (default), -1=current sheet only | |
| pdfOptions | object | PDF only (optional) - Options for pdf | |
| creator | text | name of the application that created the original document from which it was converted. | |
| title | text | title of the document. | |
| author | text | name of the person who created that document. | |
| keywords | text | keywords associated with the document. | |
| subject | text | subject of the document. | |
| csvOptions | object | CSV only (optional) - Options for csv export | |
| range | object | Range object of cells | |
| rowDelimiter | text | Row delimiter. Default: "\r\n" | |
| columnDelimiter | text | Column delimiter. Default: "," | |
| sjsOptions | object | SJS only (optional) - Options for sjs export | |
| includeAutoMergedCells | boolean | whether to include the automatically merged cells, default is false. | |
| includeBindingSource | boolean | whether to include the binding source, default is true. | |
| includeCalcModelCache | boolean | whether to include the extra data of calculation. Can be faster when open the file with those data, default is false. | |
| includeEmptyRegionCells | boolean | whether to include any empty cells (cells with no data or only style) outside the used data range, default is true. | |
| includeFormulas | boolean | whether to include the formulas, default is true. | |
| includeStyles | boolean | whether to include the style, default is true. | |
| includeUnusedNames | boolean | whether to include the unused custom names, default is true. | |
| saveAsView | boolean | whether to apply the format string to exporting values, default is false. | |
| excelOptions | object | Excel only (optional) - Options for Excel export | |
| includeBindingSource | boolean | Whether to include the binding source when exporting, default false. | |
| includeStyles | boolean | Whether to include the style when exporting, default true. | |
| includeFormulas | boolean | Whether to include the formula when exporting, default true. | |
| saveAsView | boolean | Whether to apply the format string to exporting value when exporting, default false. | |
| rowHeadersAsFrozenColumns | boolean | Whether to treat the row headers as frozen columns when exporting, default false. | |
| columnHeadersAsFrozenRows | boolean | Whether to treat the column headers as frozen rows when exporting, default false. | |
| includeAutoMergedCells | boolean | Whether to include the automatically merged cells when exporting, default false. | |
| includeCalcModelCache | boolean | Whether to include the extra data of calculation. Can be faster when open the file with those data, default false. | |
| includeUnusedNames | boolean | Whether to include the unused custom name when exporting, default true. | |
| includeEmptyRegionCells | boolean | Whether to include any empty cells(cells with no data or only style) outside the used data range, default true. | |
| password | text | Password to set to open the workbook. | |
\<customProperty> |
any | Any custom property that will be available through the $3 parameter in the callback method. |
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.
- 2d ago First seen · 203 lines · 0 tokens per session scan A 8925153abf7f
vp-export-document 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 2,863 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.
Other commands, from other repositories
install
Install a skill from a local path, GitHub repository, npm package, or registry slug.
profile
Save, apply, and share multi-agent configuration profiles.
doctor
Run a system health check to diagnose common issues.
init
Scaffold a new SKILL.md for your agent skill.
setup
One command. All agents. Skills + MCP servers. Zero configuration.
diff
Compare two SKILL.md files section-by-section. Parses frontmatter and body sections independently, showing exactly what changed.