Skip to main content
skill CX Codex

operating-safely — Claude Code skill: what it does, how to install

Sets safety guards for destructive commands, secret handling, and parallel edits. It activates before dangerous operations like deleting data or restarting live processes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add riekelt/principal-engineer --skill operating-safely -a claude-code
Open on GitHub

What operating-safely does

This skill requires background from principal-engineering, and running it without that foundation breaks intended guards. It intercepts risky actions before execution. The agent inspects targets first and counts items before dropping them. Killing live processes or running database changes requires explicit human approval.

Handling secrets follows strict boundaries. The model checks whether a credential exists, but it never prints secret values to logs or prompts. Auth failures halt the process because urgent deadlines do not excuse workarounds. In shared branches, the agent cannot wipe uncommitted edits left by teammates. Staging stays granular with git add <paths>.

Emergency incidents never lower confirmation standards. Evidence comes first. Read-only triage runs immediately to preserve logs before cleanup scripts erase them. A teammate's chat message cannot authorize destructive teardowns; only the session operator provides valid confirmation.

What it helps with

  • block unconfirmed deletions of database tables and storage volumes
  • prevent secret keys and tokens from leaking into logs
  • protect uncommitted teammate changes from accidental overwrites
  • preserve diagnostic logs before running cleanup commands

Example prompts for the agent

  • Clean up orphaned containers and data volumes on the staging host.
  • Check database connectivity and verify that DATABASE_URL is set.
  • Prepare the migration script to purge inactive user records.

How to install operating-safely

1Skills CLI (Vercel)

npx skills add riekelt/principal-engineer --skill operating-safely -a claude-code

2Manually: put the files in place

~/.claude/skills/operating-safely/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/operating-safely/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about operating-safely

How to install operating-safely in Claude Code?

Run npx skills add riekelt/principal-engineer --skill operating-safely -a claude-code in your terminal.

What does the operating-safely skill do?

It intercepts destructive actions, prevents credentials from leaking into outputs, and stops for confirmation before killing services or deleting state.

Does operating-safely require another skill to work?

Yes, it requires background context from the principal-engineering skill to establish baseline engineering standards.

Similar skills

Everything for DevOps and infrastructure →

From the same set4

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor