add-index-site
Skill4 starsChanged 9 days agoMITView on GitHub
在 Galok’s Index 首页新增或更新一个站点预览卡,适用于提供站内路径、个人子域名或外部网站 URL,希望访客从首页看到真实预览并点击进入的任务。
In this repository14 other files it gives its agents.
- add-personal-skillSkill
- import-html-articleSkill
- maintain-galok-contentSkill
- build-browser-desktopSkill
- cloudflare-file-claimsSkill
- craft-animationSkill
- excel-live-controlSkill
- html-report-dashboardSkill
- mobile-app-deliverySkill
- pdfSkill
- PresentationsSkill
- ship-software-productSkill
- SpreadsheetsSkill
- web-data-collectionSkill
The file
Files
把站点加到首页
- 从仓库根目录打开
index.html的#sites .sites-grid,按目标地址查找已有卡片。已有站点可原位更新,保留排序与书签。站内入口沿用/world/这样的根路径;外站保留完整的最终 HTTP(S) 地址以及有实际用途的查询参数或片段。 - 打开目标页面核实名称和用途。为新卡写能说明「进去可以做什么」的一句话,中英文分别填写。品牌名可以共用;需要翻译的
h3和简介使用data-en。使用页面自己的公开预览或用户提供的截图;需要登录的页面可用公开落地页或获准展示的图片。 - 从实际页面截取有辨识度的区域,裁成 WebP,放到
home/previews/<slug>.webp。在相邻卡片旁复制a.site-card,替换链接、图片尺寸、标题与简介。普通卡目前用 560 × 295 和懒加载,指定为大卡时参考已有featured卡的 900 × 420。首页加载预览图片,用户点击才进入目标网站。 - 在仓库根目录运行下面的检查(Python、Beautiful Soup 和 Pillow)。用刚添加的实际地址替换参数。它同时核对卡片唯一性、双语简介、预览格式和声明尺寸。
python .agents/skills/add-index-site/scripts/check_site.py "/world/"用 Jekyll 构建后从 /#sites 看手机和桌面效果,在 /?lang=en 核对英文,用键盘进入卡片并验证实际落地页。若用户要求发布,推送后再从正式首页点一次。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

