trailsnap-cli SKILL.md skillA

trailsnap-cli from lc044/trailsnap is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add lc044/trailsnap/trailsnap-cli@git:20260906.ffbc281

Pins git:20260906.ffbc281 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
lc044/trailsnap
Path
skills/trailsnap-cli/SKILL.md
Versions recorded
2
Latest version
git:20260906.ffbc281, committed Sep 6, 2026
First version recorded
Apr 27, 2026
Size
2,440 bytes
Repository stars
894
License
AGPL-3.0

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# TrailSnap CLI 技能

当原生 TrailSnap MCP 工具不可用时,使用 `trailsnap` CLI 查询 TrailSnap;两者同时可用时优先 MCP。

## 功能
1. 根据指定条件(可选过滤参数)查询照片列表。
2. 查询分类标签、相册、位置和人物(面部)信息。
3. 查询某张照片的详细信息。

## 安装

使用以下命令检查是否安装了 `trailsnap` 工具,如果没有安装则可以参考[install.md](install.md)文档进行安装。

```bash
trailsnap -v
```

## 初始配置

首次使用需要配置 API 地址和 `ts_` 开头的只读 Agent Token。用以下命令检查配置:

```bash
trailsnap photos list --limit 1
```

如果收到配置错误,询问用户这两个信息,然后执行;不要把 Token 输出到日志或提交到仓库:
```bash
trailsnap config set --url <API_BASE_URL> --token <YOUR_API_TOKEN>
```

## 使用方法

使用前可以通过 `trailsnap <command> -h` 或 `trailsnap <command> <subcommand> -h` 查看每个命令的详细帮助信息。通常情况下,你需要先根据用户的问题逐步筛选出检索条件(一个简单的[示例](examples/simple.md)),然后查询符合条件的照片列表。

- `locations timeline` 命令能够查到时间和空间上的信息,是一个很好的工具,返回一个足迹时间轴(某一段时间去了那个地方)。
- 除非用户不需要显示照片,否则以合适格式展示照片;使用 `medias get --format url` 获取地址,保留返回值,不要编造路径。
- 在使用之前你需要阅读 [reference.md](reference.md) 文件,了解每个命令的详细参数和选项。
- 如果需要的话,可以参考 [examples/simple.md](examples/simple.md) 文件,了解如何使用该工具。
- Agent Token 仅允许匹配 scope 的读取。不要调用删除、toolbox、任务变更、上传或其他写命令,也不要声称已经修改相册。
- AI 描述、人脸匹配与回忆候选属于推断证据,不应表述为已确认事实。

使用 Python 运行脚本:

```bash
trailsnap <command> <subcommand> [options]
```

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lc044/trailsnap/trailsnap-cli@sha256:da383188949f01b6

The line at the top of this page pins the label git:20260906.ffbc281, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fvlb2xkhnm6w7vxi.svg)](https://markdownregistry.com/a/art_fvlb2xkhnm6w7vxi)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Apr 27, 2026 and Sep 6, 2026, about one every 131 days.

versioncommittedcommitsizeaudit
git:20260906.ffbc281 latest2026-09-06 ffbc281 2,440 BA view · diff
git:20260427.a3dcca62026-04-27 a3dcca6 2,749 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2440 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

lc044/trailsnap · 894 stars · license AGPL-3.0 · pushed 2026-11-07 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_fvlb2xkhnm6w7vxi
GET https://markdownregistry.com/api/v1/resolve?ref=lc044/trailsnap/trailsnap-cli
GET https://markdownregistry.com/api/v1/blob/da383188949f01b657c89f4c677cf3009b5c87de0d2043003ed8e6f8c47eb7f7

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from lc044/trailsnap

humanizer-zh-pro SKILL.md skill
lc044/trailsnap · .agents/skills/humanizer-zh-pro/SKILL.md · 中文降 AI —— 去除中文文本中的 AI 生成痕迹,使其更自然、有人味。适用于编辑或审阅中文文本(公文、月报、论文、 宣传稿、汇报材料等)去除"AI腔"。基于维基百科"AI…
v1.4.10 · audit F · 894 stars
release-publisher SKILL.md skill
lc044/trailsnap · .agents/skills/release-publisher/SKILL.md · 发布并验收 TrailSnap 新版本:汇总提交、同步全项目版本号、更新官网日志与客户端更新清单、执行发布前测试、创建 GitHub Release、监控标签 CI、核验 Release 附件,并生成小红书和公众号文案。Use when…
git:20261026.a70b8b7 · audit A · 894 stars
trailsnap-commit SKILL.md skill
lc044/trailsnap · .agents/skills/trailsnap-commit/SKILL.md · TrailSnap 需求规格、Agent 编码交付、提交与 PR 工作流。Use when implementing TrailSnap requirements, managing platform requirements and…
git:20261026.d687ba3 · audit A · 894 stars
trailsnap-marketing SKILL.md skill
lc044/trailsnap · .agents/skills/trailsnap-marketing/SKILL.md · 为 TrailSnap(行影集)制作新版本宣传与日常运营内容,包括选题、推广计划、海报、小红书和抖音图文/plog、公众号文章及数据复盘。适用于产品曝光与开源 Star 增长;技术发版、代码交付不属于本技能。
git:20261101.bea9228 · audit A · 894 stars
trailsnap-ui-design SKILL.md skill
lc044/trailsnap · .agents/skills/trailsnap-ui-design/SKILL.md · 基于 TrailSnap(行影集)现有设计系统设计、实现和审查前端 UI。适用于 package/website 的新页面、组件、布局、主题、移动端适配与界面改版;纯后端任务和其他项目不适用。
git:20261103.1d8d448 · audit B · 894 stars
AGENTS.md AGENTS.md file
lc044/trailsnap · AGENTS.md
git:20261026.d687ba3 · audit B · 894 stars
CLAUDE.md CLAUDE.md file
lc044/trailsnap · CLAUDE.md
git:20260922.6f240d4 · audit B · 894 stars
album-doctor SKILL.md skill
lc044/trailsnap · package/server/app/service/agent/skills/album-doctor/SKILL.md · 对照片库或指定相册进行体检,并把结构、时间、地点、AI 元数据与安全清理问题转成可选择、可确认、尽量可撤销的计划。
git:20260907.7e0ced0 · audit A · 894 stars
album-organizer SKILL.md skill
lc044/trailsnap · package/server/app/service/agent/skills/album-organizer/SKILL.md · 安全地把照片整理成正式相册,通过预览、用户确认、执行和撤销完成写操作。
git:20260905.63bd1c6 · audit A · 894 stars
memory-detective SKILL.md skill
lc044/trailsnap · package/server/app/service/agent/skills/memory-detective/SKILL.md · 根据模糊的时间、地点、同行人、画面和文字线索找回可能的照片事件,并在用户确认后生成可追溯的回忆故事。
git:20260905.63bd1c6 · audit A · 894 stars
nine-grid-selection SKILL.md skill
lc044/trailsnap · package/server/app/service/agent/skills/nine-grid-selection/SKILL.md · 为朋友圈九宫格选择质量高、重复少、内容与时空分布丰富的照片。
git:20260905.63bd1c6 · audit A · 894 stars
person-timeline SKILL.md skill
lc044/trailsnap · package/server/app/service/agent/skills/person-timeline/SKILL.md · 按年份和事件整理指定人物出现过的照片,展示共同经历、成长变化、地点与同行人,并可生成可追溯的人物故事。
git:20260905.63bd1c6 · audit A · 894 stars

Every file in lc044/trailsnap

Browse by kind, by grade A, or by owner.