.versuno/ back to Versuno. If the file has an id in its frontmatter, a new version is created on the existing asset. If not, a new asset is created and its id is written back into the file.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
file | string | Yes | Path to the local markdown file. Relative paths resolve from the working directory. Must be inside .versuno/. |
changelog | string | No | Version description. Stored with the new version. Only used when updating an existing asset. |
Create vs update
The behaviour depends on the file’s frontmatter:Frontmatter has id | Action | Endpoint |
|---|---|---|
| Yes | Create a new version | POST /assets/{id}/versions |
| No | Create a new asset | POST /assets |
Asset type inference
When creating a new asset (noid), the type is inferred from the file’s parent directory:
| Directory | Inferred type |
|---|---|
contexts/ | context |
prompts/ | prompt |
personas/ | persona |
system-prompts/ | system_prompt |
skills/ | skill |
type explicitly in the frontmatter.
Example: update an existing asset
Prompt:
“Push my edits to .versuno/skills/code-review.md with the message ‘Added review checklist’.”
Tool call:
version and updated_at:
Example: create a new asset
Drop a new markdown file into.versuno/prompts/:
“Push .versuno/prompts/weekly-standup.md to Versuno.”
Response:
id, type, version: 1, created_at, and updated_at.
Constraints
- Path must be inside
.versuno/. Files outside this folder are refused. This is a security measure against prompt injection. See Security. - Extension must be
.md. Other extensions are refused. - Max file size: 1 MB. Larger files are refused.
Errors
| Error | Cause |
|---|---|
Refusing to push: file must live under the project's .versuno/ folder | Path is outside .versuno/. |
Refusing to push: only .md files are supported | Wrong extension. |
File too large | Over 1 MB. |
File has no content body | Only frontmatter, no actual content. |
Could not infer asset type | Creating a new asset without a known folder and without type in frontmatter. |
See also
pull_asset— download an asset first.- Frontmatter reference — the schema written by
pull_assetand read bypush_asset. - CLI:
versuno push— bulk version of this tool.

