Agent Skillsryantsai/KKTerm › terminal-command-planner

terminal-command-planner

GitHub

用于规划安全终端命令,支持本地、SSH、WSL及PowerShell等环境。优先只读检查,避免破坏性操作,提供干跑预览,并处理跨平台语法差异与KKTerm边界限制。

assistant-skills/terminal-command-planner/SKILL.md ryantsai/KKTerm

Trigger Scenarios

请求终端命令 Shell诊断 日志检查 服务检查 命令解释

Install

npx skills add ryantsai/KKTerm --skill terminal-command-planner -g -y
More Options

Non-standard path

npx skills add https://github.com/ryantsai/KKTerm/tree/main/assistant-skills/terminal-command-planner -g -y

Use without installing

npx skills use ryantsai/KKTerm@terminal-command-planner

指定 Agent (Claude Code)

npx skills add ryantsai/KKTerm --skill terminal-command-planner -a claude-code -g -y

安装 repo 全部 skill

npx skills add ryantsai/KKTerm --all -g -y

预览 repo 内 skill

npx skills add ryantsai/KKTerm --list

SKILL.md

Frontmatter
{
    "name": "terminal-command-planner",
    "description": "Plan safe terminal commands for local shells, SSH terminals, PowerShell, Command Prompt, WSL, diagnostics, log inspection, service checks, and approval-based command assistance in KKTerm."
}

Terminal Command Planner

Use this skill when the user asks for terminal commands, shell diagnostics, log checks, service inspection, or command explanations.

Workflow

  1. Determine whether the command targets a local terminal Session, an SSH Session, WSL, PowerShell, Command Prompt, or a generic shell.
  2. Prefer read-only inspection before mutation.
  3. Explain the intent and expected output before suggesting risky or unfamiliar commands.
  4. Keep commands scoped to the named host, path, service, process, or file.
  5. Avoid broad deletes, destructive disk operations, fork bombs, credential dumping, or irreversible system-wide changes.
  6. For mutating commands, offer a safer dry run, preview, backup, or targeted form when practical.
  7. Do not claim a command ran unless a tool result or session context proves it.
  8. If the current shell is unknown, make the shell assumption explicit.
  9. When translating between PowerShell, Command Prompt, WSL, and POSIX shells, call out syntax differences that matter.

KKTerm Boundaries

  • Local Windows shells run through ConPTY; browser previews do not validate local terminal focus or input behavior.
  • SSH uses NativeSsh and can differ from local shell behavior.
  • Secrets must not be pasted into normal chat text.
  • User-facing status belongs in the workspace status bar when changing app state.

Version History

  • b4e2eb1 Current 2026-07-05 14:38

Same Skill Collection

assistant-skills/dashboard-data-visualization/SKILL.md
assistant-skills/dashboard-widget-builder/SKILL.md
assistant-skills/dashboard-widget-designer/SKILL.md
assistant-skills/desktop-accessibility-ui/SKILL.md
assistant-skills/dns-dhcp-troubleshooter/SKILL.md
assistant-skills/firewall-port-troubleshooter/SKILL.md
assistant-skills/network-connectivity-troubleshooter/SKILL.md
assistant-skills/remote-desktop-helper/SKILL.md
assistant-skills/sftp-transfer-helper/SKILL.md
assistant-skills/ssh-troubleshooter/SKILL.md
assistant-skills/tls-certificate-troubleshooter/SKILL.md

Metadata

Files
0
Version
b4e2eb1
Hash
0b038347
Indexed
2026-07-05 14:38

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-14 12:42
浙ICP备14020137号-1 $Map of visitor$