wt-rules-on-demand

by Frederic Thomas · ★ 1 · updated yesterday

GuardsPromptAutomationvalidates

0

EXPERIMENTAL. Deliver frontmatter-triggered rules at matching prompts and tool calls.

install wt-rules-on-demand

Install

/plugin marketplace add home-dev-lab/workflow-toolbox
/plugin install wt-rules-on-demand@workflow-toolbox

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
prompt.contextsession.compactprompt.submitturn.completetool.call
API calls
$.env.get$.fs.exists$.fs.list$.fs.read$.fs.remove$.fs.stat$.fs.write$.model.classify$.session.id$.session.messages$.session.root$.store.get$.store.keys$.store.set$.ui.log
Can see
the system promptcompactionevery promptevery tool call
Reach
level 2 of 3 other: $.fs.removewrites filesdrives Claudereads filesreads env varsreads the transcriptpersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/home-dev-lab/workflow-toolbox
Path in repo
plugins/wt-rules-on-demand
Author
Frederic Thomas @home-dev-lab
License
A license file GitHub could not identify — read it in the repository before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from home-dev-lab/workflow-toolbox

workflow-toolbox

home-dev-lab/workflow-toolbox

Toolbox for Claude Code's Workflow tool — author deterministic multi-agent workflow scripts (workflow-composer, with the @workflow-toolbox compile-time pattern toolkit as its standard library), scaffold a build-clean workflow skeleton from a spec (toolkit-scaffold), diagnose a failed run from its journal and decide whether resumeFromRunId helps (workflow-debugger), re-verify the runtime...

★ 1PanesReskinsCommands

wt-deep-search

home-dev-lab/workflow-toolbox

EXPERIMENTAL. Answers a WebSearch from the local Claude Code doc mirror, context7, Brave or Exa, and adds a detached deep-research rung behind a handle.

★ 1GuardsAutomation

wt-secret-guard

home-dev-lab/workflow-toolbox

Function-hook secret scrubber for prompts, assistant text, tool results, and raw outbound tool inputs

★ 1ReskinsGuardsPrompt