DotAgent CLI 
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:
- Fork the default repository: https://github.com/FradSer/dotclaude
- Customize your configurations in the forked repository
- 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.md↔remote: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/repogit@github.com:user/repo.gituser/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
- Tool Repository - This CLI tool
- Default Config Repository - Fork this for your configs
- Issues
- Claude Code Documentation
Metadata
Release files for dotagent-cli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dotagent_cli-0.2.0.tar.gz | 94.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dotagent_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 131.4 kB
Release files / dotagent_cli-0.2.0.tar.gz
| Download URL | dotagent_cli-0.2.0.tar.gz |
|---|---|
| Size | 94.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a5251294bdc8de31f79fef13d177c4914143771cf6ab8912d52598c13e35cfd
|
|
BLAKE2b-256 checksum How to use checksums |
25051c652e89afd73a3259c3878cf178bea6b8d003b4b759435df531e6ed2a0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / dotagent_cli-0.2.0-py3-none-any.whl
| Download URL | dotagent_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 37.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
626e0f607f9d5caf788a5e283a6fb41408a49a664530e070a4e391305c3d90e2
|
|
BLAKE2b-256 checksum How to use checksums |
f5b9b1f11d7e4b9aaf3933b9ded1b6f32378b9f9119e2bd30968abd03f0c8f9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for dotagent-cli 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.