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

pip install echograph

Quick Start

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

# Initialize Context Engineering
echograph init

# Check your setup
echograph doctor

# Validate context files
echograph validate

Commands

echograph init

Scaffold a .claude/ directory with Context Engineering templates.

# Interactive mode (asks questions)
echograph init

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

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

# Overwrite existing files
echograph init --force

# Initialize a specific directory
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
echograph update

# Preview changes without modifying files
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
echograph validate

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

# Treat warnings as errors
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.

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.3.0.tar.gz (113.2 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.3.0-py3-none-any.whl (153.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: echograph-0.3.0.tar.gz
  • Upload date:
  • Size: 113.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for echograph-0.3.0.tar.gz
Algorithm Hash digest
SHA256 60d12dfa2aa0df1656653120679abdbdb00a7d33b71e44b5991c9c8993f60033
MD5 800d0e899df04aea0a19e05e65b7172a
BLAKE2b-256 0f46cbe5e924fa94c6c1448bab05f9ed7a8b00a6926469aa486caef364f46288

See more details on using hashes here.

File details

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

File metadata

  • Download URL: echograph-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 153.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for echograph-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a713f3b3a6cc517893f1bc3e48847d9aef300d6e5cc18b1dbc2579aaf90006a
MD5 9e4db82d1e06c3c6098c30c7682ee3ff
BLAKE2b-256 b0eab1a765c7812353b42f7ebbbc438d2e9c6f2e4f9b89d7996327967961a6e5

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