wfc-safeclaude

Scans project structure and toolchain to generate categorized command allowlists in a settings file.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sam-fakhreddine/wfc --skill wfc-safeclaude
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wfc-safeclaude
Source: https://github.com/sam-fakhreddine/wfc/tree/main/wfc/skills/wfc-safeclaude
Command: npx skills add https://github.com/sam-fakhreddine/wfc --skill wfc-safeclaude

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the repetitive and time-consuming process of manually approving common commands in Claude Code for each new project, without resorting to dangerous "YOLO" mode that disables all safety guards.

Core Features & Use Cases

  • Project-Specific Allowlists: Scans your project to identify commonly used commands (e.g., git, npm, pytest) and categorizes them by risk.
  • Reduced Friction: Generates a .claude/settings.local.json file that pre-approves safe commands, minimizing interruptions.
  • Configurable Safety: Offers strict read-only modes and allows manual addition/removal of commands.
  • Use Case: When starting a new project, run /wfc-safeclaude to automatically generate an optimized command allowlist, allowing AI agents to execute necessary tasks like git add or npm install without constant user prompts.

Quick Start

Run /wfc-safeclaude to scan your project and generate a safe command allowlist.

Frequently Asked Questions about wfc-safeclaude

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a safe command allowlist for Claude Code?

To create a safe command allowlist for Claude Code, run the Skill to scan your project structure, language, and toolchain, which generates a `.claude/settings.local.json` file pre-approving categorized safe commands. This reduces manual approval friction without disabling all guardrails.

How can I stop Claude Code from repeatedly asking for command approvals?

You can stop repetitive command approvals by generating a project-specific allowlist that categorizes commands by risk. The Skill creates a `.claude/settings.local.json` file to configure allowed commands and file access patterns, minimizing interruptions during tasks like `git add` or `npm install`.

Does this allowlist approach work with different project languages and toolchains?

Yes, the allowlist approach works with different project languages and toolchains by scanning your specific project environment. It proposes safe command sets tailored to your setup, including universal, git, language-specific, and build/CI commands for an optimized configuration.

What is the difference between an allowlist and YOLO mode in Claude Code?

An allowlist pre-approves categorized safe commands to maintain configurable safety, whereas YOLO mode disables all safety guards entirely. The allowlist approach ensures safety by generating a settings file with strict read-only modes and risk-based command permissions.

Can I manually configure file access patterns and commands in the generated settings file?

Yes, you can manually configure file access patterns and commands because the Skill generates a `.claude/settings.local.json` file that allows manual addition or removal of commands. It offers configurable safety with strict read-only modes for your specific project needs.

Why do I need a project-specific settings file for AI safety in Claude Code?

You need a project-specific settings file for AI safety to eliminate the time-consuming process of manually approving common commands for each new project. It configures allowed commands and file access patterns, ensuring safety without resorting to dangerous modes that disable all guardrails.