fetch-from-live

Fetch files from Statik live project servers via SCP using the current directory as the project key.

1|Updated Jan 27, 2015
One-click install
npx skills add https://github.com/Numkil/dotfiles --skill fetch-from-live
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fetch-from-live
Source: https://github.com/Numkil/dotfiles/tree/main/pi/agent/skills/fetch-from-live
Command: npx skills add https://github.com/Numkil/dotfiles --skill fetch-from-live

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Downloads files from Statik live project servers, enabling quick retrieval of production assets and config files when needed.

Core Features & Use Cases

  • Project-aware fetch: infers the project from your current directory and maps to the correct live server.
  • Selective download: retrieves specific files or directories with preserved paths.
  • Secure transfer: uses SCP with pre-configured SSH keys for encrypted transfer.

Quick Start

Fetch a file from the live server with the filename you want to download.

Frequently Asked Questions about fetch-from-live

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

FAQPage Schema
How do I fetch files from a live production server via SCP?

To fetch files from a live production server via SCP, you can use a project-aware script that downloads files while preserving local relative paths. It securely retrieves production assets using pre-configured SSH keys for encrypted transfer.

How does SCP file download resolve the correct live server automatically?

SCP file download resolves the correct live server automatically by deriving the host from the current working directory name. It uses this directory name as the project key to map your local environment to the specific Statik live server.

Do I need SSH keys configured to download production assets from Statik servers?

Yes, you need SSH keys configured to download production assets from Statik servers. The secure transfer mechanism requires your SSH keys to be set up in the ~/.ssh/config directory to authenticate and establish the encrypted SCP connection.

Can I download an entire directory from a live server and keep the same path?

Yes, you can download an entire directory from a live server and keep the same path. The selective download feature retrieves specific files or directories from the Statik project server while preserving their local relative paths for straightforward syncing.

What is the best way to sync local config files with production assets?

The best way to sync local config files with production assets is using a project-aware SCP fetch tool. It retrieves specific files from live Statik servers and preserves the local relative paths, enabling straightforward synchronization of production assets.