Skip to content
Back to skills

Content Vault Sync

ASecurity

Data integrity verification, character sanitization, and automated export of channel resources to MTxStudio Content Vault JSON bundles.

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
developmentpythongobashsqldatabase

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add PolyXGO/HeraSpec --skill content-vault-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Content Vault Sync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Content Vault Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/polyxgo-content-vault-sync/badge)](https://www.skillsdirectory.com/skills/polyxgo-content-vault-sync)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: content-vault-sync
description: Data integrity verification, character sanitization, and automated export of channel resources to MTxStudio Content Vault JSON bundles.
projectType: content-channel
---

# Skill: Content Vault Sync & Packaging

## Purpose
Validate and package multi-channel scripts, strategy plans, prompts, and affiliate catalogs into sanitized JSON bundles compatible with MTxStudio's Script & Content Vault (v2).

## When to Use
- After adding or modifying channel scripts, plans, or prompt files
- After scaffolding a new channel to generate its importable package
- To regenerate `all_channels_bundle.json` or `mtxstudio_vault_import.json`

## Critical Operational Constraints
1. **NEVER modify SQLite `mtxstudio.db` directly**: Always export clean JSON files so users can safely import them through the MTxStudio UI without risk of database corruption.
2. **Character Sanitization**:
   - Zero tolerance for en-dash `–` or em-dash `—`. The export script automatically converts them to `-` and `--`.
   - UTF-8 encoding with Vietnamese diacritics preserved (`ensure_ascii=False`).
3. **Type & ContentType Taxonomy**:
   - Categories:
     - Root: `type: "article"`
     - Plan / Docs: `type: "docs"`
     - Posts / Scripts: `type: "article"`
     - Prompts: `type: "prompts"`
     - Music: `type: "music"`
     - Affiliate: `type: "docs"`
   - Scripts:
     - Posts: `contentType: "post"`
     - Master Plan: `contentType: "plan"`
     - Guide / Disclaimer: `contentType: "guide"`
     - Visual Prompts: `contentType: "prompt_image"`
     - Music Prompts: `contentType: "prompt_music"`

---

## Step-by-Step Execution Workflow

### Step 1: Pre-Export Audit
Verify that:
- Channel directories contain `plan.md`.
- Posts in `posts/` follow the 6-part markdown schema.
- No `[Channel]` or `[Kênh]` prefix in channel folder names.

### Step 2: Execute Vault Exporter
Run the export script in the terminal:
```bash
python Facebook/export_vault_json.py
```

### Step 3: Verify Output Bundles
Confirm generation of:
- `Facebook/mtxstudio_vault_import.json` (Full ecosystem ready for 1-click import into MTxStudio)
- `Facebook/all_channels_bundle.json` (Consolidated multi-channel database)
- `Facebook/[Channel-Folder]/[channel_slug]_package.json` (Individual channel standalone bundle)

### Step 4: Validate JSON Syntax & Counts
Ensure the script reports zero syntax errors and accurately counts:
- Total channels / root categories
- Subcategories (4-5 per channel)
- Total script items, prompts, and affiliate links

---

## Universal Activation Prompt Template

```text
Use skill content-vault-sync to synchronize and package channel data:
- Run integrity audit on all channels in Facebook/
- Execute export_vault_json.py to rebuild mtxstudio_vault_import.json and all_channels_bundle.json
- Report total channels, categories, and packaged scripts.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.