본문으로 건너뛰기
cccskills
무료GitHub에 공개

ls-system-changes-backup

Security and safety (conservative), backup management, temporary file management, firewall management. Use for destructive ops, system config changes, backups, temp files, or when adding services.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Safety, Backup, Temp Files, Firewall

Use this skill as an instruction-only safety gate for destructive operations, system configuration changes, backups, temporary files, and service exposure. It does not ship shell helpers. When automation is added, implement it as Python framework tooling that follows ls/docs/TOOLING_POLICY.md and ls/docs/INPUT_HARDENING_STANDARD.md.

Safety Gate

  • Default posture: Favor data safety, least privilege, and reversible changes over convenience.
  • Classify risk before acting:
    • CRITICAL: Data loss, disk operations, credential exposure, user/group deletion, broad permission changes, recursive deletion, or changes under /usr, /etc, /bin, /sbin, or comparable system paths.
    • HIGH: Firewall changes, system service changes, package removal, privileged installation, or changes that affect every user on the host.
    • MEDIUM: Application-level changes, repo-local generated state, or service restarts with limited blast radius.
    • LOW: Read-only inspection and clearly reversible local edits.
  • Confirm CRITICAL/HIGH work: State the exact command or edit, likely consequences, affected users/services/files, rollback path, and safer manual option. Proceed only after explicit confirmation.
  • Prefer dry runs: Use read-only discovery, --check, --dry-run, --diff, or equivalent modes when a tool supports them.

Backup Workflow

  • Back up first: Before editing sensitive config or persistent state, copy the original to the same directory or a user-approved backup directory using original_filename.YYYYMMDD_HHMMSS.backup.
  • Preserve metadata: Keep ownership, mode, timestamps, and symlink behavior clear. Use platform tools that preserve metadata when that matters.
  • Handle large files deliberately: For files larger than 100 MB, warn about disk impact and ask whether to back up, snapshot, or skip.
  • Verify rollback: Before making the change, confirm the backup exists and describe the restore command or manual restore step.
  • Respect user choice: If the user declines a backup for the current session, state that residual risk before continuing.

Temporary Files

  • Use safe locations: Prefer repo-local ignored temp directories for project work, or the platform temp directory for disposable host work.
  • Use unique names: Include a short task label and timestamp or use the platform's secure temp-file creation API.
  • Clean up promptly: Remove temp files when the operation completes. In Python tooling, use tempfile.TemporaryDirectory() or try/finally for cleanup.
  • Avoid secrets in temp files: If unavoidable, restrict permissions, minimize lifetime, and delete the file before reporting completion.

Firewall And Service Exposure

  • Do not assume a firewall tool: Detect the host policy first. Common controls include UFW, firewalld, nftables, cloud security groups, container network rules, and reverse proxy ACLs.
  • Default scope is narrow: Prefer loopback or LAN-only exposure unless the user explicitly asks for public internet access.
  • Document every rule: Record service name, port, protocol, allowed source range, reason, and rollback command before applying a change.
  • Validate after change: Check the service bind address, active firewall rule, and connectivity from the intended source only.
  • Rollback ready: Keep the exact command or control-plane action needed to remove the rule.

Automation Policy

  • This skill currently provides guidance only; it has no scripts/ directory and no helper library API.
  • Do not invent references to unshipped helpers or missing docs.
  • New helpers must be Python, use explicit argument parsing, reject unsafe command strings, emit actionable stderr on failure, and avoid shell interpolation of untrusted input.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 22일 업데이트

CruxExperts의 스킬 모두 보기

이 스킬의 문제 신고