Pulp Content
Use this skill when a user has a .pulpcontent archive or local content-pack directory for an installed plugin.
Content packs are valuable because:
- plugin authors ship presets, themes, samples, sample banks, and wavetables without custom installers;
- users get validation, a visible target plugin/content path, and reversible removal;
- runtime plugins consume installed data through
ContentRegistryorPresetManagercontent capabilities.
Trust Boundary
pulp add <name> is for curated developer dependency packages.
pulp kit ... is for developer artifacts that may transform a project.
pulp content ... is for end-user data installed into a plugin-specific content directory.
Trust rules:
- content commands copy data only; they never run package CMake, JavaScript, scripts, dynamic libraries, or network fetches;
.pulpcontentarchives must includefiles.sha256.json, and every payload file must be listed and hash-matched before preview/install/update;- update uses an explicit local path, not registry resolution, and rolls back a replaced version on failure;
- install/update/remove/reveal require safe single-component plugin/package/version ids;
- rescan is metadata-only and records
plugin_idplusmanifest_sha256; - removal deletes only the installed pack root; user edits stay in the plugin's normal user preset path. The OK line names the deleted pack path —
Removed content pack <id> for <plugin> (removed <path>)— for parity withtool uninstall.
Built plugins should embed pulp.plugin-runtime.json via pulp_add_plugin(... CONTENT_CAPABILITIES ... CONTENT_KINDS ...). Agents and in-app installers should preview with that manifest before approval, then install with approved=true. Validate built bundles with ValidationHarness::validate_plugin_runtime_manifest(...).
For generic bundled-audio banks, use capability content.sample-banks.v1,
kind sample-banks, and exports.sampleBanks. Bank manifests use
pulp.sample-bank.v1; their audio paths are relative to the content-pack root
and their lowercase SHA-256 hashes are verified before decode. Preserve future
edit, analysis, and playback metadata under namespaced extensions keys.
Sampler Heritage profile JSON is not a content pack: validate, canonicalize,
inspect, and render it with pulp audio heritage .... Use pulp content only
when a profile and its assets are deliberately packaged as data for an
installed plugin; the Heritage CLI itself neither installs files nor targets a
plugin content root.
Commands
./build/pulp content validate <path> --json
./build/pulp content preview <path> --plugin-runtime <manifest> --json
./build/pulp content install <path> --plugin <plugin-id> --yes
./build/pulp content update <path> --plugin <plugin-id> --yes
./build/pulp content list --plugin <plugin-id> --json
./build/pulp content rescan --json
./build/pulp content reveal <package-id> --plugin <plugin-id> --version <version>
./build/pulp content remove <package-id> --plugin <plugin-id> --version <version> --yes
Use --root <dir> only for tests, CI, or explicit sandboxing. Normal installs use the platform user-data root.
Agent Workflow
- Validate the pack.
- Preview against the trusted plugin runtime manifest when available, and explain content id, version, capabilities, target plugin, supported kinds, and reload/restart policy.
- Preview the install root using
revealor the install plan text. - Install or update only after explicit approval with
--yes. - Use
rescanwhen the index is missing/stale or after manual repair. - Remove only after explicit approval with
--yes. - Never delete user-created presets or files outside the installed pack root.
Use MCP tools when available:
pulp_content_validatepulp_content_previewpulp_content_installpulp_content_updatepulp_content_listpulp_content_rescanpulp_content_removepulp_content_reveal
Related extend surfaces
packages, kits, content, and installable-tools are Pulp's four ways to
extend a project or machine, and they share one lifecycle contract: **add is
validated, remove is confirmed + confined to the surface's own area + names what
it deleted, and both add and remove ship tests.** Pick the right surface and read
the shared contract in