composable-mini-apps
하는 일
이 스킬은 공유 워크스페이스에서 작은 앱을 설계하는 방법을 안내합니다. 각 앱은 명확한 하나의 역할을 맡습니다. 한 앱이 동급 앱을 언제 호출해야 하는지, 언제 자체 액션을 써야 하는지 설명합니다. 모듈식 워크스페이스 앱을 만들려는 빌더를 위한 스킬입니다.
사용하는 경우
- ✓기능을 새 작은 앱으로 만들지 기존 앱의 일부로 넣을지 결정할 때.
- ✓작업이 워크스페이스의 다른 앱이 가진 데이터나 기능을 필요로 할 수 있을 때.
- ✓두 작업 흐름이 같은 도우미를 쓰는데, 그 도우미를 어디에 둘지 정해야 할 때.
스킬 링크
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/composable-mini-apps/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“송장 알림 기능은 내 워크스페이스의 별도 작은 앱이어야 할까요, 아니면 청구 앱의 일부여야 할까요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 각 앱에 하나의 역할과 고유한 액션 이름, 자격 증명을 줍니다. 사용자가 요청하거나 작업이 그 앱만 제공하는 무언가를 필요로 할 때만 다른 앱을 호출합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Composable Mini-Apps
Rule
Prefer many one-job apps in a workspace over one oversized app. A headless app can own a provider, dataset, workflow, or specialist action surface without a full UI. This architecture does not make every task a cross-app task: use the current app's actions by default. Call a peer only when the user asks or the outcome requires data, credentials, or a capability only that peer can provide. A peer's availability or ability to enrich the result is not enough. The app that owns an artifact remains responsible for authoring and editing it.
Shape
- Give each mini-app one clear job, a concise
package.jsondescription, and action names that describe the job it owns. - Keep provider credentials and upstream API details in the app that owns that provider or workflow. When a task needs its peer-exclusive data, credentials, or capability, delegate that bounded work instead of copying integration code.
- Use a tiny status/config screen only when users need to inspect state. A pure headless app is fine when its job is invoked by agents, automations, or sibling apps.
- If two workflows only share a helper, put the helper in
packages/shared; keep the workflow actions in separate apps.
Discovery And Invocation
The main agent should discover available siblings before assuming capability:
- Runtime agents receive an
<available-apps>block built fromdiscoverAgents(). Workspace siblings are layered in bydiscoverWorkspaceAgents(). It carries one line per app — enough to know a sibling exists, not enough to know what it can do. - Use the built-in
describe-workspace-appstool for actual capability. It reads each peer's live/.well-known/agent-card.jsonand returns its purpose plus any optional stable machine contracts; passapp: "<id>"for one peer's full description. Use it only when the requested outcome depends on peer-exclusive data or capability and you cannot tell which peer owns it or whether a known peer can provide it, or when the user asks which app can do the job. - Never hand-maintain a markdown or code list of what each workspace app does.
A stale catalog is worse than none: it reads as authoritative while pointing
at capabilities that moved or vanished. An app's purpose belongs in its own
package.jsondescription(which flows into the workspace manifest and the<available-apps>block), and its capabilities belong in its exposed actions — both of whichdescribe-workspace-appsreads live. - UI shells, headless surfaces, and scripts can read the same registry through
GET /_agent-native/agents?selfAppId=<app-id>. - Code or CLI callers should use the first-class message-based A2A invocation
path (
invokeAgent()/agent-native invoke) when they need to ask an app by id, name, or URL. - In the agent loop, use
call-agentwith the sibling app id only when the requested outcome depends on peer-exclusive data or capability, or the user explicitly asks you to involve that app. A sibling's availability or ability to enrich the result is not enough. Never call the current app throughcall-agent; use local actions instead. - Send a natural-language objective by default so the sibling can apply its own
instructions, skills, schemas, data dictionary, credentials, and tools.
invokeAgentAction()orcall-agentwithaction+inputis only for an explicit stable semantic read contract whose complete input is already known. Never expose or call an implementation action as a workaround for slow or failed message delegation.
Send narrow prompts to siblings: name the exact question, relevant ids, date ranges, and expected output shape. Preserve returned ids and URLs verbatim.
Artifact Handoff
Mini-apps should hand off compact artifacts, not giant pasted transcripts or provider dumps. When a mini-app creates something another app may use, return or store an artifact with:
artifactType- what kind of output this is, such asdeal-set,call-evidence,brief,dashboard, orreport.artifactId- the stable app-owned id, file path, or resource id.createdAt- an ISO timestamp.source- provider/app/source ids used to create it.summary- a short human-readable explanation.itemsorrecords- the bounded structured data downstream apps need.links- fully qualified URLs for user-visible artifacts.
Downstream apps should receive artifact ids, URLs, and narrow foll
자주 묻는 질문
모든 작업에 앱 간 호출이 필요한가요?
아니요. 이 스킬은 기본적으로 현재 앱의 액션을 쓰라고 말합니다.
공유 도우미는 어디에 두나요?
이 스킬은 둘 이상의 앱이 쓰는 도우미를 위해 공유 패키지 폴더를 제안합니다.
앱에 화면이 없어도 되나요?
네. 화면이 없는 앱은 에이전트나 다른 앱을 위해 작업을 실행할 수 있습니다.
상세 정보
작성자의 원본 설명
Build focused workspace apps and cross-app workflows, using A2A only when a task needs a peer-owned capability. Use when designing mini-app boundaries.
repo: BuilderIO/agent-native
인기도
- GitHub 스타
- 7.6k
- 순위
- #13147
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
design-exploration
7.6k에이전트가 여러 UI 디자인 방향을 나란히 보여 주고, 사용자가 하나를 고르면 그 디자인을 다듬도록 돕습니다.
visual-edit
7.6k에이전트가 실행 중인 로컬 앱을 시각 편집기에 열어, 실제 화면을 함께 검토하고 편집하도록 돕습니다.
turn-into-app
7.6k워크플로, 스프레드시트 또는 프로젝트를 데이터가 채워진 세련된 시각 앱으로 바꾸고, 컨트롤 뒤에서 에이전트가 작업하도록 합니다.
visual-plan
7.6k일반 텍스트 계획을 다이어그램, 파일 맵, 코드 조각, 열린 질문이 담긴 대화형 시각 계획으로 바꿔 줍니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.