Skip to main content

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.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/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

Metadata

Release files for dotclaude-cli 0.1.2

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

Source distribution (sdist)

Source distribution for dotclaude-cli 0.1.2
File Size Uploaded Provenance
dotclaude_cli-0.1.2.tar.gz 115.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dotclaude-cli 0.1.2
File Interpreter ABI Platform
dotclaude_cli-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 183.4 kB

Release files / dotclaude_cli-0.1.2.tar.gz

Download URL dotclaude_cli-0.1.2.tar.gz
Size 115.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9eb8b7c0ad91039716e5924a8247924c362f200da4452b19a9b7cddf751318ec
BLAKE2b-256 checksum
How to use checksums
50e72ca5e0fd80e8e60c4e806ffe0fada642c2314426b6ba6f010cc1ae57a497
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / dotclaude_cli-0.1.2-py3-none-any.whl

Download URL dotclaude_cli-0.1.2-py3-none-any.whl
Size 67.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
653060ebfa9fc61866b8652ad5d736f628241ea444028a97746cf596c3f03ba6
BLAKE2b-256 checksum
How to use checksums
0018781196bfd9e9fcf90d146f776d52c37f1ba101667bbb0c37289b39c6f186
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Security for dotclaude-cli 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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