Linux Omniscient: Connecting Agents to System Control and Orchestration on Linux

Preface

When using Agents on Linux servers or desktops, a common practice is to let them write shell scripts, check logs, and modify configurations. However, once a task involves window switching, volume, WiFi, serial ports, or cameras, models often can only provide command snippets, lacking unified task routing, security boundaries, and reusable control scripts.

Here, we introduce Linux Omniscient on SkillHub: based on the “Omniscient” three-layer architecture, it modifies the manipulation layer into a set of Python scripts for Linux, retaining the cognition layer, execution layer, and orchestration engine. This makes it suitable for operations and desktop automation scenarios requiring cross “Think—Code—Control Machine” capabilities.

What is this

The introduction of Linux Omniscient on SkillHub is “Omniscient Skill, Linux Edition,” categorized under it-ops-security (page tags correspond to IT Ops & Security, Server Operations, Troubleshooting, etc.). The author is Wang Jiaocheng (波动几何).

The skill pack follows the standard SKILL.md format: it uses a task router to distribute requests to the cognition layer, programming execution layer, or system manipulation layer. For complex multi-step tasks, the orchestration engine combines script commands, code execution, tool calls, other skills, and pure LLM output into a chain. The name field within the package is omniscient, corresponding to the display name Linux Omniscient for the same set of capability definitions.

Official Entry: https://api.skillhub.cn/user_e02e04b8/linux-omniscient
SkillHub Display Page: https://skillhub.cn/skills/linux-omniscient

Visible platform data (as of writing): SkillHub rating 99478, approximately 572 downloads; the display page also shows an AI rating of approximately 4.4/5 and security audit annotations (subject to the page).

Core Functions

The following capabilities are derived from the Linux version of SKILL.md and the scripts/, references/ directories within the package.

Three-Layer Capabilities and Orchestration

  1. Cognition Layer: Four mental operation codes—Direct Use, Refinement, Migration, Construction—used for LLM-centric tasks such as analysis, creation, and solution optimization.
  2. Execution Layer: A “Think → Execute → Fix → Summarize” workflow; runs shell or Python via command execution tools and requires user confirmation for high-risk commands (e.g., rm -rf /).
  3. Manipulation Layer: 18 independent Python scripts covering windows, processes, hardware, network/WiFi, GPU, storage, battery/power, audio, displays, temperature, input devices, serial ports, Bluetooth, IoT, printers, scanners, cameras, and GUI automation.
  4. Orchestration Engine: Unifies the above operations with tool calls and other skills into five types of primitives, supporting decomposition, dependency planning, failure recovery, and conditional/loop orchestration.

System Manipulation Modules (Scripts)

Module Script
Window Management window_manager.py
Process Management process_manager.py
Hardware Control hardware_controller.py
Network & WiFi network_controller.py
GPU gpu_controller.py
Storage/Disk storage_controller.py
Battery & Power battery_controller.py
Audio audio_controller.py
Display display_controller.py
Temperature & Fans thermal_controller.py
Input Devices input_controller.py
Serial Port serial_comm.py
Bluetooth bluetooth_controller.py
IoT iot_controller.py
Printer printer_controller.py
Scanner scanner_controller.py
Camera camera_controller.py
GUI Automation gui_controller.py

Manipulation Layer Convention: Always use the command execution tool to run scripts under scripts/; refer to references/command_reference.md for detailed subcommands, and consult references/security_checklist.md when adding or auditing scripts.

Dependencies (SKILL.md frontmatter)

Python dependencies (excerpt, versions subject to the SKILL.md in the package) include psutil, pyautogui, Pillow, pyserial, requests, bleak, sounddevice, opencv-python, numpy, pytesseract, etc.

System packages (Debian/Ubuntu example, written in dependency.system):

apt-get update && apt-get install -y x11-utils wmctrl xdotool alsa-utils pulseaudio-utils lm-sensors upower sane-utils

Optional virtual environment suggested in documentation:

python3 -m venv ~/.venv/omniscient
~/.venv/omniscient/bin/pip install psutil pyautogui pillow pyserial requests bleak sounddevice opencv-python pytesseract

Installation and Enablement

The SkillHub installation instructions require the Agent to first read https://skillhub.cn/install/skillhub.md, and then install the namespace skill:

Please install `@indiv-wangjiaocheng/linux-omniscient` according to https://skillhub.cn/install/skillhub.md.

If the skillhub CLI is already available on the machine, the skill can be installed to the current Agent’s skills directory (must use --dir, otherwise the default ./skills/ might not be recognized):

command -v skillhub && skillhub --version
skillhub install linux-omniscient --dir ~/.cursor/skills/

Common paths (from SkillHub installation docs):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

If the CLI is not installed, you can execute the official installation script according to the same documentation (internet access required):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Restart or refresh the Agent after installation to enable the skills directory.

Runtime Conventions After Enablement

The manipulation layer uses python3 or /usr/bin/python3 on Linux, with script relative paths pointing to scripts/ within the skill package. After loading this skill, the Agent should select the layer according to the task router in SKILL.md and obtain user confirmation before performing destructive operations.

Typical Usage

The following examples are excerpted from the module invocation instructions in the official SKILL.md and can be reproduced using the command execution tool within the skill directory (first cd to the path containing scripts/).

Process and Window

python3 scripts/process_manager.py start "code"
python3 scripts/window_manager.py list
python3 scripts/window_manager.py activate --title "WeChat"

Network

python3 scripts/network_controller.py wifi scan
python3 scripts/network_controller.py connectivity ping --host baidu.com

GPU (Requires system conditions like nvidia-smi, see script instructions)

python3 scripts/gpu_controller.py info
python3 scripts/gpu_controller.py monitor --interval 2 --count 5

GUI

python3 scripts/gui_controller.py screenshot full
python3 scripts/gui_controller.py visual ocr

Orchestration Example (Logical Level)
The task “Read data, generate report, and lower screen brightness” is decomposed in the documentation as: Window/Screenshot script → Cognitive Planning → Python Processing → hardware_controller.py screen brightness and other primitives executed sequentially. The actual chain is generated by the Agent according to the orchestration protocol; manual writing of all steps is unnecessary.

Scenarios and Notes

Who is it for

  • Those working in Linux desktops or GUI-enabled operations environments who want the Agent to control windows, networks, and peripherals via a unified protocol rather than ad-hoc commands every time.
  • Teams that need to place “writing scripts to run” and “clicking mice, screenshots, serial ports” under the same set of task routing and orchestration rules.

Limitations and Notes

  1. Environment: The manipulation layer relies on X11-related tools (wmctrl, xdotool, etc.) and system packages listed in the documentation; most GUI/window capabilities are unavailable in headless or permission-restricted pure container environments.
  2. Security: Actions like shutting down, killing processes, closing windows, and changing network settings are marked as requiring confirmation; the execution layer also requires confirmation for high-risk shell commands. It is recommended to read references/security_checklist.md and the scripts in the package before installation.
  3. Hardware Differences: Capabilities such as GPU monitoring, Bluetooth BLE, and scanners depend on specific drivers and peripheral tools; some descriptions in the documentation retain cross-platform expressions, but the actual behavior of the Linux scripts prevails.
  4. Version: The SkillHub display page marks the version as approximately v1.0.1; it is a different slug from the Windows-oriented Omniscient skill by the same author, do not mix installation paths.

Conclusion

Linux Omniscient consolidates cognition, code execution, and Linux system manipulation into a single SKILL.md protocol and covers common touchpoints of daily operations and desktop automation with 18 scripts. It is suitable for scenarios where users are already using Agents that support Skills (like Cursor, Claude Code) and wish to extend controllability on Linux.

Official Address: https://api.skillhub.cn/user_e02e04b8/linux-omniscient

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye