sftp-cc

Upload local project files to a remote server via SFTP.

2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/toohamster/sftp-cc --skill sftp-cc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sftp-cc
Source: https://github.com/toohamster/sftp-cc/tree/main
Command: npx skills add https://github.com/toohamster/sftp-cc --skill sftp-cc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

sftp-cc reduces the manual, error-prone process of uploading local project files to a remote server by providing Claude Code driven SFTP operations. It enables incremental pushes, private key binding, and automatic permission handling with zero external dependencies.

Core Features & Use Cases

  • Incremental uploads: detects changes since the last push and only uploads changed or new files, while performing a safe initial full upload.
  • Private key binding and secure access: automatically binds keys and ensures proper permissions for SSH keys.
  • Remote deployment and configuration: creates remote directories as needed, supports language-specific config, and can deploy public keys to servers for passwordless authentication.
  • Use cases include rapid code deployment after edits, setting up fresh servers for Claude Code plugins, and automating routine server syncs.

Quick Start

Install the skill in your Claude Code project, run the interactive configuration to provide host, username, and remote path, place your SSH private key in the configured directory, then tell Claude: "sync code to server" to start uploads.

Frequently Asked Questions about sftp-cc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate SFTP uploads with Claude Code?

You can automate SFTP uploads by installing this skill and telling Claude Code to sync code to your server. It uses pure shell scripts to push local project files via SFTP and automatically binds your SSH private key for secure access.

How do I set up incremental SFTP uploads to avoid transferring unchanged files?

Incremental SFTP uploads are handled automatically by detecting file changes since the last push. The skill performs a safe initial full upload first, then only transfers new or modified files on subsequent syncs to save bandwidth.

Do I need external dependencies or libraries to deploy files via SFTP using shell scripts?

No external dependencies are required to deploy files via SFTP. The implementation relies purely on standard OpenSSH tools and built-in Unix commands, ensuring zero external library requirements and broad compatibility.

Can I automatically create remote directories during an SFTP file transfer?

Yes, remote directories are created automatically as needed during the SFTP file transfer. The skill handles on-demand remote directory creation, ensuring your local project file structure is correctly mirrored on the target server.

How do I configure SSH private key binding for automated remote server deployment?

SSH private key binding is configured through an interactive setup where you provide your host, username, and remote path. You place your SSH key in the configured directory, and the skill ensures proper permission handling for passwordless authentication.

What is the best way to sync code to a remote server after local edits?

The best way to sync code to a remote server after edits is triggering an incremental SFTP upload via Claude Code. This approach detects changed files, creates remote directories if necessary, and securely pushes updates using bound SSH keys.