# Linux

> Constraints when operating files in an Linux environment

- Skill: `nazozokc/linux` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nazozokc/linux`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nazozokc/linux/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: nazozokc (https://skillmd.com/u/nazozokc)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nazozokc/linux

---


# Linux File Operation Guidelines

## Forbidden Areas (Absolutely Prohibited)

- System configuration under `/etc/`
- System files under `/usr/`
- Variable data under `/var/`
- Any operation requiring `sudo`
- Direct editing of system packages

## Allowed Areas

- User configuration under `~/.config/`
- Personal files under `~/` (home directory)
- Files within this repository (dotfiles)

## Principles When Operating

- **Only do what's instructed**: Execute only what the user explicitly requested
- **No "while I'm at it"**: Never perform related work without being asked
- **Confirm first**: Report potentially dangerous operations before executing
- **Backup**: Save the current state before making significant changes

## Key Decision Criteria

"Is this a system config?" → If unsure, don't touch it
"Is this a personal config?" → OK if it's within dotfiles

