skills/automation-skills/autonomous-github-sync/SKILL.md
Autonomous GitHub commit and push operations using Google Drive as an intermediary. Use when you need to commit and push code changes to the user's GitHub repository without manual intervention. Works by syncing files through Google Drive to the user's local machine, then committing and pushing automatically.
npx skillsauth add abcnuts/manus-skills autonomous-github-syncInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Enable Manus to commit and push changes to GitHub repositories without requiring manual user intervention.
Use this skill when:
The sync workflow uses Google Drive as a bridge between the Manus sandbox and the user's local machine:
After making changes to repository files in the sandbox, upload them to a Google Drive folder:
# Create a deployment package with changed files
mkdir -p /tmp/repo-sync
cp /path/to/changed/file1.js /tmp/repo-sync/
cp /path/to/changed/file2.html /tmp/repo-sync/
# Upload to Google Drive
rclone copy /tmp/repo-sync manus_google_drive:repo-sync-$(date +%s) --config /home/ubuntu/.gdrive-rclone.ini
# Get the folder ID for the user
rclone lsd manus_google_drive: --config /home/ubuntu/.gdrive-rclone.ini | grep repo-sync
Tell the user to run the sync script on their local machine:
python3 ~/gdrive_to_repo_sync.py <gdrive_folder_name> <local_repo_path> "<commit_message>"
Example:
python3 ~/gdrive_to_repo_sync.py repo-sync-1707543210 /Users/username/my-repo "feat: add demographic data collection"
Check GitHub or ask the user to confirm the push was successful.
If Google Drive sync isn't set up, fall back to the patch method:
# Create patch file
cd /path/to/sandbox/repo
git format-patch origin/main --stdout > /tmp/changes.patch
# Upload patch to Google Drive
rclone copy /tmp/changes.patch manus_google_drive: --config /home/ubuntu/.gdrive-rclone.ini
rclone link manus_google_drive:changes.patch --config /home/ubuntu/.gdrive-rclone.ini
Then instruct the user:
# Download patch from Google Drive link
cd /path/to/local/repo
git am < ~/Downloads/changes.patch
git push origin main
To enable autonomous sync, the user needs to:
Copy the sync script to their home directory:
cp /home/ubuntu/skills/autonomous-github-sync/scripts/gdrive_to_repo_sync.py ~/
Install rclone on their local machine (if not already installed):
# macOS
brew install rclone
# Linux
sudo apt install rclone
Configure rclone with the same Google Drive account:
rclone config
# Follow prompts to add Google Drive remote named "manus_google_drive"
Test the sync:
python3 ~/gdrive_to_repo_sync.py test-folder /path/to/repo "test commit"
"Repository not found" when pushing:
git remote -v in the local repositorygh auth login or configure SSH keys"rclone not found":
Files not syncing:
tools
Generate comprehensive demonstrations showing how to access projects and work across different environments (Manus terminals, personal computers, team collaboration). Use when users ask "how do I access this from another terminal/computer", "how do I share this with my team", "how do I get this on my Mac", or need clarification on Manus persistence vs GitHub usage.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
development
Use when implementing any feature or bugfix, before writing implementation code