{
  "markdown": "# H-Mode\n\nHemanth's full coding-efficiency plugin and skill suite: concise output,\nreuse-first code, focused context, plus read-only audit and review workflows.\n\n## Included\n\n| Component | Location |\n|---|---|\n| Main coding mode | `skills/h-mode/` |\n| Code + prose efficiency audit | `skills/h-mode-audit/` |\n| Over-engineering review | `skills/h-mode-review/` |\n| Command and setup help | `skills/h-mode-help/` |\n| Claude Code plugin + marketplace | `.claude-plugin/` |\n| Codex plugin exposing all four skills | `.codex-plugin/plugin.json` |\n| Gemini extension + executable commands | `gemini-extension.json`, `commands/` |\n| Session activation, prompt tracking, output compression | `hooks/` |\n| Bash and PowerShell statuslines | `hooks/h-mode-statusline.sh`, `.ps1` |\n| Cross-platform installer and settings merge | `bin/`, `install.sh`, `install.ps1` |\n| Cursor, Windsurf, Cline, Kiro, Copilot rules | Per-agent directories |\n| Benchmarks, replay, charts, sample builders | `benchmarks/`, `scripts/` |\n| Tests, CI, release tooling, website source | `tests/`, `.github/workflows/`, `site/` |\n\nThis replaces the earlier reduced H-Mode adaptation with the full upstream\nfeature set, rebranded and with documented integration fixes. It is not a\nbyte-for-byte copy. See [the parity notes](docs/upstream-parity.md).\n\n## Install\n\nPreview the installer before allowing it to modify agent configuration:\n\n```sh\nnpx github:hemanth-create/H-Mode --dry-run\nnpx github:hemanth-create/H-Mode --only claude\n```\n\nOr use Claude Code's marketplace:\n\n```sh\nclaude plugin marketplace add hemanth-create/H-Mode\nclaude plugin install h-mode@h-mode\n```\n\nFor Codex's portable skill installation:\n\n```sh\nnpx github:hemanth-create/H-Mode --only codex\n```\n\nThis installs all four skill folders and the always-on rules, respecting\n`CODEX_HOME` when set. The repository also supplies the native Codex plugin\nmanifest for hosts that import plugin repositories. No Claude hooks are\nadvertised as Codex runtime hooks.\n\nThe npm name `h-mode` is **not** claimed as published. The commands above install\nfrom this GitHub repository. See [INSTALL.md](INSTALL.md) for local-clone setup,\nWindows statuslines, editor integrations, configuration, and uninstall behavior.\n\n## Commands\n\n| Skill | Purpose |\n|---|---|\n| `h-mode` | Concise coding and reuse-first implementation |\n| `h-mode-audit [path]` | Read-only audit of code and prose for avoidable complexity |\n| `h-mode-review [path]` | Read-only review of a diff or file for over-engineering |\n| `h-mode-help` | Usage and platform differences |\n\nUse `$h-mode-audit` / `$h-mode-review` in Codex. Claude Code may show\nplugin-qualified slash names such as `/h-mode:h-mode-audit`; standalone skill\ninstalls and Gemini use names such as `/h-mode-audit`. Use the host's command\npicker for the exact displayed name. Audit and review do not apply fixes or\npublish comments. `stop h-mode`, `/h-mode off`, or `normal mode` turns the main\nmode off in Claude Code; plugin-qualified `/h-mode:h-mode off` is also recognized.\n\nExplicit activation works even with `H_MODE_DEFAULT_MODE=off`. Resume, clear,\nand compaction preserve the current on/off choice; a new startup applies the\nconfigured default. Both statuslines hide the badge while off.\n\n## Hooks and limits\n\nClaude Code integration includes `SessionStart`, `UserPromptSubmit`, and\n`PostToolUse` hooks. It retains the upstream formatting cleanup, head/tail\nelision, bounded error sampling, and same-session duplicate detection.\n\nThe compressor does not edit source files. Its elision is lossy and can remove\nuseful diagnostic details. Exact `Read` / `Edit` / `Write` tools are excluded by\ndefault. MCP tool names alone do not imply read-only behavior; narrow the\nallowlist for your own environment. Replacement support depends on the host and\ntool-output schema: unit tests are not proof of end-to-end token reduction.\n\nMode and statistics use files inside the Claude config directory. The mode flag\nis shared by sessions using that directory. The inherited dedup logic assumes\nearlier output is still available; disable it after compaction when that is not\ntrue. Statistics are character counts, with tokens estimated as characters / 4.\n\n```sh\n# Set these through your shell or environment settings as appropriate.\nH_MODE_DEFAULT_MODE=off\nH_MODE_COMPRESS=0\nH_MODE_COMPRESS_SCRUB=0\nH_MODE_COMPRESS_DEDUP=0\nH_MODE_UPDATE_CHECK=0\n```\n\nAll original compression tuning options remain under the `H_MODE_` prefix.\nThe default controls startup, not whether an explicit activation command works.\nThe session-start update notice checks this repository's GitHub releases, cached\nfor three days; it sends no prompts or source code. The compressor itself makes\nno network or model calls. [Security and limitations](SECURITY.md).\n\n## Verification and benchmarks\n\n```sh\nnpm test\nnode scripts/build-rules.js --check\nnode scripts/build-chart.js --check\nnode scripts/build-samples.js --check\n```\n\nHistorical raw results are retained unchanged under `benchmarks/results/` and\nidentified as **upstream results, not H-Mode measurements**. The historical\n`rdxmin` data key is retained for reproducibility. The website's benchmark\ncomponents and generated charts use upstream labels. Do not interpret these as\nfresh H-Mode quality or cost guarantees.\n\nThe replay utility reads local transcripts without model calls. Live benchmarks\nare separate, paid operations that require explicit opt-in; they were not run\nas part of the repository migration. Website source is included, not deployed.\n\n## License\n\nMIT. Runtime names, commands, configuration, and install links use H-Mode.\nRequired attribution and unchanged historical evidence retain their provenance\nin [NOTICE.md](NOTICE.md), [LICENSE](LICENSE), and the historical documents.\n",
  "bytes": 5772,
  "sha": "e63204f2b6824d9973c406267c76c039d2ba476f3ea380e11ac96f61937841d4",
  "repo_slug": "hemanth-create/h-mode",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_hemanth_create_h_mode_85261f89/readme"
}