Skip to main content

edify

A lean Claude Code toolkit in one tree: a Python CLI (edify-cli) for working with session data, tokens, and markdown, plus a Claude Code plugin (plugin/) that ships skills and agents built around a requirements → design → runbook → build planning pipeline.

Direction: Lean-assisted (formal-proof-backed) requirements tracking.

Install

uv tool install edify-cli

Requires Python 3.14+ and uv. To work from source instead, clone the repo and run uv tool install . in it.

CLI (edify-cli)

Source in src/edify/. Six commands in four groups:

  • Session scraping — edify list, edify extract <prefix>, edify collect. Parse the JSONL under ~/.claude/projects/ to pull your own messages back out, per session or across all of them.
  • Token counting — edify tokens FILE.... Count tokens via the Anthropic API (needs ANTHROPIC_API_KEY); the haiku/sonnet/opus aliases resolve to the latest model.
  • Markdown postprocessing — edify markdown. Reads file paths from stdin and fixes structural issues formatters can't, in place. Pair with dprint for formatting.
  • Contract checking — edify check <target>. Verify a Python function against its icontract contract with CrossHair.

Plugin

The plugin/ directory is a Claude Code plugin — a plain subdirectory of this repo (previously a git submodule). It ships skills and agents invoked as slash commands, in two groups:

  • Pipeline — /requirements → /design → /runbook → /build (or /design → /build for work that needs no runbook), with /review as the in-progress quality gate.
  • Standalone — /proof, /deliverable-review, /ground, /formalize (Python only: icontract contracts checked with CrossHair), /recall.

Plus the agents the pipeline dispatches. See plugin/README.md.

Development

just dev        # format + check + test
just test       # tests only
just check      # lint + type check
just precommit  # all checks (CI equivalent)

Python 3.14+ with mypy strict types, pytest for tests, ruff for linting, uv for dependencies, and just for tasks. Design is recorded in docs/design.md.

License

MIT

Metadata

Release files for edify-cli 0.3.1

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

Source distribution (sdist)

Source distribution for edify-cli 0.3.1
File Size Uploaded
edify_cli-0.3.1.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for edify-cli 0.3.1
File Interpreter ABI Platform
edify_cli-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.1 MB

Release files / edify_cli-0.3.1.tar.gz

Download URL edify_cli-0.3.1.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
574033bfcabb4c041388af52a7aa666c99c15c39fe8bb7772eb2bd946164d7fe
BLAKE2b-256 checksum
How to use checksums
6a53edf9f336f77561f6f4a96005b3f670f99a68b9f209755b9f8be42cb1712c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / edify_cli-0.3.1-py3-none-any.whl

Download URL edify_cli-0.3.1-py3-none-any.whl
Size 30.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43bb92102d8fd36a371d08db0ba6a864ad861e2b97ed230f9c7d32de82b99f12
BLAKE2b-256 checksum
How to use checksums
2f07ffe238c19420413735c996be2cdfaf2dcd623f479ee5bdf45bafa84d5829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

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