linkly-ai
Installation
SKILL.md
Linkly AI — Document Search (Local + Cloud)
Linkly AI indexes documents on the user's local machine (PDF, Markdown, DOCX, PPTX, EPUB, TXT, HTML, etc.) and can also reach cloud libraries the user has linked via Linkly Web. It exposes them through a progressive disclosure workflow: search → grep or outline → read.
Environment Detection
Before executing any document operation, detect what's available and pick a mode. CLI and MCP are two independent access paths — check both, don't treat MCP as a CLI fallback.
1. Check what's available
Run both checks independently (skip a check if its prerequisite isn't there):
- CLI: if Bash is available, run
linkly --version. Success → CLI is installed. Then runlinkly statusto confirm the desktop app is reachable; if the status reports a connection problem, runlinkly doctor(seereferences/troubleshooting.md). - MCP: check whether MCP tools named
search,find_paths,outline,grep,read,list_libraries, andexploreare accessible in the current environment. They may come from thelinkly-aiserver (local Desktop MCP) or thelinkly-ai-cloudserver (themcp.linkly.aicloud gateway, which exposes both local and linked cloud libraries).