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

Via uv

uv tool install dotagent-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

dotagent_cli-0.2.0.tar.gz (94.4 kB view details)

Uploaded Source

Built Distribution

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

dotagent_cli-0.2.0-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file dotagent_cli-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for dotagent_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1a5251294bdc8de31f79fef13d177c4914143771cf6ab8912d52598c13e35cfd
MD5 05dc387d7627f8134eb9b3e941491c10
BLAKE2b-256 25051c652e89afd73a3259c3878cf178bea6b8d003b4b759435df531e6ed2a0e

See more details on using hashes here.

File details

Details for the file dotagent_cli-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for dotagent_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 626e0f607f9d5caf788a5e283a6fb41408a49a664530e070a4e391305c3d90e2
MD5 155aaf51698219cafc86dff4ff37aa51
BLAKE2b-256 f5b9b1f11d7e4b9aaf3933b9ded1b6f32378b9f9119e2bd30968abd03f0c8f9f

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