Skip to main content

Context Engineering CLI for Claude Code

Project description

EchoGraph CLI

Context Engineering CLI for Claude Code - scaffold, validate, and maintain your AI-assisted development workflow.

Installation

From Source (Current)

EchoGraph is not yet published to PyPI. Install from source:

# Clone and install
git clone https://github.com/echograph/echograph
cd echograph
uv sync --all-packages

# Verify it works
uv run echograph --help

Note: --all-packages is required because this is a monorepo.

From PyPI (Coming Soon)

Once published, installation will be: pip install echograph

Quick Start

# Navigate to your project
cd /path/to/your-project

# Initialize Context Engineering
uv run echograph init

# Check your setup
uv run echograph doctor

# Validate context files
uv run echograph validate

Commands

echograph init

Scaffold a .claude/ directory with Context Engineering templates.

# Interactive mode (asks questions)
uv run echograph init

# Minimal setup (core files only)
uv run echograph init --minimal

# Full setup (all templates and commands)
uv run echograph init --full

# Overwrite existing files
uv run echograph init --force

# Initialize a specific directory
uv run echograph init /path/to/project

Created files (minimal):

  • .claude/CLAUDE.md - Project conventions
  • .claude/PLANNING.md - Architecture and goals
  • .claude/TASK.md - Task tracking

Additional files (full):

  • .claude/commands/ - Slash commands
  • .claude/tasks/ - Feature task templates
  • PRPs/ - Product Requirement Prompts structure

echograph update

Update templates while preserving your customizations using three-way merge.

# Update templates
uv run echograph update

# Preview changes without modifying files
uv run echograph update --dry-run

How it works:

  1. Compares your current files with the original template version
  2. Merges in new template changes
  3. Preserves your customizations
  4. Marks conflicts for manual resolution (if any)

echograph validate

Check context files for completeness and valid references.

# Validate current directory
uv run echograph validate

# Validate specific directory
uv run echograph validate /path/to/project

# Treat warnings as errors
uv run echograph validate --strict

Checks performed:

  • Required files exist (CLAUDE.md, PLANNING.md, TASK.md)
  • @ imports reference existing files
  • CLAUDE.md has Project Context section
  • TASK.md has required sections (In Progress, Pending, Completed)

echograph doctor

Diagnose your Claude Code setup.

uv run echograph doctor

Checks performed:

  • Claude Code CLI is installed (claude command available)
  • .claude/ directory structure is correct
  • MCP configuration is valid (if present)
  • Project is a git repository
  • Template version is current

Configuration

The CLI auto-detects project configuration:

  • Project name: From git remote or folder name
  • Tech stack: From pyproject.toml, package.json, Cargo.toml, etc.
  • Test framework: From pytest.ini, jest.config.js, etc.

Templates are customized based on detected configuration.

Coming Soon

These commands show a "coming soon" message:

  • echograph search - Semantic code search
  • echograph sync - Sync external sources (GitHub, Azure DevOps)
  • echograph decision - Track architectural decisions

Development

# Clone the repository
git clone https://github.com/echograph/echograph
cd echograph

# Install dependencies
uv sync --all-packages

# Run tests
uv run pytest --cov

# Run linters
uv run ruff check packages/cli/
uv run mypy packages/cli/src/

License

MIT

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

echograph-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

echograph-0.1.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file echograph-0.1.0.tar.gz.

File metadata

  • Download URL: echograph-0.1.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for echograph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c442e4bd347a1d94917bd817cccfea1660beff74de501ba1af9e0f2cd8a856a1
MD5 c7e40e9f8ba5794d620138a40d5a8375
BLAKE2b-256 0a95f322a19f4c06d52e938ba28f462a83bddd2f10f5e13dc24bde8022a6d987

See more details on using hashes here.

File details

Details for the file echograph-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: echograph-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for echograph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b62b6c4e9cff5f1ba15ddbd76fb8bb481207097df87ea7fb655903c909f298a9
MD5 0638be223eb9be617e6645fcab14c1fd
BLAKE2b-256 d284c79eb506a58e8cc4badd911cc3021a54d2df90aa07e1d967ae88a35f7fec

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