Initial commit: Synology DSM API skill

- Add synology_api.py: DSM API client library
- Add synology_api_login.py: CLI tool for login and system info
- Add SKILL.md: Skill definition with usage examples
- Add CLAUDE.md: Developer documentation
- Add references/: Example configs and usage guide

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 17:55:43 +08:00
commit 321456d4e6
8 changed files with 1046 additions and 0 deletions

14
references/env.example Normal file
View File

@@ -0,0 +1,14 @@
# 放在 workspace 根目錄 .env 後Synology skill 會自動讀取
# 對應 references/hosts.json 內的 password_env
DS_PASSWORD_HOME=請改成你的密碼
DS_PASSWORD_OFFICE=請改成你的密碼
# 若你只操作單台,也可沿用這組預設欄位
DS_URL=https://syno.lotimmy.com/
DS_USER=你的帳號
DS_PASSWORD=請改成你的密碼
# 可選:輸出路徑
DS_LOGIN_RESULT=tmp/synology_api_login_result.json
DS_SESSION_FILE=tmp/synology_session.json
DS_SYSINFO_FILE=tmp/synology_system_info.json