#!/usr/bin/env bash set -e # Nomarchy Skill Script # Displays the Nomarchy Skill documentation for agents and power users. SKILL_FILE="$HOME/.config/nomarchy-skill/SKILL.md" if [[ ! -f "$SKILL_FILE" ]]; then # Fallback to repo location if managed by nix SKILL_FILE="/etc/nixos/nomarchy/core/home/config/nomarchy-skill/SKILL.md" fi if [[ ! -f "$SKILL_FILE" ]]; then # Final fallback to standard config dir SKILL_FILE="$HOME/.config/nomarchy-skill/SKILL.md" fi if [[ -f "$SKILL_FILE" ]]; then glow "$SKILL_FILE" else echo "Error: Nomarchy Skill documentation not found." exit 1 fi