contact-widget
하는 일
떠 있는 작은 버튼을 만듭니다. 이 버튼을 클릭하면 채팅 창이 열리며, 환영 메시지, 소셜 미디어 링크, 미팅 예약 버튼, 메시지 입력란을 보여 줄 수 있습니다.
사용하는 경우
- ✓웹사이트에 쉬운 연락 채널을 추가하고 싶을 때.
- ✓웹사이트 방문자에게 빠른 지원을 제공하고 싶을 때.
- ✓고객이 미팅을 쉽게 예약하도록 하고 싶을 때.
스킬 링크
https://github.com/nexu-io/open-design/blob/main/design-templates/contact-widget/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“웹사이트용 채팅 위젯을 만들어 주세요. 미팅 예약 버튼과 WhatsApp, Instagram 링크를 포함해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
HTML 코드 파일을 만들어 웹사이트에 추가할 수 있게 합니다. 이 코드가 채팅의 모습과 버튼을 만들며, 다른 도구는 필요하지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Contact Widget
What this skill produces
A single self-contained HTML file with a floating chat widget that includes:
- Chat bubble — fixed bottom-right circular button, opens/closes the panel
- Welcome home screen — agent avatar + name + online status + greeting message
- Message input — text field with emoji/send icons (UI only; wire to your own backend)
- Social links — row of circular icons (Telegram, WhatsApp, Instagram, Messenger, Discord, Slack — only the ones the user provides)
- Meeting card — optional "Book a meeting" entry with calendar icon, links to user-provided URL (Calendly, Cal.com, Lark, etc.)
- Offline form — fallback contact form (name, email, message) when
is_available=false - Mobile responsive — full-width on small viewports
Output is pure front-end. No tracking, no phone-home, no required external services. Works offline once loaded.
Design direction
Clean, minimal SaaS aesthetic. Looks like a real product widget, not a toy demo:
- Typography: Inter (Google Fonts), 14px base, semi-bold headings
- Colors: A single user-chosen
primary_colordrives the bubble, avatar, send button, and accent. Everything else is a neutral slate palette (#1e293b/#64748b/#f1f5f9). No purple gradients, no glassmorphism, no AI-style rainbow accents. - Radius: 16px on cards, full-round on bubble and avatars
- Shadows: Subtle
0 8px 32px rgba(0,0,0,0.12)on the widget panel,0 4px 12pxon bubble - Spacing: 16px internal padding, 12px gaps between elements
- States: Hover darkens buttons ~5%, active scales bubble 0.95
Inputs
The skill accepts these parameters from the user:
| Input | Type | Default | Description |
|---|---|---|---|
primary_color |
color | #4F7CFF |
Drives bubble, header, send button, accents |
agent_name |
string | Assistant |
Displayed in header greeting |
greeting |
string | Hello! How can I help you today? |
Subtitle in header |
is_available |
boolean | true |
Online status; false shows offline form |
social_telegram |
string | (empty) | Telegram link — omitted if empty |
social_whatsapp |
string | (empty) | WhatsApp link — omitted if empty |
social_instagram |
string | (empty) | Instagram link — omitted if empty |
meeting_url |
string | (empty) | Booking URL (Calendly, Cal.com, etc.) — omitted if empty |
offline_message |
string | We're currently offline. Leave a message and we'll get back to you! |
Shown when is_available=false |
Workflow
- Resolve primary color, agent name, greeting text, online/offline state, social links, and optional meeting URL from the request and known context. Use the documented defaults and omit empty optional links. Ask one consolidated form only if a missing value would materially change the requested widget and cannot be safely defaulted.
- Generate one HTML file with all provided values inlined as literals (no template engine, no
{{ }}placeholders in the output) - Open the widget panel by default on first paint so the preview is useful
- Do not add any
<script src="…">pointing to third-party SDKs unless the user explicitly asks for backend integration. The output must run from disk with zero network calls beyond the Google Fonts CSS.
Backend integration (optional, user-driven only)
The generated widget is a UI artifact and ships zero vendor code by default. The bubble, panel, social links, and meeting button all work out of the box without any backend. Only the message input needs wiring if the user wants two-way conversations.
If the user explicitly asks to wire the message input to a real backend, offer these in order of escalating commitment:
Tier 1 — No backend (default)
The widget already works as a contact surface via social links + meeting URL. Leave it as-is.
Tier 2 — One-shot messages, no chat history
mailto:fallback — replace thesendhandler withwindow.location.href = 'mailto:you@example.com?subject=...&body=' + encodeURIComponent(text). Zero infra, but the visitor's mail client opens.- Own
/api/contactendpoint —fetch('/api/contact', { method: 'POST', body: JSON.stringify({ text }) }). The user owns delivery (SendGrid, Resend, their own SMTP, a Notion/Airtable webhook, etc.).
Tier 3 — Real-time chat (visitor ↔ agent, history, typing, presence)
…
자주 묻는 질문
제가 오프라인이면 어떻게 되나요?
자신을 자리 비움으로 설정하면, 위젯은 사람들이 메시지와 이메일을 남길 수 있는 양식을 보여 줍니다.
이걸 쓰려면 프로그래머가 필요한가요?
아니요. 결과물은 바로 쓸 수 있는 코드 파일입니다. 웹사이트에 복사해 붙여 넣기만 하면 됩니다.
색상과 텍스트를 바꿀 수 있나요?
네, 기본 색상, 에이전트 이름, 환영 메시지를 선택할 수 있습니다.
상세 정보
작성자의 원본 설명
Self-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.
repo: nexu-io/open-design
인기도
- GitHub 스타
- 101k
- 순위
- #867
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
sample-plugin
101k에이전트가 테스트용 메타데이터 파일을 만들도록 합니다. 코드가 다양한 상황에서 올바르게 작동하도록 돕습니다.
aster-atelier
101k클래식한 느낌의 예술 웹사이트를 만들도록 에이전트를 돕습니다. 우아한 이미지, 푸른 하늘, 세리프 글꼴로 영화 같은 분위기를 냅니다.
audio-jingle
101k징글(jingle)과 효과음 같은 오디오를 에이전트가 생성하도록 합니다. 음악과 음성을 만들고 결과를 오디오 파일로 저장할 수 있습니다.
blog-post
101k긴 기사나 블로그 글을 쓰도록 에이전트를 돕습니다. 이미지, 인용문, 작성자 정보를 넣을 공간이 포함됩니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.