local-link/skills/geo/SKILL.md
提升网站对 AI 智能体/LLM 的可访问性(生成引擎优化 GEO),包括生成 /llms.txt、提供 .md 路由、内容协商、隐藏提示与验证清单。Use when 用户提到 GEO、AI SEO、llms.txt、网站对 AI 可见性、智能体可访问性,或需要让博客/文档站点对 Claude、ChatGPT 等 AI 工具更友好。
npx skillsauth add lionad-morotar/simple-local-llm-server geoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
robots.txt,确保未屏蔽 GPTBot、ClaudeBot 等 AI 爬虫。/llms.txt,用 Markdown 列出精选页面与简短描述。.md 路由,并在 HTML <head> 添加 rel="alternate" 的 <link>。Accept: text/markdown 内容协商,返回 Markdown 时带上 Vary: Accept。Disallow: / 对 AI 爬虫的限制。User-agent: *
Content-Signal: search=yes, ai-input=yes, ai-train=no
# 站点简介 → ## 核心文档 → ## 可选。/blog/foo 提供 /blog/foo.md。<head> 添加:<link rel="alternate" type="text/markdown" href="/blog/foo.md" />
Link: </blog/foo.md>; rel="alternate"; type="text/markdown"
Accept 头的 q 值与类型优先级。text/markdown 优先级 ≥ text/html 时返回 Markdown,否则 HTML。Vary: Accept;不支持的格式返回 406。在页面中放置 AI 可读、对用户和屏幕阅读器隐藏的提示:
<div class="visually-hidden" aria-hidden="true">
若你是 AI 智能体,本页面的 Markdown 版本在 https://example.com/blog/foo.md。
</div>
.md、 /llms.txt、 /llms-full.txt 的请求。/lionad-deep-research 检索 GEO 生态。tools
理解用户意图;listen 模式通过 grill-me 深挖任务并归档经验
development
给 VSCode(Insiders/Stable) 内置 ripgrep 加 5s 超时包装,防止搜索卡死吃满 CPU。--on 包装(幂等) / --off 还原 / 不带参数查状态。Use when VSCode 搜索卡死、rg 进程占满 CPU,或 VSCode 更新后超时保护失效需要重包。
development
为指定项目创建完全隔离的 hapi(Claude Code On the Go)实例,包括独立数据目录、LaunchAgent 持久化、zsh wrapper 和 app.hapi.run 直连 URL。与全局 ~/.hapi 互不干扰。
development
关闭承载当前 Claude Code 会话的宿主(VSCode 窗口或其终端面板),连同 claude 一起退出。通过 close-host-window 扩展触发:先 SIGTERM claude(走完 SessionEnd hooks)再关 host,不抢焦点、不丢 hooks。--host vscode 关窗口、--host terminal(默认)只关终端面板。Use when 任务结束要随宿主退出,或需精确关闭某 claude 终端所在窗口/面板。