claude-skill

Installation
SKILL.md

Claude Code Headless Mode

Use this skill when the job should be executed through Claude Code itself, not solved inline. Focus on commands and workflows that match current stable Claude Code behavior.

Core Rules

  • Treat claude --help on the target machine as the compatibility floor. CLI flags move faster than blog posts and copied examples.
  • Permission rule syntax varies by build. Anthropic docs often show forms like Bash(git diff *), while the installed claude 2.1.71 help on this machine still shows Bash(git:*). Mirror the syntax shown by the target machine's claude --help.
  • Default to the model the user already configured through /model, settings, or ANTHROPIC_MODEL.
  • Do not add --model unless the user explicitly asked for a model override or the workflow must pin a model for reproducibility.
  • Prefer --append-system-prompt over --system-prompt unless replacing the default Claude Code behavior is intentional.
  • Default to safe automation. If the user wants a truly unattended run, use explicit permission rules or dontAsk; reserve bypassPermissions for isolated environments.

Quick Verification

Run these checks before giving advanced advice:

Related skills

More from feiskyer/codex-settings

Installs
92
GitHub Stars
191
First Seen
Jan 23, 2026