Skip to main content

Universal CLI tool for managing AI agent configurations across different platforms

Project description

DotAgent CLI

Universal CLI tool for managing AI agent configurations across different platforms - currently supports Claude Code with planned support for GitHub Copilot, Cursor, and more

Python License Code Style

DotAgent is a universal CLI tool for managing AI agent configurations. Currently supports Claude Code with robust bidirectional synchronization between local (~/.claude/) and remote GitHub repositories. Future versions will add support for GitHub Copilot, Cursor, and other AI development tools.

🎯 Current Support

Claude Code - Full synchronization support:

  • Agents, commands, and CLAUDE.md configuration files
  • Bidirectional sync with intelligent conflict resolution
  • Project-specific agent management

Installation

Via pip (recommended)

pip install dotagent

Via uv

uv tool install dotagent

Development Installation

git clone https://github.com/FradSer/dotclaude-cli.git
cd dotclaude-cli
uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"

Setup Configuration Repository

Before using DotAgent, you need a configuration repository:

  1. Fork the default repository: https://github.com/FradSer/dotclaude
  2. Customize your configurations in the forked repository
  3. Use your fork when syncing:
    dotagent claude sync --repo yourusername/dotclaude
    

Or use the default repository directly:

dotagent claude sync  # Uses github.com/FradSer/dotclaude

Usage

Basic Commands

# Sync global Claude configurations
dotagent claude sync

# Check sync status
dotagent claude status

# Include project-specific agents
dotagent claude sync --local

Repository Options

# Use custom repository
dotagent claude sync --repo user/repo

# Use specific branch
dotagent claude sync --branch develop

# Preview changes
dotagent claude sync --dry-run

# Force overwrite conflicts
dotagent claude sync --force

What Gets Synced

Global Items (always synced):

  • ~/.claude/agents/remote:agents/
  • ~/.claude/commands/remote:commands/
  • ~/.claude/CLAUDE.mdremote:CLAUDE.md

Project Items (only with --local):

  • remote:local-agents/*.md.claude/agents/

When using --local, you'll see a checkbox interface to select which .md files to copy from the remote local-agents/ directory.

Repository Formats

All these formats work:

  • https://github.com/user/repo
  • git@github.com:user/repo.git
  • user/repo

Examples

# Basic sync
dotagent claude sync

# Sync with project agents
dotagent claude sync --local

# Use custom repo and branch
dotagent claude sync --repo company/configs --branch main --local

# Check what would change
dotagent claude status
dotagent claude sync --dry-run

Development

# Setup
uv pip install -e ".[dev]"

# Test
pytest

# Quality checks
black src tests && ruff check src tests && mypy src

# Build
uv build

Requirements

  • Python 3.9+
  • Git
  • GitHub repository with Claude Code configurations

License

MIT License - see LICENSE file.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dotclaude_cli-0.1.1.tar.gz (115.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dotclaude_cli-0.1.1-py3-none-any.whl (67.6 kB view details)

Uploaded Python 3

File details

Details for the file dotclaude_cli-0.1.1.tar.gz.

File metadata

  • Download URL: dotclaude_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 115.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for dotclaude_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5c5a822d0a0b92f10a5a196ac5f37e0e7fdfce2d89a2988cadefd55078a6a817
MD5 3a9a2391125a5bfb312f2b31dbd209f6
BLAKE2b-256 b4b042d2c6a71764893318d9202ace31de53ac3dcaeac831853f04c8ef3ad0a6

See more details on using hashes here.

File details

Details for the file dotclaude_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dotclaude_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 67.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for dotclaude_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09e63866662ce25b716df6ef6a662ac48cb83c4ae6ef2135877a1e6c30e8a35d
MD5 fdd3f897055b453b01dc23d6b4005fc1
BLAKE2b-256 8d2711f1b8ea0b8db49721daee6855238466548643249d42adab0288bcdc111a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page