Generate a beautiful personal homepage (linktree-style) and publish it online for the user. Reads user info from ~/.clacky/agents/USER.md and AI info from ~/.clacky/agents/SOUL.md. Returns a public URL the user can share. Trigger on: "profile card", "homepage", "personal page", "generate my card", "make my card", "publish my card", "生成名片", "做名片", "我的名片", "个人主页", "发布主页", "delete my card", "删除名片", "删除主页".
Generate a beautiful personal homepage and publish it at a public URL.
Read ~/.clacky/agents/USER.md and ~/.clacky/agents/SOUL.md.
Extract everything you can find:
name — display name (fallback: "Friend")occupation — job title or role (fallback: "")bio — short personal description (fallback: "")links — all social/contact links found, preserve their labels. Common ones to look for:
GitHub, Twitter/X, LinkedIn, Website, Blog, Email, Instagram, YouTube, Telegram, WeChat, etc.
Each link: { label, url, type } where type helps pick an icon emoji.ai_name — AI assistant name from SOUL.md (fallback: "Clacky")personality — professional / friendly / creative / concise (from SOUL.md, fallback: "friendly")If the user asked to delete their homepage:
SKILL_DIR.ruby SKILL_DIR/publish.rb delete~/clacky_workspace/personal_website/token.json.Write a complete, self-contained HTML file to /tmp/profile-card.html.
<img src="http...">.
Use system fonts: 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', sans-serif<meta name="viewport"> required, works on phone screens_blank with rel="noopener"made by {ai_name} personal assistant — small, not intrusive<title>: {name}'s Homepage or similar| Type | Emoji |
|---|---|
| github | 🐙 |
| twitter/x | 🐦 |
| 💼 | |
| website/blog | 🌐 |
| 📧 | |
| 📸 | |
| youtube | ▶️ |
| telegram | ✈️ |
| default | 🔗 |
Find the skill directory (same folder as this SKILL.md). Call it SKILL_DIR.
Run:
ruby SKILL_DIR/publish.rb publish \
--name "NAME" \
--html-file /tmp/profile-card.html~/clacky_workspace/personal_website/token.jsonCapture stdout. Extract the URL from the output line starting with ✅.
Tell the user their homepage is live. Share the URL. Be warm and natural.
Example (adapt tone to personality):
Your homepage is live 🌟 → http://localhost:3000/~ya-fei
It's got all your links in one place. Share it anywhere.
4aea278
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.