spm — install, manage, and publish AI prompt frameworks like software packages. One command to deploy any framework into any AI tool.
Install the Semantic Package Manager globally via npm or yarn.
npm install -g @prompt.doctor/spmyarn global add @prompt.doctor/spmpnpm add -g @prompt.doctor/spmRequires Node.js 18+. After installation, run spm --version to verify.
Get a framework running in under 60 seconds.
Authenticate
spm loginOpens browser for OAuth. Requires a Prompt.Doctor account.
Search for a framework
spm search "content marketing"Returns matching frameworks from the registry.
Install it
spm install content-velocity-engine --tool gpt4Downloads all modules and generates activation prompts.
Activate in your AI tool
spm activate content-velocity-engine --copyCopies the system prompt to clipboard. Paste into ChatGPT, Claude, etc.
All available spm commands.
spm install <framework-slug>Install a framework from the registry into your current project
$ spm install content-velocity-engineFlags
--tool <name>Target AI tool (gpt4, claude, gemini, dalle, flux)--version <v>Install a specific version (default: latest)--globalInstall to global config, available in all sessions--dry-runPreview what would be installed without writing filesEvery framework is defined by an spm.json manifest at the project root. This file is the single source of truth for metadata, modules, pricing, and compatibility.
Example manifest
{
"name": "content-velocity-engine",
"version": "2.1.0",
"displayName": "Content Velocity Engine",
"description": "A 47-prompt system for producing SEO-optimized content at scale.",
"category": "Content & Copywriting",
"author": {
"name": "Alex Rivera",
"username": "alexrivera",
"email": "alex@example.com"
},
"license": "commercial",
"price": 79,
"tools": ["GPT-4", "Claude", "Gemini"],
"tags": ["content", "seo", "copywriting", "marketing"],
"modules": [
{
"id": "foundation",
"title": "Foundation Layer",
"description": "Core semantic scaffolding and context initialization.",
"promptFile": "./modules/01-foundation.txt",
"promptCount": 8,
"order": 1
},
{
"id": "research",
"title": "Research & Ideation",
"description": "Topic research, keyword clustering, and content angle generation.",
"promptFile": "./modules/02-research.txt",
"promptCount": 12,
"order": 2
},
{
"id": "production",
"title": "Content Production",
"description": "Full-length article, headline, and meta generation prompts.",
"promptFile": "./modules/03-production.txt",
"promptCount": 18,
"order": 3
},
{
"id": "optimization",
"title": "SEO Optimization",
"description": "On-page SEO, internal linking, and schema markup prompts.",
"promptFile": "./modules/04-optimization.txt",
"promptCount": 9,
"order": 4
}
],
"samplePrompts": [
{
"title": "Topic Cluster Generator",
"file": "./samples/topic-cluster.txt",
"tool": "GPT-4",
"free": true
}
],
"changelog": [
{
"version": "2.1.0",
"date": "2026-04-15",
"notes": "Added 6 new SEO optimization prompts. Improved foundation layer for Claude compatibility."
}
],
"requirements": {
"minSpmVersion": "1.0.0"
}
}Field reference
namestringrequiredUnique slug identifier. Lowercase, hyphens only. Must be unique in the registry.
versionstringrequiredSemantic version (semver). Increment on every published update.
displayNamestringrequiredHuman-readable name shown in the marketplace.
descriptionstringrequiredOne-sentence description (max 160 chars). Used in search results.
categorystringrequiredMust match one of the supported category values (see Categories reference).
authorobjectrequiredAuthor metadata. username must match your Prompt.Doctor seller account.
licensestringrequired"commercial" (paid) or "free". Determines marketplace listing type.
pricenumberPrice in USD. Required when license is "commercial". Range: $9–$999.
toolsstring[]requiredCompatible AI tools. Supported: GPT-4, Claude, Gemini, DALL·E, Flux.
modulesModule[]requiredArray of module definitions. Minimum 3 modules required for marketplace listing.
samplePromptsSamplePrompt[]Free preview prompts shown to non-buyers. At least 1 required for marketplace listing.
changelogChangelogEntry[]Version history. Shown on the framework detail page.
Generate a manifest automatically
Run spm init in your framework directory to scaffold a valid spm.json interactively.
spm init my-framework --template advancedBase URL: https://api.prompt.doctor/v1
Authenticated endpoints require a Bearer token. Get your API key from Dashboard → API Keys.
/v1/frameworksList all published frameworks—/v1/frameworks/:slugGet framework metadata by slug—/v1/frameworks/installInstall a framework and get activation prompts/v1/frameworks/:slug/modulesList all modules for a framework/v1/frameworks/:slug/modules/:idGet a single module's activation prompt/v1/frameworks/:slug/activateGet the full system activation prompt/v1/frameworks/publishPublish a framework from a manifest/v1/seller/frameworksList your published frameworks/v1/seller/earningsGet earnings and payout historyExample: Install via API
const res = await fetch('https://api.prompt.doctor/v1/frameworks/install', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
frameworkSlug: 'content-velocity-engine',
targetTool: 'gpt4',
}),
});
const { systemPrompt, modules } = await res.json();
// Paste systemPrompt into your AI tool's system instructionsPublish your framework to the Prompt.Doctor marketplace and earn 70% of every sale.
Create a seller account
Sign up at prompt.doctor/sell and complete identity verification.
Learn more →Initialize your framework
Run spm init to scaffold the project structure and manifest.
$ spm init my-frameworkBuild your modules
Create .txt prompt files for each module. Minimum 3 modules, 20 prompts total.
Validate locally
Run spm validate to check your manifest against the schema.
$ spm validateSubmit for review
Publish as a draft for our 48-hour review process.
$ spm publish --draftGo live
After approval, publish to the marketplace.
$ spm publishRead the full Seller Marketplace Agreement before publishing. It covers quality standards, revenue share, and payout schedules.
Be first to access the Semantic Package Manager. Beta members get early API access, a free framework credit, and direct input on the CLI roadmap.