スキル一覧に戻る
artwist-polyakov

ssh-remote-connection

by artwist-polyakov

Набор скиллов для Claude

1🍴 2📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: ssh-remote-connection description: SSH connection to remote servers. Use when you need to execute commands on a remote server, check logs, restart services, or manage Docker containers.

SSH Remote Connection

Universal skill for connecting to remote servers via SSH.

Usage

# Interactive shell
scripts/connect.sh

# Run command directly
scripts/connect.sh "docker compose logs backend --tail 50"

Setup

For Claude Code (local)

  1. Copy config template:

    cp config/.env.example config/.env
    
  2. Fill in config/.env with actual values

  3. Make script executable:

    chmod +x scripts/connect.sh
    

For Cloud Runtime

Set environment variables in your cloud configuration:

  • SSH_HOST — server hostname or IP
  • SSH_USER — SSH username
  • SSH_KEY_PATH — path to private key
  • SSH_KEY_PASSWORD — key passphrase (optional)
  • SERVER_PROJECT_PATH — project directory on server

Important Notes

  • Git operations: Do NOT run git pull on the server. User will handle git sync manually.
  • Code location: Code is in a private repo, changes must be pushed first then pulled by user.
  • Docker: Use docker compose (not docker-compose) on the server.

Example Commands

# View logs
scripts/connect.sh "docker compose logs backend --tail 100"

# Restart service
scripts/connect.sh "docker compose restart backend"

# Rebuild and restart
scripts/connect.sh "docker compose build backend && docker compose up -d backend"

# Check status
scripts/connect.sh "docker compose ps"

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です