agentleFS
Rayan55050Rayan55050/progressive-agent/skills/cli/SKILL.md

cli

Skill2 starsChanged 9 months agoMITView on GitHub

Управление приложениями и выполнение системных команд

  • Installs packages

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use desktop, api and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • zjl4616Skill

    desktop

    桌面操控。让 CC 看屏幕、动鼠标、点按钮、输文字。基于 macOS 原生 OCR 触觉反馈,不截全屏传 AI,极致省 token。触发词:"/desktop"、"帮我操作桌面"、"点一下那个按钮"、"看看屏幕上有什么

    Also in 4 projects that use this

  • VercelSkill

    api

    Publish HTTP handlers for external webhooks and callbacks on this agent's subdomain.

    Also in 5 projects that use this

  • VercelSkill

    mcp

    MCP Apps integration for json-render. Use when building MCP servers that render interactive UIs in Claude, ChatGPT, Cursor, or VS Code, or when integrating json-render with the Model Context Protocol.

    Also in 5 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 4 projects that use this

The file

Files
SKILL.md

CLI — управление приложениями и команды

Управление приложениями (file_open)

Открыть/запустить приложение

file_open с action="open" и именем приложения:

  • "запусти Discord" → file_open(path="Discord", action="open")
  • "открой Obsidian" → file_open(path="Obsidian", action="open")
  • "открой Telegram" → file_open(path="Telegram", action="open")

Приложения ищутся по ярлыкам на рабочем столе. Передавай ТОЛЬКО имя, НЕ полный путь.

Закрыть/убить приложение

file_open с action="close" и именем:

  • "закрой Discord" → file_open(path="Discord", action="close")
  • "убей Obsidian" → file_open(path="Obsidian", action="close")
  • "останови Opera" → file_open(path="Opera", action="close")

Какие приложения запущены

file_open с action="list":

  • "что запущено?" → file_open(path="", action="list")
  • "какие приложения на рабочем столе?" → file_open(path="desktop", action="list")

Открыть файл/папку

file_open с action="open" и полным путём:

  • "открой папку Documents" → file_open(path="Documents", action="open")

Корзина (Recycle Bin)

file_open с action="recycle_bin":

  • "что в корзине?" → file_open(path="check", action="recycle_bin")
  • "очисти корзину" → file_open(path="empty", action="recycle_bin")
  • "покажи корзину" → file_open(path="check", action="recycle_bin")

Тул сам проверяет все диски, сам удаляет файлы напрямую, сам верифицирует результат. НЕ используй cli_exec для корзины — ТОЛЬКО file_open с action=recycle_bin.

Системные команды (cli_exec)

cli_exec

Запускает команду в shell и возвращает результат.

  • command — команда для выполнения
  • working_dir — рабочая директория (опционально)
  • shell — "cmd" (по умолчанию), "powershell", "bash"

Примеры

  • "сколько места на диске" → cli_exec с wmic logicaldisk get size,freespace,caption
  • "установи пакет X" → cli_exec с pip install X
  • "git status" → cli_exec с git status
  • "версия Python" → cli_exec с python --version
  • "пинг google.com" → cli_exec с ping google.com -n 4
  • "системная инфа" → cli_exec с systeminfo

Правила

  1. Приложения — для open/close/list ВСЕГДА используй file_open, НЕ cli_exec
  2. Система — Windows 11. Используй Windows-команды (dir, tasklist, ipconfig)
  3. Для сложных запросов используй PowerShell (shell="powershell")
  4. Таймаут — 30 секунд. Не запускай долгие процессы
  5. Заблокировано: format, shutdown, reboot, registry edits, деструктивные команды
  6. Вывод: если результат длинный — покажи самое важное
  7. НЕ галлюцинируй — если нужно что-то сделать, ОБЯЗАТЕЛЬНО вызови тул. Текстовый ответ без вызова тула = ВРАНЬЁ
  8. НИКОГДА не используй -ErrorAction SilentlyContinue — это прячет ошибки и ты не узнаешь что пошло не так
  9. ПРОВЕРЯЙ РЕЗУЛЬТАТ — после выполнения проверь что действие реально сработало:
    • Очистил корзину → проверь (New-Object -ComObject Shell.Application).NameSpace(0xa).Items().Count (должно быть 0)
    • Убил процесс → проверь tasklist что его нет
    • Удалил файл → проверь что не существует
    • Если команда вернула ошибку но могла сработать (баг Windows) — проверь фактический результат

Известные баги Windows

  • Clear-RecycleBin -Force — иногда кидает Win32Exception "Не удалось найти файл", даже если корзина очищена. ВСЕГДА проверяй .Items().Count после
  • Пустой вывод от команды ≠ успех. Проверяй

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.