init-claude

Initialize Claude Code's .claude/ infrastructure with Agents, Rules, and Skills.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/Fandhe-AI/agent-cli-skills --skill init-claude-fandhe-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-claude
Source: https://github.com/Fandhe-AI/agent-cli-skills/tree/main/skills/init-claude
Command: npx skills add https://github.com/Fandhe-AI/agent-cli-skills --skill init-claude-fandhe-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, git, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the setup of Claude Code's .claude/ infrastructure for any given repository, simplifying the process of initializing the Claude Code ecosystem.

Core Features & Use Cases

  • Infrastructure Setup: Automates the creation of .claude/ directory structure, including CLAUDE.md, Agents, Rules, and Skills.
  • Predefined Configuration: Applies a predefined configuration of Agents, Rules, and Skills optimized for Claude Code operations.
  • Customizable: Allows for customization of the Agents and Rules based on the repository's specific needs.
  • Use Case: Ideal for repositories that require a standardized setup for Claude Code integration.

Quick Start

Run the init-claude command followed by the path to the target repository.

Frequently Asked Questions about init-claude

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

FAQPage Schema
How do I set up Claude Code infrastructure for a new repository?

Setting up Claude Code infrastructure requires initializing the .claude/ directory to create Agents, Rules, and Skills configurations. This infrastructure setup automates language detection and applies predefined default configurations optimized for Claude Code operations.

What is included in the .claude/ directory structure?

The .claude/ directory structure includes the CLAUDE.md file alongside dedicated subdirectories for Agents, Rules, and Skills. This infrastructure provides a standardized ecosystem for integrating Claude Code into any repository.

Do I need git and gh CLI to configure Claude Code Agents and Rules?

Yes, you need the git CLI for repository access and the gh CLI for authentication to configure Claude Code Agents and Rules. These dependencies are required to properly initialize the infrastructure and handle repository operations.

Can I customize Claude Code default configurations for my specific repository?

Yes, you can customize Claude Code default configurations for Agents and Rules based on your repository's specific needs. While the setup applies predefined configurations, the infrastructure allows for full customization to suit your project requirements.

What's the best way to initialize Claude Code infrastructure across multiple repositories?

The best way to initialize Claude Code infrastructure across multiple repositories is using an automated setup command that applies standardized .claude/ directory structures. This ensures consistent Agent and Rule configurations, handles language detection, and creates default configurations for each repository.