본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)12k · #11578

tmux

하는 일

이 스킬은 tmux로 관리되는 터미널 세션을 에이전트가 살펴보고 입력하게 합니다. 오래 걸리거나 대화형인 명령줄 도구를 계속 유지되는 터미널에서 돌리는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓tmux 세션에서 이미 명령이 실행 중이고 에이전트가 그 출력을 확인하기를 원할 때.
  • ✓대화형 명령줄 도구에 답을 입력해야 할 때.
  • ✓계속 실행될 작업을 위해 백그라운드 터미널 세션을 시작하고 싶을 때.

스킬 링크

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/tmux/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/tmux/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“build라는 이름의 tmux 세션을 확인하고, 빌드가 아직 실행 중인지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 세션과 패널을 나열하고, 화면에 보이는 내용을 읽으며, 요청이 있을 때 키나 텍스트를 보냅니다. 확인 메시지가 무엇을 하는지 이해하기 전에는 승인하지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

tmux

Use for interactive commands that are already running in tmux or need a persistent terminal. Use normal terminal execution for one-shot commands.

Prerequisite

command -v tmux

If the command is absent, tell the user that tmux must be installed; do not silently install it.

Basics

tmux ls
tmux list-windows -t shared
tmux list-panes -t shared:0
tmux capture-pane -t shared:0.0 -p
tmux capture-pane -t shared:0.0 -p -S -

Targets use session:window.pane, for example shared:0.0.

Send input

Send literal text and Enter separately:

tmux send-keys -t shared:0.0 -l -- "Please continue"
tmux send-keys -t shared:0.0 Enter

Special keys:

tmux send-keys -t shared:0.0 C-c
tmux send-keys -t shared:0.0 C-d
tmux send-keys -t shared:0.0 Escape

Use -l -- for arbitrary text. Never approve a confirmation prompt until its target and consequences are understood.

Sessions

tmux new-session -d -s worker
tmux rename-session -t old new
tmux kill-session -t worker

Killing a session is destructive. Do it only when the user requested that outcome or the session was created solely for the current task and is no longer needed.

Helpers

skill_view returns this Skill's baseDirectory. Use it to run:

  • <baseDirectory>/scripts/find-sessions.sh to discover sessions, including custom socket paths.
  • <baseDirectory>/scripts/wait-for-text.sh to wait until pane output contains a pattern.

capture-pane -p writes to stdout, -S - includes full scrollback, and tmux sessions persist across SSH disconnects.

자주 묻는 질문

tmux를 설치하나요?

아닙니다. tmux가 없으면 에이전트가 설치해야 한다고 알려 주며, 조용히 설치하지 않습니다.

세션을 닫을 수 있나요?

네, 하지만 요청하셨을 때나, 현재 작업을 위해서만 만들어졌고 더 이상 필요 없을 때만 닫습니다.

세션과 패널은 어떻게 이름이 붙나요?

대상은 session:window.pane 형식을 사용하며, 예를 들어 shared:0.0과 같습니다.

상세 정보

작성자의 원본 설명

Control tmux sessions and panes for interactive CLIs: discover sessions, capture output, send keys, paste text, and monitor prompts.

repo: EKKOLearnAI/ekko-studio

인기도

GitHub 스타
12k
순위
#11578
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬