一键导入
syncthing
Check Syncthing sync status between devices. Use when asked about sync status, Syncthing issues, or file synchronization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check Syncthing sync status between devices. Use when asked about sync status, Syncthing issues, or file synchronization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | syncthing |
| description | Check Syncthing sync status between devices. Use when asked about sync status, Syncthing issues, or file synchronization. |
Syncs <SYNC_FOLDER> between <LOCAL_DEVICE> and <REMOTE_DEVICE> bidirectionally.
Before using this skill, replace the placeholders:
| Placeholder | Example | How to find |
|---|---|---|
<SYNC_FOLDER> | ~/projects | The folder you're syncing |
<LOCAL_DEVICE> | macbook | Your local machine name |
<REMOTE_DEVICE> | vps | Remote device name in Syncthing |
<FOLDER_ID> | abc12-xyz34 | Syncthing GUI → Folder → Edit → General → Folder ID |
~/Library/Application Support/Syncthing/config.xml (macOS) or ~/.config/syncthing/config.xml (Linux)<SYNC_FOLDER>/.stignore<FOLDER_ID># Service running?
pgrep -x syncthing > /dev/null && echo "Running" || echo "Stopped"
# Web GUI accessible?
curl -s http://localhost:8384/rest/system/status > /dev/null && echo "GUI OK" || echo "GUI unreachable"
# Get folder status (requires API key from config.xml)
API_KEY=$(grep -oP '<apikey>\K[^<]+' ~/Library/Application\ Support/Syncthing/config.xml)
curl -s -H "X-API-Key: $API_KEY" "http://localhost:8384/rest/db/status?folder=<FOLDER_ID>"
state: idle (done), scanning, syncing, errorneedFiles: Files waiting to download (0 = in sync)pullErrors: Files that failed to syncinSyncFiles vs globalFiles: Local vs total across devicesHealthy sync: needFiles: 0, pullErrors: 0, remote connected
API_KEY=$(grep -oP '<apikey>\K[^<]+' ~/Library/Application\ Support/Syncthing/config.xml)
curl -s -X POST -H "X-API-Key: $API_KEY" "http://localhost:8384/rest/db/scan?folder=<FOLDER_ID>"
# Start
brew services start syncthing
# Stop
brew services stop syncthing
# Start
systemctl --user start syncthing
# Stop
systemctl --user stop syncthing
macOS is case-insensitive, Linux is case-sensitive. Files like README.md and readme.md conflict.
Fix: Add problematic paths to <SYNC_FOLDER>/.stignore:
// Case conflict files
README.md
# Check for errors
API_KEY=$(grep -oP '<apikey>\K[^<]+' ~/Library/Application\ Support/Syncthing/config.xml)
curl -s -H "X-API-Key: $API_KEY" "http://localhost:8384/rest/folder/errors?folder=<FOLDER_ID>"
Review and address GitHub PR comments for the current branch. Use when asked to fetch PR review comments (via gh CLI/API), summarize actionable items, apply code changes, and optionally reply/resolve comments. Targets PRs from the current branch against main.
Create or update a GitHub PR from the current git branch using gh CLI, targeting main. Use when asked to push a branch, create a PR if missing, and update the PR description with UI screenshots saved in a screenshots/ folder (captured via browser-tools). Covers PR creation, screenshot capture, committing screenshots, and PR body updates with blob?raw=1 image URLs.
Set up a new machine with CLI tools and Claude Code configuration. Use when setting up a fresh macOS computer or restoring development environment.