मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट7.6k · #13154

delegate-to-agent

यह क्या करती है

यह स्किल बताती है कि ऐप का बटन या वर्कफ़्लो AI काम को एजेंट चैट को कैसे सौंपे। निश्चित action ऐप में रहते हैं, और एजेंट तर्क तथा बहु-चरणीय काम संभालता है। यह ऐप में AI फ़ीचर जोड़ने वाले डेवलपर्स के लिए है।

कब इस्तेमाल करें

  • ✓जब आप ऐसा बटन जोड़ रहे हैं जिसे AI तर्क, रिसर्च या जनरेशन चाहिए।
  • ✓जब किसी वर्कफ़्लो के कई चरण हों जिन्हें यूज़र देख और दिशा दे सके।
  • ✓जब किसी फ़ॉलो-अप कार्रवाई को चैट में एजेंट संभाले।

Skill का लिंक

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/delegate-to-agent/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/delegate-to-agent/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप मेरे ऐप का Summarize बटन दस्तावेज़ को एजेंट चैट में भेज सकते हैं, ताकि मैं सारांश देख सकूं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

ऐप यूज़र का अनुरोध थोड़े सहायक संदर्भ के साथ एजेंट चैट को भेजता है, और साइडबार खोलता है ताकि काम दिखे। एजेंट निजी डेटा ऐप के अधिकृत actions के ज़रिए पढ़ता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Delegate AI Work to Agent Chat

Rule

Use the agent chat for work that needs AI reasoning, research, generation, or multi-step decisions. Keep app actions deterministic; let the agent orchestrate them so the user can see and steer the work.

Start a visible agent turn

Call sendToAgentChat() from the UI and open the AgentSidebar for user-initiated work:

import { sendToAgentChat } from "@agent-native/core/client/agent-chat";

sendToAgentChat({
  message: userRequest,
  context: JSON.stringify({ documentId }),
  submit: true,
  openSidebar: true,
});

Keep the user's request in message. Put only concise supporting context—such as a selected record id, current view, or bounded excerpt—in context. Use attachments or image fields for files and visuals; do not serialize full records or credentials into a prompt. The agent should read private or large data through the app's authorized actions.

Use submit: true when a clear user action already states the intent. Use submit: false to open the composer with a prefill when the user should review or complete the request. Do not auto-submit a generic generation prompt before the user has supplied the request.

Reserve background: true with openSidebar: false for work the product intentionally runs silently, such as a system-initiated task. A button that asks the user to do AI work should open the sidebar.

Keep the boundary clear

  • Use focused actions for provider reads, validation, deterministic transformations, database writes, and other explicit operations.
  • Let the agent choose and sequence those actions for AI-shaped workflows.
  • Keep a user's freeform prompt in the AgentSidebar composer. Use controls for structured parameters; do not add a second prompt or follow-up textbox.
  • Do not call model-provider SDKs, completeText(), or AI SDK generation functions from app UI, actions, or server helpers. Do not make an action a hidden second agent.

Related skills

  • actions — define deterministic operations shared by the UI and agent.
  • context-awareness — provide navigation and selected-record context.
अक्सर पूछे जाने वाले सवाल

क्या हर AI बटन अपने-आप सबमिट होना चाहिए?

नहीं। स्किल कहती है कि केवल तभी अपने-आप सबमिट करें जब यूज़र की कार्रवाई इरादा साफ़ बताए।

क्या बड़े रिकॉर्ड संदेश में भेजने चाहिए?

नहीं। स्किल कहती है कि केवल संक्षिप्त संदर्भ भेजें, और एजेंट को अधिकृत actions से डेटा पढ़ने दें।

पृष्ठभूमि में काम कब अनुमति है?

केवल सिस्टम द्वारा शुरू किए गए कामों के लिए, जिन्हें उत्पाद जानबूझकर चलाता है, न कि उन बटनों के लिए जिन्हें यूज़र दबाता है।

जानकारी

लेखक का मूल विवरण

Route user-facing AI work through the app's agent chat. Use when adding an AI-powered button, workflow, research task, generation flow, or follow-up.

repo: BuilderIO/agent-native

लोकप्रियता

GitHub स्टार
7.6k
रैंकिंग में स्थान
#13154
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

design-exploration

7.6k

यह आपके एजेंट को UI के कई डिज़ाइन विकल्प साथ-साथ दिखाने, आपकी पसंद चुनवाने और फिर चुने डिज़ाइन को सुधारने में मदद करती है।

डिज़ाइनइंटरफ़ेस (UI/UX)

visual-edit

7.6k

यह आपके एजेंट को चल रहे लोकल ऐप को विज़ुअल एडिटर में खोलने देती है, ताकि आप उसकी असली स्क्रीन एक साथ देखकर संपादित कर सकें।

डिज़ाइनइंटरफ़ेस (UI/UX)

turn-into-app

7.6k

यह किसी वर्कफ़्लो, स्प्रेडशीट या प्रोजेक्ट को भरी हुई स्क्रीन वाले विज़ुअल ऐप में बदलती है, जिसके कंट्रोल के पीछे एजेंट काम करता है।

कोडिंगसामान्य कोडिंग

visual-plan

7.6k

यह सादे टेक्स्ट वाली योजना को डायग्राम, फ़ाइल नक्शों, कोड अंश और खुले सवालों वाली इंटरैक्टिव विज़ुअल योजना में बदलती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

मिलती-जुलती skills