본문으로 건너뛰기
Skillpedia
에이전트7.6k · #13154

delegate-to-agent

하는 일

이 스킬은 앱 버튼이나 작업 흐름이 AI 작업을 에이전트 채팅으로 넘기는 방법을 설명합니다. 결정적인 액션은 앱에 남고, 에이전트는 추론과 여러 단계 작업을 맡습니다. 앱에 AI 기능을 추가하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓AI 추론, 리서치 또는 생성이 필요한 버튼을 추가할 때.
  • ✓사용자가 지켜보고 조종할 수 있어야 하는 여러 단계 작업 흐름이 있을 때.
  • ✓후속 작업을 채팅의 에이전트가 처리해야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/delegate-to-agent/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“앱의 요약 버튼이 문서를 에이전트 채팅으로 보내서, 제가 요약 과정을 따라갈 수 있게 해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

앱은 사용자의 요청을 짧은 지원 문맥과 함께 에이전트 채팅으로 보내고, 작업이 보이도록 사이드바를 엽니다. 에이전트는 승인된 액션을 통해 비공개 데이터를 읽습니다.

기술 내용 (원본 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 버튼이 자동으로 제출되어야 하나요?

아니요. 사용자의 동작이 의도를 분명히 드러낼 때에만 자동 제출하라고 이 스킬은 말합니다.

큰 레코드도 메시지에 담아야 하나요?

아니요. 간결한 문맥만 보내고, 에이전트가 승인된 액션을 통해 데이터를 읽게 하라고 말합니다.

백그라운드 작업은 언제 허용되나요?

제품이 목적을 가지고 실행하는 시스템 시작 작업에만 허용되며, 사용자가 누른 버튼에는 허용되지 않습니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬