Skip to content

Claude Code ​

Use the trailsnap-cli skill in Claude Code to manage your album with AI.

1. Get an access token ​

See Token Settings.

2. Install Claude Code ​

See the official docs: Claude Code setup.

3. Install trailsnap-cli skill ​

Copy the prompt below to your Agent (OpenClaw, Claude Code, Cursor, TRAE, etc.). It will guide you to add the token and finish installation:

text
Help me install trailsnap-cli and the skill: https://trailsnap.cn/install.md
My TrailSnap address is http://localhost:3180
My token is ts_hV5nsCZxxxxx

alt text

Use the Skill ​

Ask Claude in natural language:

"Use the trailsnap-cli skill and list my recent photos taken in Xi'an."
"Where did I travel last National Day? Generate an HTML travel diary for me."

Released under the AGPL-3.0 License