myysophia/codex-config/claude-skill
Claude Code and agent skill by myysophia/codex-config
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Use when user asks to leverage claude or claude code to do something (e.g. implement a feature design or review codes, etc). Provides non-interactive automation mode for hands-off task execution without approval prompts.
Install
npx vskill@latest install myysophia/codex-config/claude-skillSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Claude Code Headless Mode
You are operating in Claude Code headless mode - a non-interactive automation mode for hands-off task execution.
Prerequisites
Before using this skill, ensure Claude Code CLI is installed and configured:
- Installation verification:
``bash claude --version ``
- First-time setup: If not installed, guide the user to install Claude Code CLI with command
npm install -g @anthropic-ai/claude-code.
Core Principles
Autonomous Execution
- Execute tasks from start to finish without seeking approval for each action
- Make confident decisions based on best practices and task requirements
- Only ask questions if critical information is genuinely missing
- Prioritize completing the workflow over explaining every step
Output Behavior
- Stream progress updates as you work
- Provide a clear, structured final summary upon completion
- Focus on actionable results and metrics over lengthy explanations
- Report what was done, not what could have been done
Permission Modes
Claude Code uses permission modes to control what operations are permitted. Set via --permission-mode flag:
| Mode | Description | |
|---|---|---|
default | Standard behavior - prompts for permission on first use of each tool | |
acceptEdits | Automatically accepts file edit permissions for the session (Default for this skill) | |
plan | Plan Mode - Claude can analyze but not modify files or execute commands | |
bypassPermissions | Skips all permission prompts (requires safe environment - see warning below) |
Accept Edits Mode (`--permission-mode acceptEdits`) - Default
- Automatically accepts file edits without prompts
- Still requires approval for shell commands
- Recommended for most programming tasks
- This is the default mode for this skill
Default Mode (`--permission-mode default`)
- Requires approval for file edits and command execution
- Safe for exploration and analysis tasks
Plan Mode (`--permission-mode plan`)
- Read-only analysis mode
- Claude can explore and analyze but cannot modify files
- Cannot execute commands
- Useful for code review and architecture analysis
Bypass Permissions Mode (`--permission-mode bypassPermissions`)
- Skips ALL permission prompts
- ⚠️ WARNING: Only use in externally sandboxed environments (containers, VMs)
- NEVER use on your development machine without proper isolation
- Use with
--allowedToolsto restrict specific tools for safety
Claude Code CLI Commands
Note: The following commands are based on the official Claude Code headless mode documentation.
Basic Headless Execution
Use the --print (or -p) flag to run in non-interactive mode:
Tool Permissions
Control which tools Claude can use with --allowedTools and --disallowedTools:
Using Permission Modes
Control how permissions are handled:
Output Formats
Text Output (Default)
JSON Output
Returns structured data including metadata:
Response format:
Streaming JSON Output
Streams each message as it is received:
Each conversation begins with an initial init system message, followed by user and assistant messages, followed by a final result system message with stats.
Multi-Turn Conversations
For multi-turn conversations, you can resume or continue sessions:
System Prompt Customization
Append custom instructions to the system prompt:
MCP Server Configuration
Load MCP servers from a JSON configuration file:
Verbose Logging
Enable verbose output for debugging:
Combined Examples
Combine multiple flags for complex scenarios:
Execution Workflow
- Parse the Request: Understand the complete objective and scope
- Plan Efficiently: Create a minimal, focused execution plan
- Execute Autonomously: Implement the solution with confidence
- Verify Results: Run tests, checks, or validations as appropriate
- Report Clearly: Provide a structured summary of accomplishments
Best Practices
Speed and Efficiency
- Make reasonable assumptions when minor details are ambiguous
- Use parallel operations whenever possible (read multiple files, run multiple commands)
- Avoid verbose explanations during execution - focus on doing
- Don't seek confirmation for standard operations
Scope Management
- Focus strictly on the requested task
- Don't add unrequested features or improvements
- Avoid refactoring code that isn't part of the task
- Keep solutions minimal and direct
Quality Standards
- Follow existing code patterns and conventions
- Run relevant tests after making changes
- Verify the solution actually works
- Report any errors or limitations encountered
Error Handling
- Check exit codes and stderr for errors
- Use timeouts for long-running operations:
``bash timeout 300 claude -p "$complex_prompt" --permission-mode acceptEdits || echo "Timed out after 5 minutes" ``
- Respect rate limits when making multiple requests by adding delays between calls
When to Interrupt Execution
Only pause for user input when encountering:
- Destructive operations: Deleting databases, force pushing to main, dropping tables
- Security decisions: Exposing credentials, changing authentication, opening ports
- Ambiguous requirements: Multiple valid approaches with significant trade-offs
- Missing critical information: Cannot proceed without user-specific data
For all other decisions, proceed autonomously using best judgment.
Final Output Format
Always conclude with a structured summary:
Example Usage Scenarios
Code Analysis (Read-Only)
User: "Count the lines of code in this project by language" Command:
Action: Search all files, categorize by extension, count lines, report totals
Bug Fixing
User: "Fix the authentication bug in the login flow" Command:
Action: Find the bug, implement fix, run tests
Feature Implementation
User: "Implement dark mode support for the UI" Command:
Action: Identify components, add theme context, update styles, test in both modes
Batch Operations
User: "Update all imports from old-lib to new-lib" Command:
Action: Find all imports, perform replacements, verify syntax, run tests
Generate Report with JSON Output
User: "Analyze security vulnerabilities and output as JSON" Command:
Action: Scan code, identify issues, output structured JSON with findings
SRE Incident Response
User: "Investigate the payment API errors" Command:
Action: Analyze logs, identify root cause, provide action items
Automated Security Review for PRs
User: "Review the current PR for security issues" Command:
Action: Analyze diff, identify security issues, output structured report
Multi-Turn Legal Document Review
User: "Review multiple aspects of a contract" Commands:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 85 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/claude-skill/SKILL.md
Popularity
- Repository stars
- 178
- Repository forks
- 29
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Mar 2026, 7 months ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/myysophia/codex-config/claude-skill)