How to use the SimpleHost skill with your AI agent
Natural Language
Just tell your agent what to publish. The skill triggers automatically on phrases like:
“Publish this project”
“Deploy my dist folder”
“Give me a live URL for this”
“Host this HTML file”
“Make this site live”
“Share this as a website”
“Update my site”
Slash Command
You can also invoke the skill directly:
/simplehost ./dist
Or without arguments (the skill will auto-detect what to publish):
/simplehost
Examples
Publish a project
You: "Publish my project to the web"Agent: I'll publish the ./dist directory to SimpleHost. 📦 Scanning files... Found 15 files ⬆️ Uploading 15 files... ✅ Published! 🔗 https://bright-canvas-a7k2.simplehost.dev/
Update an existing site
You: "Update my site with the latest changes"Agent: I'll update bright-canvas-a7k2 with the new build. 📦 Scanning files... Found 15 files Skipped 12 files (unchanged) ⬆️ Uploading 3 files... ✅ Updated! 🔗 https://bright-canvas-a7k2.simplehost.dev/
First-time publish (no account)
You: "Publish this site"Agent: 📦 Scanning files... Found 15 files ⬆️ Uploading 15 files... ✅ Published! 🔗 https://bright-canvas-a7k2.simplehost.dev/ ⚠️ This link expires in 24 hours. Want me to make it permanent? It's free — I just need your email.You: "yes, use me@example.com"Agent: Check your email for a code (XXXX-XXXX).You: "ABCD-1234"Agent: ✅ Done! Your site is now permanent. From now on, all publishes are permanent automatically.
Publish blocked because a private key was found
You: "Publish this site"Agent: I found a private key in your website files. If I publish it like this, other people could see it and misuse it. I can secure it for you before publishing, and I will not change your original project files. Would you like me to do that?You: "yes"Agent: Perfect. I’ll first check whether secure browser-side secret handling is available on this SimpleHost deployment. If it is, I’ll secure the published version and keep your original files untouched.
If secure browser-side secret handling is unavailable
Agent: I found a private key in your website files, and SimpleHost will not publish it publicly in that form. This deployment does not currently allow browser-facing secret proxying, so I can’t safely publish this project with the secret in place. Your original local files are still untouched.
If the user says no
Agent: I can’t safely publish this version because it contains private keys that would be publicly visible. If you want, I can secure it first and then publish it for you.
Ask a product question
You: "Where do I manage secrets in the dashboard?"Agent: Open the Sites page, find your site, click the three dots on the right, then choose Manage Secrets. That opens the Secrets & Proxy panel for that site, where you can store secret values and approve which external hosts the site can connect to.
You: "Why was my publish blocked?"Agent: SimpleHost found something in your website files that looks like a private key. Because website files are public, it blocked the publish to keep that key from being exposed. If secure browser-side secret handling is available, I can help secure the published version without changing your original local files.
Auto-Detection
When you don’t specify a directory, the skill looks for common build outputs:
dist/ — Vite, Rollup, Parcel
build/ — Create React App, Webpack
out/ — Next.js static export
public/ — Static files
.next/out/ — Next.js
If none are found, the agent asks you what to publish.
Tips
Set SIMPLEHOST_API_KEY in your shell profile so the skill can publish permanently without asking for authentication each time.
The skill remembers the slug from the last publish in the conversation, so “update my site” works without specifying the slug again
You can publish single files too — the skill creates a temporary directory automatically
The skill works with any file type: HTML, images, PDFs, videos, ZIP files, etc.
If a publish is blocked because a secret was detected, the agent should explain it in plain language and ask permission before securing anything
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"SimpleHost","colors":{"primary":"#000000","light":"#555555","dark":"#ffffff"},"favicon":"https://mintcdn.com/supalink/n_zlYik35m1_VnrJ/favicon.svg?fit=max\u0026auto=format\u0026n=n_zlYik35m1_VnrJ\u0026q=85\u0026s=83166340d1d5fc54a9813f67b21bcdd4","logo":{"light":"https://mintcdn.com/supalink/vYScRszPkvKjJZMV/images/logo-light.svg?fit=max\u0026auto=format\u0026n=vYScRszPkvKjJZMV\u0026q=85\u0026s=3d93beab199dbf77c3650cb53946d05c","dark":"https://mintcdn.com/supalink/vYScRszPkvKjJZMV/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=vYScRszPkvKjJZMV\u0026q=85\u0026s=3933cf2e5ffd240994da2881862fcd10"},"api":{"mdx":{"server":"https://simplehost.dev"}},"background":{"decoration":null,"color":{"light":"#ffffff","dark":"#0a0a0a"}},"navbar":{"links":[{"label":"Dashboard","href":"https://simplehost.dev/dashboard"}],"primary":{"type":"button","label":"Install Skill","href":"https://docs.simplehost.dev/quickstart"}},"footer":{"socials":{"github":"https://github.com/sk-code-01"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"supalink","hasAudioNarration":false,"actualSubdomain":"supalink","customDomains":["docs.simplehost.dev"],"gitSource":{"type":"github","owner":"sk-code-01","repo":"simplehost-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94a852422c68a7def9e88:success","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":40},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Agent Skill","count":6},{"language":"default","tag":"Documentation","count":4},{"language":"default","tag":"Getting Started","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"skill/usage","slug":"/skill/usage","pageMetadata":{"title":"Usage","description":"How to use the SimpleHost skill with your AI agent","href":"/skill/usage"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to use the SimpleHost skill with your AI agent\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`natural-language`,children:`Natural Language`}),`\n`,_jsx(_components.p,{children:`Just tell your agent what to publish. The skill triggers automatically on phrases like:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`“Publish this project”`}),`\n`,_jsx(_components.li,{children:`“Deploy my dist folder”`}),`\n`,_jsx(_components.li,{children:`“Give me a live URL for this”`}),`\n`,_jsx(_components.li,{children:`“Host this HTML file”`}),`\n`,_jsx(_components.li,{children:`“Make this site live”`}),`\n`,_jsx(_components.li,{children:`“Share this as a website”`}),`\n`,_jsx(_components.li,{children:`“Update my site”`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`slash-command`,children:`Slash Command`}),`\n`,_jsx(_components.p,{children:`You can also invoke the skill directly:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/simplehost ./dist`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Or without arguments (the skill will auto-detect what to publish):`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/simplehost`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`publish-a-project`,children:`Publish a project`}),`\n`,_jsx(CodeBlock,{numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"Publish my project to the web\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: I'll publish the ./dist directory to SimpleHost.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 📦 Scanning files... Found 15 files`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ⬆️ Uploading 15 files...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ✅ Published!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 🔗 https://bright-canvas-a7k2.simplehost.dev/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`update-an-existing-site`,children:`Update an existing site`}),`\n`,_jsx(CodeBlock,{numberOfLines:`10`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"Update my site with the latest changes\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: I'll update bright-canvas-a7k2 with the new build.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 📦 Scanning files... Found 15 files`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Skipped 12 files (unchanged)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ⬆️ Uploading 3 files...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ✅ Updated!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 🔗 https://bright-canvas-a7k2.simplehost.dev/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`first-time-publish-no-account`,children:`First-time publish (no account)`}),`\n`,_jsx(CodeBlock,{numberOfLines:`20`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"Publish this site\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: 📦 Scanning files... Found 15 files`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ⬆️ Uploading 15 files...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ✅ Published!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 🔗 https://bright-canvas-a7k2.simplehost.dev/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ⚠️ This link expires in 24 hours. Want me to make it`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` permanent? It's free — I just need your email.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"yes, use me@example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: Check your email for a code (XXXX-XXXX).`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"ABCD-1234\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: ✅ Done! Your site is now permanent.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` From now on, all publishes are permanent automatically.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`publish-blocked-because-a-private-key-was-found`,children:`Publish blocked because a private key was found`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"Publish this site\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: I found a private key in your website files. If I publish it like this,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` other people could see it and misuse it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` I can secure it for you before publishing, and I will not change your`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` original project files. Would you like me to do that?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"yes\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: Perfect. I’ll first check whether secure browser-side secret handling is`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` available on this SimpleHost deployment.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` If it is, I’ll secure the published version and keep your original files`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` untouched.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`if-secure-browser-side-secret-handling-is-unavailable`,children:`If secure browser-side secret handling is unavailable`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: I found a private key in your website files, and SimpleHost will not`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` publish it publicly in that form.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` This deployment does not currently allow browser-facing secret proxying,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` so I can’t safely publish this project with the secret in place.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Your original local files are still untouched.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`if-the-user-says-no`,children:`If the user says no`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: I can’t safely publish this version because it contains private keys`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` that would be publicly visible. If you want, I can secure it first and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` then publish it for you.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`ask-a-product-question`,children:`Ask a product question`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"Where do I manage secrets in the dashboard?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: Open the Sites page, find your site, click the three dots on the right,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` then choose Manage Secrets.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` That opens the Secrets \u0026 Proxy panel for that site, where you can store`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` secret values and approve which external hosts the site can connect to.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You: \"Why was my publish blocked?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Agent: SimpleHost found something in your website files that looks like a`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` private key. Because website files are public, it blocked the publish`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` to keep that key from being exposed.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` If secure browser-side secret handling is available, I can help secure`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` the published version without changing your original local files.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`auto-detection`,children:`Auto-Detection`}),`\n`,_jsx(_components.p,{children:`When you don’t specify a directory, the skill looks for common build outputs:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`dist/`}),` — Vite, Rollup, Parcel`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`build/`}),` — Create React App, Webpack`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`out/`}),` — Next.js static export`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`public/`}),` — Static files`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`.next/out/`}),` — Next.js`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`If none are found, the agent asks you what to publish.`}),`\n`,_jsx(Heading,{level:`2`,id:`tips`,children:`Tips`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`SIMPLEHOST_API_KEY`}),` in your shell profile so the skill can publish permanently without asking for authentication each time.`]})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The skill remembers the slug from the last publish in the conversation, so “update my site” works without specifying the slug again`}),`\n`,_jsx(_components.li,{children:`You can publish single files too — the skill creates a temporary directory automatically`}),`\n`,_jsx(_components.li,{children:`The skill works with any file type: HTML, images, PDFs, videos, ZIP files, etc.`}),`\n`,_jsx(_components.li,{children:`If a publish is blocked because a secret was detected, the agent should explain it in plain language and ask permission before securing anything`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Usage","description":"How to use the SimpleHost skill with your AI agent","href":"/skill/usage"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Natural Language","slug":"natural-language","depth":2,"children":[]},{"title":"Slash Command","slug":"slash-command","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"Publish a project","slug":"publish-a-project","depth":3,"children":[]},{"title":"Update an existing site","slug":"update-an-existing-site","depth":3,"children":[]},{"title":"First-time publish (no account)","slug":"first-time-publish-no-account","depth":3,"children":[]},{"title":"Publish blocked because a private key was found","slug":"publish-blocked-because-a-private-key-was-found","depth":3,"children":[]},{"title":"If secure browser-side secret handling is unavailable","slug":"if-secure-browser-side-secret-handling-is-unavailable","depth":3,"children":[]},{"title":"If the user says no","slug":"if-the-user-says-no","depth":3,"children":[]},{"title":"Ask a product question","slug":"ask-a-product-question","depth":3,"children":[]}]},{"title":"Auto-Detection","slug":"auto-detection","depth":2,"children":[]},{"title":"Tips","slug":"tips","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"supalink","siteName":"SimpleHost","title":"Usage - SimpleHost","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-31T11:42:44.593Z","originalFileLocation":"skill/usage.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to use the SimpleHost skill with your AI agent\">\u003cmeta data-mint-head name=\"application-name\" content=\"SimpleHost\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Usage - SimpleHost\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to use the SimpleHost skill with your AI agent\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SimpleHost\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.simplehost.dev/skill/usage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://supalink.mintlify.site/_mintlify/api/og/v2?division=Agent+Skill\u0026amp;title=Usage\u0026amp;description=How+to+use+the+SimpleHost+skill+with+your+AI+agent\u0026amp;theme=5658f7a08c29f63336649f6a\u0026amp;signature=a068547ec857057918ed3d57cd168a7047cab30e31f085fab459993b49cdc28f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Usage - SimpleHost\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to use the SimpleHost skill with your AI agent\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://supalink.mintlify.site/_mintlify/api/og/v2?division=Agent+Skill\u0026amp;title=Usage\u0026amp;description=How+to+use+the+SimpleHost+skill+with+your+AI+agent\u0026amp;theme=5658f7a08c29f63336649f6a\u0026amp;signature=a068547ec857057918ed3d57cd168a7047cab30e31f085fab459993b49cdc28f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/supalink/mIEomuMWg-2xLzpm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SimpleHost\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.simplehost.dev/skill/usage\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/skill/usage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.simplehost.dev/#organization\",\"name\":\"SimpleHost\",\"url\":\"https://docs.simplehost.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/supalink/vYScRszPkvKjJZMV/images/logo-light.svg?fit=max\u0026auto=format\u0026n=vYScRszPkvKjJZMV\u0026q=85\u0026s=3d93beab199dbf77c3650cb53946d05c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.simplehost.dev#website\",\"name\":\"SimpleHost\",\"url\":\"https://docs.simplehost.dev\",\"publisher\":{\"@id\":\"https://docs.simplehost.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.simplehost.dev/skill/usage#webpage\",\"url\":\"https://docs.simplehost.dev/skill/usage\",\"name\":\"Usage\",\"description\":\"How to use the SimpleHost skill with your AI agent\",\"dateModified\":\"2026-03-31T11:42:44.593Z\",\"isPartOf\":{\"@id\":\"https://docs.simplehost.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.simplehost.dev/skill/usage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.simplehost.dev/skill/usage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent Skill\",\"item\":\"https://docs.simplehost.dev/skill/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Usage\",\"item\":\"https://docs.simplehost.dev/skill/usage\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.simplehost.dev/skill/usage#article\",\"headline\":\"Usage\",\"name\":\"Usage\",\"description\":\"How to use the SimpleHost skill with your AI agent\",\"url\":\"https://docs.simplehost.dev/skill/usage\",\"mainEntityOfPage\":{\"@id\":\"https://docs.simplehost.dev/skill/usage#webpage\"},\"dateModified\":\"2026-03-31T11:42:44.593Z\",\"publisher\":{\"@id\":\"https://docs.simplehost.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.simplehost.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SimpleHost\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SimpleHost\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/skill/usage.md","siteName":"SimpleHost","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Agent Skill","groups":[{"group":"Agent Skill","pages":[{"title":"Agent Skill","href":"/skill/overview"},{"title":"Installation","description":"Install or refresh the SimpleHost skill for your AI coding agent","href":"/skill/installation"},{"title":"Usage","href":"/skill/usage"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/publish-with-script"}]}]},"basePath":"","title":"Usage - SimpleHost","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":[],"chunks":[]}