autodl-synclisted
Install: claude install-skill 1zqqx/skill-autodl-auto-sync
# AutoDL Sync
Use the scripts bundled with this skill for project synchronization.
Do not manually construct scp or rsync commands when these scripts can
perform the requested operation.
## Project discovery
The synchronization scripts dynamically determine the project root.
They prefer the Git repository root. If the current directory is not
inside a Git repository, they search upward for `.autodl-sync`.
Do not hard-code local project paths.
## Project configuration
Project-specific synchronization settings are stored in:
<project-root>/.autodl-sync
The configuration can define:
- remote SSH host
- remote base directory
- remote project name
- explicit remote directory
- Git-aware or explicit upload exclusions
- additional upload exclusions
- selected or full-project result downloads
- pull exclusions, maximum file size, deletion, and overwrite behavior
- rsync behavior
Read synchronization settings through the provided scripts rather than
duplicating configuration logic.
## Upload code
When the user asks to:
- sync code
- upload code
- deploy current source code
- update the AutoDL copy
run:
scripts/push-code.sh <project-root>
If the project root is already the current working project, the argument
may be omitted.
The upload filter always applies mandatory safety exclusions. In `auto`
mode it uses Git's tracked and non-ignored file list when the repository
root has a `.gitignore`; otherwise it uses configured exclusions. Project
`EXCLUDES_APPEND`