- name
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add LC044/TrailSnap --skill trailsnap-cli -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add LC044/TrailSnap --skill trailsnap-cli -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add LC044/TrailSnap --skill trailsnap-cli -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add LC044/TrailSnap --skill trailsnap-cli -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/LC044/TrailSnap/tree/HEAD/skills/trailsnap-cliFrom the publisher
当原生 TrailSnap MCP 工具不可用时,使用 trailsnap CLI 查询 TrailSnap;两者同时可用时优先 MCP。
使用以下命令检查是否安装了 trailsnap 工具,如果没有安装则可以参考install.md文档进行安装。
trailsnap -v
首次使用需要配置 API 地址和 ts_ 开头的只读 Agent Token。用以下命令检查配置:
trailsnap photos list --limit 1
如果收到配置错误,询问用户这两个信息,然后执行;不要把 Token 输出到日志或提交到仓库:
trailsnap config set --url <API_BASE_URL> --token <YOUR_API_TOKEN>
使用前可以通过 trailsnap <command> -h 或 trailsnap <command> <subcommand> -h 查看每个命令的详细帮助信息。通常情况下,你需要先根据用户的问题逐步筛选出检索条件(一个简单的示例),然后查询符合条件的照片列表。
locations timeline 命令能够查到时间和空间上的信息,是一个很好的工具,返回一个足迹时间轴(某一段时间去了那个地方)。medias get --format url 获取地址,保留返回值,不要编造路径。使用 Python 运行脚本:
trailsnap <command> <subcommand> [options]
Query photos, albums, locations, tags, and people from a TrailSnap instance through its command-line client. Use when TrailSnap MCP tools are unavailable and the user asks about their own photo librar
---name: trailsnap-clidescription: Query photos, albums, locations, tags, and people from a TrailSnap instance through its command-line client…---# skills/trailsnap-cli/SKILL.mdOverview
Query photos, albums, locations, tags, and people from a TrailSnap instance through its command-line client. Use when TrailSnap MCP tools are unavailable and the user asks about their own photo library; Agent Tokens are read-only, so do not use this skill to mutate library data.
FAQ
Download skills/trailsnap-cli/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/LC044/TrailSnap.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.