Token导航 LogoToken导航TokenDH.com
待分类执行命令github未标认证来源可访问许可证需确认审计通过

kittykitty 命令行

Agent Skill

kitty 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,780

周安装

72

GitHub Stars

公开资料未说明

下载量

559
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:kitty(kitty 命令行)
来源仓库:https://github.com/xyenon/agents
仓库路径:skills/kitty
安装命令:
npx skills add https://github.com/xyenon/agents --skill kitty
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/xyenon/agents --skill kitty

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 GitHub 安装,结合原始 README 核验具体用法。
  • 安装前建议确认权限范围和维护状态,避免触发敏感操作。
  • kitty 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Kitty Remote Control Skill

This skill empowers you to manage multiple concurrent processes (like servers, watchers, or long builds) using kitty's remote control feature directly from the Bash tool.

Since you are running inside a kitty terminal, you can spawn new windows or tabs to handle these tasks without blocking your main communication channel.

1. Verify Environment & Check Status

First, verify you are running inside kitty with remote control enabled. You can try listing windows:

kitten @ ls

If this fails, check if $KITTY_LISTEN_ON is set. Note that in some configurations it might be empty even if remote control is enabled (using default sockets).

echo $KITTY_LISTEN_ON

If remote control is not enabled, the user should add allow_remote_control yes to their kitty.conf or start kitty with --allow-remote-control.

2. Spawn a Background Process

To run a command (e.g., a dev server) in a way that persists and can be inspected:

  1. Create a new window in the SAME tab as the agent (recommended): Use $KITTY_WINDOW_ID to ensure the new window stays with you. WID=$(kitten @ launch --match "id:$KITTY_WINDOW_ID" --title "server-log" --keep-focus) echo "Created window with ID: $WID"
  2. Or create a new tab: kitten @ launch --type=tab --title "server-log" --keep-focus
  3. Launch with a command directly: (Use --hold if you want the window to stay open after the command finishes) kitten @ launch --title "server-log" --keep-focus --hold npm start

3. Send Text/Commands to a Window

Send keystrokes to a specific window. Use the window ID for precision, or matching for convenience.

Using ID (Reliable):

kitten @ send-text --match "id:$WID" "npm start\n"

Using Matching (Title):

Note: Use \n for Enter. In some shells, you may need to use $'...' or pipe to ensure the newline is interpreted correctly.

kitten @ send-text --match "title:server-log" "npm start
"
# OR
echo "npm start" | kitten @ send-text --match "title:server-log" --stdin

Or send to all windows:

kitten @ send-text --all "echo hello\n"

4. Inspect Output (Get Text from Window)

Get the current visible text from a window:

kitten @ get-text --match "id:$WID"

Get text including scrollback buffer:

kitten @ get-text --match "title:server-log" --extent=all

Get only the last command output (requires shell integration):

kitten @ get-text --match "title:server-log" --extent=last_cmd_output

5. Focus or Bring Window to Front

Focus a specific window:

kitten @ focus-window --match "id:$WID"

Focus a specific tab:

kitten @ focus-tab --match "title:server-log"

6. Interact with Processes

Send Ctrl+C (Interrupt):

kitten @ send-text --match "id:$WID" "\x03"

Close a window:

kitten @ close-window --match "id:$WID"

Close a tab: (Note: You can close a tab by matching its title or any window ID inside it)

# By ID of a window inside the tab
kitten @ close-tab --match "id:$WID"

# By tab title
kitten @ close-tab --match "title:server-log"

7. Advanced: Window Matching

Kitty supports powerful matching expressions:

  • title:pattern - Match by window title
  • id:number - Match by window ID
  • pid:number - Match by process ID
  • cwd:path - Match by current working directory
  • cmdline:pattern - Match by command line
  • state:focused - Match the focused window
  • state:active - Match the active window

Combine with and, or, not:

kitten @ focus-window --match "title:server and state:active"

8. Get Window/Tab Information

List all OS windows, tabs, and windows as JSON:

kitten @ ls

Get current focused window ID:

kitten @ ls | jq -r '.[].tabs[] | select(.is_focused) | .windows[] | select(.is_focused) | .id'

Parse for specific info:

kitten @ ls | jq '.[].tabs[].windows[] | {id, title, cmdline}'

Summary of Pattern

  1. WID=$(kitten @ launch --title "NAME" --keep-focus [CMD]) - Create window and save ID
  2. kitten @ send-text --match "id:$WID" "CMD\n" - Send command reliably
  3. kitten @ get-text --match "id:$WID" - Read output
  4. kitten @ close-window --match "id:$WID" - Cleanup

Common Remote Control Commands

CommandDescription
kitten @ lsList all windows/tabs
kitten @ launchCreate new window/tab
kitten @ send-textSend text to window
kitten @ get-textGet text from window
kitten @ focus-windowFocus a window
kitten @ focus-tabFocus a tab
kitten @ close-windowClose a window
kitten @ close-tabClose a tab
kitten @ signal-childSend signal to process
kitten @ set-tab-titleChange tab title
kitten @ set-colorsChange terminal colors

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.88%
按下载量换算212

Claude

29.69%
按下载量换算166

Cursor

19.76%
按下载量换算110

Gemini CLI

9.98%
按下载量换算56

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/xyenon/agents --skill kitty 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills