
Claude Skill
When you need to hand work off to the Claude Code CLI rather than solve it inline, this skill writes the right headless commands. It defaults to safe automation with `acceptEdits` mode, skips model flags unless you explicitly want an override, and knows the difference between tool availability and permission approval. The templates cover read-only analysis, edit runs, JSON output, session resumption, and MCP integration. One honest take: the real value is in the permission mode guidance, because `bypassPermissions` sounds tempting but the skill correctly steers you toward explicit allow rules or `dontAsk` unless you're already in a sandbox. It also checks your local `claude --help` output before assuming flag syntax, which matters when the CLI moves faster than blog posts.
- skills.sh installs
- 140
- GitHub stars
- 249
- last updated
- Mar 9, 2026
Install
$ npx -y skills add feiskyer/codex-settings --skill claude-skill --agent claude-codeInstalls into .claude/skills of the current project.
Files
Claude Code Headless Mode
Build and run claude commands for work that should be executed through Claude Code itself.
| Reference | Read it when |
|---|---|
| references/flags-and-permissions.md | The command needs more than -p — permission modes, tool scoping, output formats, flag inventory, installation |
| references/examples.md | You want a worked command for a specific shape of task (read-only analysis, safe edit run, JSON report, resume, MCP, sandboxed unattended run) |
Requires the claude CLI installed and authenticated on the target machine.
Core rules
Sponsors
Details
- Repository
- github.com/feiskyer/codex-settings
- Category
- CLI & Terminal
- License
- MIT
- First seen
- Jun 11, 2026