Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hope Protected Light icon

Hope

Hope helps people work with AI while staying able to see, understand, and control the work.

Codex supported Claude Code supported

한국어

AI can finish a task quickly without making its decisions, evidence, or remaining uncertainty clear to the person responsible for it.

Hope provides a focused tool for each of those moments.

Use Hope to align before implementation, challenge a work product, understand a code change, sweep codebase maintenance, refine completed work, or clarify language without losing meaning.

Install

Install the Hope plugin in Codex or Claude Code.

You need:

  • Node.js 20 or newer
  • An authenticated GitHub CLI to use Diff. Run gh auth login first if needed.

The simplest option is to ask an AI:

Install Hope from https://github.com/dkstm95/hope for this host.
Follow the repository README and tell me if I need to restart.

To install it yourself, run the commands for your host.

# Codex
codex plugin marketplace add dkstm95/hope
codex plugin add hope@hope
# Claude Code
claude plugin marketplace add dkstm95/hope
claude plugin install hope@hope

Start a new Codex or Claude Code session after installation.

Keep Hope current

  • Claude Code: enable auto-update for the Hope marketplace under /pluginMarketplaces. Run /reload-plugins when Claude Code reports an update.
  • Codex: run codex plugin marketplace upgrade hope, then codex plugin add hope@hope, and start a new session.

Features

Choose the work you need.

Align — Reach shared understanding before implementation

Misunderstandings about a task's goal, scope, behavior, or important choices can survive until implementation.

Align reads available evidence, asks risk-adaptive questions, and keeps facts, decisions, proposals, assumptions, and open questions distinct.

It renders one decision-centered HTML artifact with the goal, next action, and up to three primary agreements on the first screen.

Supporting evidence and work details stay available without crowding the main reading path.

When a task changes a user interface, Align compares wide and narrow previews from the same canonical screen content before implementation.

[!NOTE] Align waits for explicit approval and never implements the task.

Example: “I want to add a failed-upload recovery screen. Help me clarify the retry behavior and layout before implementation.”

Hope Align example showing the goal, primary agreements, next action, scope, and success conditions for failed-upload recovery

An actual Align HTML artifact for a failed-upload recovery screen.

Scope and success Responsive preview
The work boundary and success conditions in an Align artifact Wide and narrow recovery-screen previews built from the same content
Agreements and supporting detail Verifiable work
Primary agreements, evidence, assumptions, and uncertainty in an Align artifact The user change, scope, verification, and failure recovery in an Align artifact
Diff — Understand what changed and how to judge it

A code change can be complete while its owner still cannot predict, explain, or judge it, and that gap is cognitive debt.

Diff explains behavior before code and links important claims to evidence.

When active exploration would help, the review can use visuals, a microworld, or an evidence-backed quiz.

The resulting local HTML file helps the reader understand the change, judge it, and carry that understanding into follow-up decisions and work.

[!NOTE] Diff does not recommend approval or rejection or change the pull request. It does not inspect discussions or CI results or run tests, builds, linters, or repository code.

Hope Diff result for nanoid pull request 601 showing the goal, before and after behavior, impact, and verification item

An actual Diff HTML artifact generated from nanoid PR #601.

Core change Behavior model
The core change explanation in a Diff artifact The input comparison and behavior flow in a Diff artifact
Teaching aid choices Evidence-linked code flow
A Diff artifact explaining which teaching aids it includes and why Code steps and supporting evidence links in a Diff artifact
Next check for an informed judgment Evidence and checked scope
The next step and closing condition in a Diff artifact The collected evidence and review scope in a Diff artifact

[!NOTE] With no URL, Diff first looks for the current branch's pull request. If none exists, it selects your latest open pull request in the repository. Run Diff again when the pull request changes.

Toxic Review — Find important risks you may have missed

Toxic Review turns evidence-linked findings into one prioritized review.

It is hard on the work, respectful toward people, and does not invent criticism.

[!NOTE] Toxic Review uses one reviewer when a focused pass is enough and may run multiple independent reviewers for distinct material risks.

Multi-reviewer runs make a separate model call for each reviewer, so parallel execution can reduce elapsed time but not token usage.

Ask Hope to limit the reviewer count when you want a smaller run.

Example: “Review this database migration plan.”

Polish — Refine completed work without changing settled decisions

Polish defines what must stay unchanged and refines the work once within a clear scope.

It preserves settled behavior and meaning, reports what changed and what was checked, and stops when the work needs a material decision.

Example: “Refine the current work product.”

Sweep — Clean up and maintain a codebase safely

Sweep runs one codebase maintenance task that adapts to the codebase instead of using schedule-based profiles.

It inspects an exact snapshot and shows a bounded plan before changing files.

It checks broken references and configuration drift; dead or stale code, tests, documentation, and configuration; repeated, missing, or premature abstractions; test and documentation gaps; dependency, security, license, and compatibility risks; performance, package, build, and CI waste; and architecture, support, release, and recovery readiness.

Incomplete evidence stays visible instead of being reported as complete.

Sweep applies only approved behavior-preserving work and hands behavior, public-contract, or dependency changes to a separate implementation task.

Example: “Sweep this codebase.”

Write — Make language clearer without losing meaning

Write drafts, edits, or reviews language without losing meaning, facts, uncertainty, citations, or the person's voice.

Hope also applies Write in other tasks, including prompts, documentation, responses, interface text, errors, comments, and names.

Write's shared standard adapts George Orwell's six rules in Politics and the English Language.

Example: “Make this incident update easier to understand.”

Settings — Set Hope's language and theme

Settings stores a supported locale and initial system, light, or dark theme as shared defaults.

The harness and installed plugin share these settings, and changes affect new artifacts only.

License

MIT

Releases

Packages

Contributors

Languages