v4.0.0, major releaseAI Rulebook

AI Rulebook 4.0.0: the rule pack moves into AGENTS.md

AI Rulebook 4.0.0 replaces the per-tool rule folders of earlier releases with a single managed block in AGENTS.md. Cursor, Cline, opencode, Windsurf, and supported GitHub Copilot features read that file directly, and Claude Code reads it through a @AGENTS.md import that install adds to CLAUDE.md.

To upgrade, run Install / update rule pack, then Remove legacy per-tool rule folders… to delete the old copies. Disabled states from the old folders are not imported, so reapply them in the sidebar, and remove any .opencode/rules/ai-rules/*.md entry from your opencode config by hand.

What's new

  • One file for every tool

    Install / update rule pack writes one marked block into AGENTS.md, creating the file or appending to an existing one, and keeps your text outside the block intact.

  • Toggles edit AGENTS.md

    Turning a rule off removes its text and leaves an empty, marked section; turning it on writes the text back. Re-running install keeps each rule's on or off state.

  • Every open folder

    Install covers every folder in a multi-root workspace. Auto-install runs in folders that already show signs of AI-agent use, on a Cursor host, or with Cline installed; otherwise a one-time hint names the install command.

  • New remove commands

    Remove rule pack deletes the managed block, and the files themselves if nothing else is left in them. Remove legacy per-tool rule folders… deletes the folders written by earlier releases.

  • Per-tool machinery removed

    The per-tool sync and remove commands, Reset rule pack to defaults…, Explorer tinting, opencode config edits, and their settings are gone. aiRules.autoInstallOnOpenWorkspace and aiRules.promptInstallOnUpdate remain.

Also in this release

  • Selecting a rule in the sidebar opens AGENTS.md at that rule's section.
  • The status bar opens Show rule pack status and warns when the block's markers are damaged; a damaged block is never rewritten.
  • Rapid toggles and overlapping install or remove actions no longer lose changes or corrupt AGENTS.md.
  • The standalone download is now a single AGENTS.md attached to the GitHub release instead of a ZIP per tool.
Release on GitHubAll releases

Latest release