Skip to main content

claude-setup

Intelligent scaffolding system for optimal Claude Code configurations.

CI Python Version PyPI version

Description

Generate optimal .claude configurations for any project by automatically detecting your tech stack and project structure. Creates customized settings, commands, agents, and workflows tailored to your specific development needs.

Installation

Using uv (Recommended)

uvx claude-setup init

Using pipx

pipx install claude-setup

Using pip

pip install claude-setup

Quick Start

Initialize Claude in your project:

cd your-project
claude-setup init

Configure automatically:

claude-setup configure --auto

Or interactively:

claude-setup configure --interactive

Usage

Core Commands

# Initialize new configuration
claude-setup init [--template NAME] [--force]

# Configure project
claude-setup configure [--auto] [--interactive]

# List templates
claude-setup template list

# Apply template
claude-setup template apply <name>

# Check status
claude-setup status [--check] [--validate]

# Export configuration
claude-setup export -o config.json

Self-Configuration

Start Claude and request:

"Analyze this project and configure yourself optimally for [your project description]"

Claude will generate the perfect configuration using the built-in scaffolding agent.

Configuration

Directory Structure

.claude/
├── settings.json      # Permissions and model config
├── CLAUDE.md         # Project context
├── commands/         # Custom slash commands
├── agents/           # Specialized AI agents
├── hooks/            # Event automation
└── templates/        # Code templates

settings.json

{
    "model": "claude-opus-4-1-20250805",
    "permissions": {
        "allow": ["Read(**/*.py)", "Bash(pytest:*)"],
        "deny": ["Delete(**)", "Read(.env*)"]
    },
    "env": {
        "PROJECT_TYPE": "python-fastapi"
    }
}

Templates

Available built-in templates:

  • generic - Universal starting point
  • web - Frontend applications
  • api - Backend services
  • cli - Command-line tools
  • data-science - ML/Data projects

Best Practices Runbook

  1. Run claude-setup init in project root
  2. Execute claude-setup configure --auto for detection
  3. Review .claude/settings.json permissions
  4. Test with claude-setup status --validate
  5. Commit .claude/ and CLAUDE.md to git
  6. Create project-specific commands in .claude/commands/
  7. Add specialized agents to .claude/agents/
  8. Document project context in CLAUDE.md
  9. Use minimal necessary permissions
  10. Update configuration as project evolves

License

MIT License - see LICENSE for details.

Metadata

Release files for claude-setup 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-setup 1.0.0
File Size Uploaded
claude_setup-1.0.0.tar.gz 39.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-setup 1.0.0
File Interpreter ABI Platform
claude_setup-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 93.0 kB

Release files / claude_setup-1.0.0.tar.gz

Download URL claude_setup-1.0.0.tar.gz
Size 39.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6eeb66f8180a4a6c1e90c719863255429051b66d91339968dccde869825c3290
BLAKE2b-256 checksum
How to use checksums
37a0c795c409ac8efaaf819522c44621497865b425ac019da4abd185f9821c92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / claude_setup-1.0.0-py3-none-any.whl

Download URL claude_setup-1.0.0-py3-none-any.whl
Size 53.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28576e14c451e267aa50de8df573692b7717f7498d6a1bbaa2dc843580b72831
BLAKE2b-256 checksum
How to use checksums
9756f5af214eebf130cc7c29e54f320d694a978fa175036a7c12f03139c606d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page