Skip to main content

Universal CLI tool for managing AI agent configurations across different platforms

Project description

DotAgent CLI

Twitter Follow Claude Code License

English | 中文

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

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 dotclaude-cli

Via uv

uv tool install dotclaude-cli

Development Installation

git clone https://github.com/FradSer/dotagent-cli.git
cd dotagent-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.2.tar.gz (115.8 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.2-py3-none-any.whl (67.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dotclaude_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 115.8 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.2.tar.gz
Algorithm Hash digest
SHA256 9eb8b7c0ad91039716e5924a8247924c362f200da4452b19a9b7cddf751318ec
MD5 14bac3b68b09288fd77f127745709d51
BLAKE2b-256 50e72ca5e0fd80e8e60c4e806ffe0fada642c2314426b6ba6f010cc1ae57a497

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dotclaude_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 67.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 653060ebfa9fc61866b8652ad5d736f628241ea444028a97746cf596c3f03ba6
MD5 d8979aedb8ec996c901afcdd182ed793
BLAKE2b-256 0018781196bfd9e9fcf90d146f776d52c37f1ba101667bbb0c37289b39c6f186

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