Logo Omarchy

Omarchy

Cộng đồng
pkyanam
omarchy

REQUIRED for end-user customization of Linux desktop, window manager, or system config. Use when editing ANY file in ~/.config/, ~/.config/hypr/, ~/.config/omarchy/, ~/.config/alacritty/, ~/.config/foot/, ~/.config/kitty/, or ~/.config/ghostty/. Triggers: Hyprland, window rules, window behavior, animations, keybindings, monitors, gaps, borders, blur, opacity, omarchy-shell, bar, widgets, terminal config, themes, fonts, background, night light, idle, lock screen, screenshots, screen recording, reminders, layer rules, workspace settings, display config, appearance changes, and user-facing omarchy commands. Excludes Omarchy source development through `omarchy dev link` workflows.

Tổng quan

Nhà phát hànhpkyanam
Kho mãomarchy-4-pi
Tên kỹ năngomarchy
Sao
28
Bản fork
2
Tệp đi kèm
7
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được pkyanam công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Omarchy trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/pkyanam/omarchy-4-pi/tree/main/default/agents/skills/omarchy
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pkyanam/omarchy-4-pi.git /tmp/omarchy-4-pi
mkdir -p .claude/skills
cp -r /tmp/omarchy-4-pi/default/agents/skills/omarchy .claude/skills/omarchy
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Omarchy trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Omarchy ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Omarchy với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Omarchy Skill

Manage Omarchy Linux systems - a beautiful, fun, agentic Arch Linux distribution with Hyprland.

This skill is for end-user customization on installed systems. It is not for contributing to Omarchy source code.

Topic Guides

Deeper instructions for common areas live next to this file. Read the matching guide before starting:

  • hyprland.md - keybindings, monitors, window rules, and other Hyprland config
  • plugins.md - the Omarchy shell: bar layout, widgets, plugins, idle behavior
  • theming.md - themes, backgrounds, and fonts
  • hooks.md - automation hooks that run on system events
  • capture.md - screenshots, screen recordings, OCR text capture, and file sharing
  • contributing.md - reporting Omarchy bugs and submitting fixes upstream
  • raspberry-pi.md - Omarchy 4 Pi diagnostics, resource limits, updates and boot-specific repairs

Critical Safety Rules

For privileged commands, follow the Privilege Escalation rules below: sudo when a terminal is available for the password prompt, pkexec when it is not. Do not wrap commands that already manage privilege elevation themselves.

For end-user customization tasks, NEVER modify anything in /usr/share/omarchy/ - but READING is safe and encouraged.

This directory is owned by the omarchy package. Any local changes will be overwritten on the next omarchy update.

/usr/share/omarchy/     # READ-ONLY - NEVER EDIT (reading is OK)
├── bin/                    # Command source (packaged binaries are on PATH)
├── config/                 # Default config templates
├── themes/                 # Stock themes
├── default/                # System defaults
├── shell/                  # Omarchy shell source and defaults
├── migrations/             # Update migrations
└── install/                # Installation scripts

Reading /usr/share/omarchy/ is SAFE and useful - do it freely to:

  • Understand how omarchy commands work: omarchy theme set --help or cat $(which omarchy-theme-set)
  • See default configs before customizing: cat "$OMARCHY_PATH/config/omarchy/shell.json"
  • Check stock theme files to copy for customization
  • Reference default hyprland settings: cat /usr/share/omarchy/default/hypr/*

Always use these safe locations instead:

  • ~/.config/ - User configuration (safe to edit)
  • ~/.config/omarchy/themes/<custom-name>/ - Custom themes
  • ~/.config/omarchy/hooks/ - Custom automation hooks

If the request is to develop Omarchy itself, this skill is out of scope. Follow repository development instructions instead of this skill.

Privilege Escalation

For an interactive script or command run in a visible terminal, use sudo for privileged work. Omarchy may grant passwordless sudo access to particular commands, and the terminal is the appropriate place to request a password when one is needed.

Use pkexec only when the caller cannot interact with a terminal or cannot enter a password there, such as a command launched by an agent or a graphical background process. Do not replace sudo with pkexec merely because a command changes system state.

System Architecture

Omarchy is built on:

ComponentPurposeConfig Location
Arch LinuxBase OS/etc/, ~/.config/
HyprlandWayland compositor/WM~/.config/hypr/
Omarchy shellStatus bar + notifications (Quickshell)~/.config/omarchy/shell.json
Launcher/menusQuickshell menu~/.config/omarchy/extensions/omarchy-menu.jsonc
Alacritty/Foot/Kitty/GhosttyTerminals~/.config/<terminal>/
Omarchy OSDOn-screen displayQuickshell plugin

Command Discovery

Omarchy ships a single omarchy CLI that dispatches to all omarchy-* binaries via omarchy <group> <action>. Always prefer this form — it is self-documenting and stable. The underlying omarchy-* binaries still exist on PATH and remain safe to read for source.

bash
# List every documented command and its summary (--all includes hidden commands)
omarchy commands

# Show the commands inside a group
omarchy theme --help
omarchy refresh --help
omarchy restart --help

# Show help for a specific command (does not execute it)
omarchy theme set --help

# Machine-readable listing (binary, route, summary, args, aliases)
omarchy commands --json

# Read a command's source to understand it
cat $(which omarchy-theme-set)

Command Groups

Run omarchy --help for the full list. The most common groups:

GroupPurposeExample
omarchy refreshReset config to defaults (backs up first)omarchy refresh shell
omarchy restartRestart a service/appomarchy restart shell
omarchy toggleToggle feature on/offomarchy toggle nightlight
omarchy themeTheme managementomarchy theme set <name>
omarchy barBar layout and widgetsomarchy bar move omarchy.clock --section right
omarchy pluginManage/clone shell pluginsomarchy plugin clone omarchy.clock
omarchy hookInstall automation hooksomarchy hook install theme-set <script>
omarchy installInstall optional software / packagesomarchy install docker dbs
omarchy launchLaunch appsomarchy launch browser
omarchy captureScreenshots and recordingsomarchy capture screenshot
omarchy reminderDesktop notification remindersomarchy reminder 15 "Pickup Jack"
omarchy pkgPackage managementomarchy pkg add <pkg>
omarchy setupInteractive setup wizardsomarchy setup security fingerprint
omarchy updateSystem updatesomarchy update

Configuration Locations

Hyprland config lives in ~/.config/hypr/ — see hyprland.md. The Omarchy shell (bar, notifications, plugins, idle) is configured in ~/.config/omarchy/shell.json — see plugins.md.

Terminals

~/.config/alacritty/alacritty.toml
~/.config/foot/foot.ini
~/.config/kitty/kitty.conf
~/.config/ghostty/config

Command: omarchy restart terminal

Other Configs

AppLocation
btop~/.config/btop/btop.conf
fastfetch/etc/fastfetch/config.jsonc default; ~/.config/fastfetch/config.jsonc user override
lazygit~/.config/lazygit/config.yml
starship~/.config/starship.toml
git~/.config/git/config

Safe Customization Patterns

Edit User Config Directly

For simple changes, edit files in ~/.config/:

bash
# 1. Read current config
cat ~/.config/hypr/bindings.lua

# 2. Backup before changes
cp ~/.config/hypr/bindings.lua ~/.config/hypr/bindings.lua.bak.$(date +%s)

# 3. Make changes with Edit tool

# 4. Apply changes
# - Hyprland: auto-reloads on save, but MUST validate with `hyprctl reload` and `hyprctl configerrors`
# - Omarchy shell: shell.json and user plugin code under ~/.config/omarchy/plugins/ hot-reload on save
# - Menus/launcher: ~/.config/omarchy/extensions/omarchy-menu.jsonc hot-reloads on save
# - Terminals: apply with `omarchy restart terminal` (reloads running terminals; foot picks changes up in new windows)

Reset to Defaults -- ALWAYS SEEK USER CONFIRMATION BEFORE RUNNING

When customizations go wrong:

bash
# Reset specific config (creates backup automatically)
omarchy refresh shell
omarchy refresh hyprland

# The refresh command:
# 1. Backs up current config with timestamp
# 2. Copies default from $OMARCHY_PATH/config/
# 3. Restarts the component where the refresh needs it (e.g. `refresh shell`)

System Commands

bash
omarchy update                  # Full system update
omarchy version                 # Show Omarchy version
omarchy debug --no-sudo --print # Debug info (ALWAYS use these flags)
omarchy system lock             # Lock screen
omarchy system shutdown         # Shutdown
omarchy system reboot           # Reboot

IMPORTANT: Always run omarchy debug with --no-sudo --print flags to avoid interactive sudo prompts that will hang the terminal.

Troubleshooting

bash
# Get debug information (ALWAYS use these flags to avoid interactive prompts)
omarchy debug --no-sudo --print

# Reset specific config to defaults
omarchy refresh <app>

# Refresh specific config file
# config-file path is relative to ~/.config/
# eg. `omarchy refresh config hypr/hyprland.lua` will refresh ~/.config/hypr/hyprland.lua
omarchy refresh config <config-file>

# Full reinstall of configs (nuclear option)
omarchy reinstall

Decision Framework

When user requests system changes:

  1. Is it a stock omarchy command? Use it directly
  2. Is it a config edit? Edit in ~/.config/, never /usr/share/omarchy/
  3. Is it a theme customization? Follow theming.md; create a NEW custom theme directory
  4. Is it automation? Follow hooks.md; use omarchy hook install and the hook .d directories
  5. Is it a package install? Use omarchy pkg add <pkgs...> (or omarchy pkg aur add <pkgs...> for AUR-only packages)
  6. Is it built-in shell/plugin code? Follow plugins.md; clone it with omarchy plugin clone, never edit the packaged copy
  7. Unsure if command exists? Run omarchy commands (or omarchy <group> --help for one group)

Reminder Requests

When the user asks to set a reminder, use omarchy reminder <minutes> [message] directly. Convert natural language durations to minutes and title-case short reminder labels when appropriate.

bash
omarchy reminder 15 "Pickup Jack"
omarchy reminder 60 "Check laundry"
omarchy reminder show
omarchy reminder clear

Out of Scope

This skill intentionally does not cover Omarchy source development. Do not use this skill for:

  • Editing files in /usr/share/omarchy/ (bin/, config/, default/, shell/, themes/, migrations/, etc.)
  • Creating or editing migrations
  • Running omarchy dev ... commands

Example Requests

  • "Change my theme to catppuccin" -> omarchy theme set catppuccin
  • "Add a keybinding for Super+E to open file manager" -> Check existing bindings first, then use o.rebind to replace one or o.bind to add one in ~/.config/hypr/bindings.lua
  • "Configure my external monitor" -> Edit ~/.config/hypr/monitors.lua
  • "Make the window gaps smaller" -> Edit ~/.config/hypr/looknfeel.lua
  • "Turn on night light" -> omarchy toggle nightlight (for time-based schedules, edit ~/.config/hypr/hyprsunset.conf profiles, then omarchy restart hyprsunset)
  • "Set a reminder to pickup jack in 15 minutes" -> omarchy reminder 15 "Pickup Jack"
  • "Show my reminders" -> omarchy reminder show
  • "Clear all reminders" -> omarchy reminder clear
  • "Customize the catppuccin theme colors" -> Overlay: put an edited colors.toml in ~/.config/omarchy/themes/catppuccin/, then re-apply the theme (see theming.md)
  • "Run a script every time I change themes" -> Install it with omarchy hook install theme-set <script>
  • "Change how workspace labels are rendered" -> Clone omarchy.workspaces, which switches the bar to <username>.workspaces, then edit the clone
  • "Lock after ten minutes" -> Set idle.lock to 600 in ~/.config/omarchy/shell.json
  • "Reset shell/bar to defaults" -> omarchy refresh shell
  • "Record my screen" -> omarchy screenrecord --fullscreen, then omarchy screenrecord --stop-recording (see capture.md)
  • "Report this bug to Omarchy" -> Gather diagnostics and a capture of the problem, then file it (see contributing.md)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Omarchy làm được gì?

REQUIRED for end-user customization of Linux desktop, window manager, or system config. Use when editing ANY file in ~/.config/, ~/.config/hypr/, ~/.config/omarchy/, ~/.config/alacritty/, ~/.config/foot/, ~/.config/kitty/, or ~/.config/ghostty/. Triggers: Hyprland, window rules, window behavior, animations, keybindings, monitors, gaps, borders, blur, opacity, omarchy-shell, bar, widgets, terminal config, themes, fonts, background, night light, idle, lock screen, screenshots, screen recording, reminders, layer rules, workspace settings, display config, appearance changes, and user-facing oma...

Vì sao nên dùng Omarchy trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Omarchy là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Omarchy trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/pkyanam/omarchy-4-pi/tree/main/default/agents/skills/omarchy. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Omarchy?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Omarchy với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Omarchy với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Omarchy có miễn phí không?

Có. Kỹ năng này được pkyanam phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇