Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Ssh Long Session

ASecurity

Manage long-running remote SSH jobs through tmux and inspect their output safely.

170 stars
0 votes
0 copies
1 views
Added 9/11/2026
tools

Security Analysis

A100/100

Scanned 9/11/2026

$npx -y skills add InternScience/DrClaw --skill ssh-long-session --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ssh Long Session?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Ssh Long Session
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/internscience-ssh-long-session/badge)](https://www.skillsdirectory.com/skills/internscience-ssh-long-session)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: ssh-long-session
description: Manage long-running remote SSH jobs through tmux and inspect their output safely.
i18n:
  zh:
    name: SSH Long Session
    description: 通过 tmux 管理远程长任务并安全查看输出。
---

# SSH Long Session

Use this when a remote command may run longer than one response window.

## When To Use

- The remote job may take minutes or hours.
- You need to come back later and inspect the latest output.
- A plain `ssh host 'cmd'` call would likely timeout or produce too much output.

## Main Tools

1. `start_remote_tmux_session`
2. `get_remote_tmux_session_status`
3. `list_remote_tmux_sessions`
4. `terminate_remote_tmux_session`

## Recommended Flow

1. Use normal `exec` for short remote commands.
2. For a long job, call `start_remote_tmux_session` with:
   - `host`
   - `command`
   - optional `remote_cwd`
   - optional `session_name`
3. Save the returned `session_id` in your reasoning and user response when relevant.
4. Later, call `get_remote_tmux_session_status(session_id=...)` to inspect progress.
5. Prefer the returned log tail. The tool only falls back to `tmux capture-pane` if the log is unavailable.
6. When the job is no longer needed, call `terminate_remote_tmux_session`.

## Important Notes

- Prefer stable `session_name` values only when you intentionally want a recognizable remote tmux name.
- Do not start a duplicate remote session if `list_remote_tmux_sessions` already shows the same job running.
- Keep commands non-interactive. Interactive prompts will stall inside tmux.
- The remote job writes output to a remote log file so status checks stay bounded.
- Use `tail_lines` in `get_remote_tmux_session_status` to keep output concise.

Attribution

InternScienceInternScience
View sourceSee grades on GitHubMore from InternScience →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

ucoz-landing-skill

Create and edit uCoz homepage landing pages via MCP: custom templates, hero sections, lead forms, navigation menus, SEO, and responsive layout. Includes a visual design system (style selection, layout/grid, section recipes, typography/spacing, color tokens, component states, icons, modern CSS/JS, motion, imagery, social proof, copy/voice, accessibility). Uses ucoz-mcp tools for templates, site file uploads, and site modules.

107 votes

Paperclip

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

953191 votes

Pptx

Presentation toolkit (.pptx). Create/edit slides, layouts, content, speaker notes, comments, for programmatic presentation creation and modification.

471861 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Instantly Rdsthomas Mission Control

Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.

761 votes
View all in tools →