publish
यह क्या करती है
यह स्किल असिस्टेंट को संस्था के लोगों के लिए एक तैयार वेब ऐप, स्टेटस पेज या डैशबोर्ड ऑनलाइन रखने देती है। यह उन टीमों के लिए है जिन्हें एक स्थायी लिंक वाला साझा आंतरिक टूल चाहिए।
कब इस्तेमाल करें
- ✓जब आप चाहते हैं कि चैट खत्म होने के बाद भी डैशबोर्ड या आंतरिक वेब ऐप चलता रहे।
- ✓जब आपको एक साझा स्टेटस पेज चाहिए जिसे टीम के साथी ब्राउज़र में खोल सकें।
- ✓जब कुछ गलत होने पर आप ऐप का पुराना संस्करण वापस लाना चाहते हैं।
Skill का लिंक
https://github.com/yc-software/qm/blob/main/skills-seed/publish/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस सेल्स डैशबोर्ड को एक आंतरिक पेज के रूप में प्रकाशित कीजिए, ताकि मेरी टीम स्थायी लिंक से उसे खोल सके।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
असिस्टेंट ऐप बनाकर उसकी जाँच करता है, फिर उसे एक अलग होस्टेड रनटाइम पर भेजता है। हर रिलीज़ एक संस्करण के रूप में रखी जाती है, इसलिए पुराने संस्करण को वापस लाया जा सकता है। केवल आपका स्कोप और जिनके साथ आप साझा करते हैं वही उसे खोल सकते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Publish (internal apps & dashboards)
Use this skill when the user wants something that outlives the turn and is reachable in a browser — a small web app, an internal API, a status page, a dashboard you generated from a query. Publishing ships your files from the selected sandbox to a separate, long-lived runtime with a stable link.
Publish with the apps tool, action publish. Build the app in the workspace with
files actions write / read; install dependencies and test with execute. Keep the
same explicit sandbox_id throughout writing, building, testing, previewing, and
publishing. Use sandbox only to manage computers, not to run commands.
The app must listen on the PORT env var (the runtime sets it).
Match the house style (the default)
Anything browsable you publish should look designed, not defaulted. Before you build the UI, load the design skills and apply your organization's house style unless the user asked for a different look:
- The deployment's house-style skill — if the Skills index lists a
*-designskill, it carries the org's look as ready-to-paste CSS and design tokens. Start there for the look. taste-skill— the design process: reading the brief, layout, hierarchy, verifying the result, avoiding generic AI-design slop.popular-web-designs— when the user wants a specific visual reference (Stripe, Linear, Vercel…).
This is about the page a person sees — skip it for an internal-only API or a script with no UI.
Publishing
First publish, and every later update — same call, same name, a new immutable version:
apps({ action: "publish", dir: "dist", entrypoint: "node server.js", name: "status-board", sandbox_id: "<selected sandbox ID>" })
Roll back to an earlier version (an instant pointer flip):
apps({ action: "publish", name: "status-board", rollbackTo: 3 })
Give an auto-named deployment a friendly link:
apps({ action: "publish", renameFrom: "s-1176-p-5050", name: "status-board" })
apps action publish returns { id, name, version, url, dataDir? } — give the user the full absolute url, whose path is /d/<name>/.
App bar and editing
On a configured app subdomain, signed-in people who can manage the app automatically see a slim top bar. Chat opens a resizable editing conversation beside the app. Normal app links and refreshes keep editing available for the signed-in session; viewers with read-only access see the app alone.
The bar uses a consistent neutral appearance, independent of the app's theme. Its name follows the app document title. The drawer opens directly into an empty composer; the app identity is supplied as conversation context, not pasted into the draft. The conversation survives app reloads after a publish.
Durable data — where app state must live
The app's disk is reset from source on every relaunch, with one exception: when the
runtime supports durable app data it sets $DATA_DIR (and the publish result reports
dataDir). Everything the app writes under $DATA_DIR survives restarts, redeploys, and
platform recycles.
- Any state the app keeps — write it under
$DATA_DIR. Never beside the code, never in/tmp, never in a JSON file in the app dir: all of that silently vanishes on the next relaunch. - Database: SQLite at exactly
$DATA_DIR/app.db. That specific path gets the strongest durability the runtime offers (continuous replication where enabled — ~seconds of loss window — periodic snapshots otherwise). Other files under$DATA_DIRare snapshotted periodically. - Guard the no-persistence case: if
$DATA_DIRis unset, the runtime has no durable app storage — don't build an app that quietly accumulates state on disk; say so and bake data in or fetch it live instead. - Updating an existing stateful app? If it writes runtime state (a db, uploads,
counters) anywhere else, move that state under
$DATA_DIRas part of the update — do this on your own initiative; the user should never have to ask. Data deliberately baked into the repo (seed/reference files) stays where it is.
Check your work before you call it done
A published app is a new immutable version the moment the runtime accepts it — that is not the same as the app working. So for anything browsable, sanity-check it locally before you publish:
- Run it locally. Start the server in the background on a port — e.g.
PORT=8080 node server.jsviaexecutewit
अक्सर पूछे जाने वाले सवाल
क्या इंटरनेट पर कोई भी ऐप देख सकता है?
नहीं। लिंक आंतरिक है, इसलिए केवल आपका स्कोप और जिनके साथ आप लिंक साझा करते हैं वही उसे खोल सकते हैं।
यहाँ रोलबैक का क्या मतलब है?
हर प्रकाशित संस्करण रखा जाता है, इसलिए ज़रूरत पड़ने पर असिस्टेंट ऐप को पिछले संस्करण पर लौटा सकता है।
क्या ऐप को किसी खास पोर्ट की ज़रूरत है?
हाँ। ऐप को PORT सेटिंग पर सुनना होगा, जो रनटाइम उपलब्ध कराता है।
जानकारी
लेखक का मूल विवरण
Publish a long-lived internal web app, site, or dashboard from the agent computer. Scope-bound (only the owner's scope, plus whoever you share it with, can reach it), immutable versions with rollback, a stable friendly link. No public URL.
repo: yc-software/qm
लोकप्रियता
- GitHub स्टार
- 16k
- रैंकिंग में स्थान
- #10902
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
deploy-qm
16kयह आपके एजेंट को QM पैकेज को Fly.io, AWS या Render पर डिप्लॉय करने और पहला एडमिन सेट करने में मदद करती है।
onboarding
16kयह आपके एजेंट को एक छोटी बातचीत में खाते जोड़ने, आपका काम समझने, आवाज़ चुनने और पहली मदद सेट करने में मदद करती है।
admin
16kयह आपके एजेंट को सत्यापित एडमिन के लिए चैट से संस्था-स्तर की सेटिंग्स देखने और बदलने में मदद करती है, हर बदलाव से पहले पुष्टि के साथ।
browse
16kयह आपके एजेंट को असली स्टेल्थ ब्राउज़र से वेबसाइट पर साइन इन करने और फ़ॉर्म भरने जैसे काम करने देती है। यह पढ़ने के लिए नहीं, कार्रवाई के लिए है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।