Version 0.1.0. MIT license. A plugin for the Claude desktop app (its Code tab) on Windows 11, for ADHD and executive dysfunction.
You hand Claude the things you do not want to do, would put off, or that push you into executive dysfunction. Claude then works with you in a way you can actually read and follow: one line answers, one question at a time, one step at a time, plain words, and nothing changed, sent or deleted without your ok.
It does this with 48 fixed working rules (rules/RULES.md). A small hook gives them to Claude at the
start of every session. It is on in every session from the moment it is set up.
- People with ADHD or executive dysfunction who use the Claude desktop app.
- People trying AI for the first time: setup is one file to double-click, with no commands to type.
Send one of these as a message on its own (upper or lower case, a full stop or "please" are fine):
| To | Send |
|---|---|
| Turn it off for this session | stop executive function assist (or executive function assist off) |
| Turn it back on | start executive function assist (or executive function assist on) |
Off lasts for that session only. Every new session starts with it on.
Open Executive Function Assist Guide for Claude.html and follow it. In short:
- Unblock the zip file (right-click it, Properties, tick Unblock, OK), then Extract All.
- Double-click Executive Function Assist Setup for Claude and press Enter.
- If the Claude app is open, close it fully (File, Exit). Then open it again.
- Start a new session in Code and send:
What are your working rules?
Executive Function Assist Check for Claude says whether everything is in place. Executive
Function Assist Remove for Claude takes the plugin's lines out of Claude's settings file again:
type yes and press Enter (small or capital letters both work).
The setup needs Node.js 18 or later (free, from nodejs.org). The plugin has no other dependencies.
How the release zip is built (no folder prefix, so after Extract All the files are directly in the
folder that opens): git archive --format=zip -o executive-function-assist-<version>.zip HEAD
scripts/hook.jsis the only program that runs in a session.- At every kind of session start (a new, resumed, cleared, compacted or forked session) it prints the rules in three parts (the Claude app shows a hook's text only as a short preview once it passes 10,000 characters, so each part stays under 9,000).
- On each message it checks for the on and off phrases. The off phrase writes a small file for that
session in
%USERPROFILE%\.executive-function-assist\sessions; while it is there, the rules are marked off. The file stays until the on phrase is sent in that session; nothing deletes it by age. The on phrase removes it, and if it cannot be removed, Claude says so in one plain sentence instead of saying the rules are on.
scripts/setup.jsis the guided setup, Check and Remove. It copies the program to%USERPROFILE%\.executive-function-assist\programand adds four hook lines to Claude's own settings file (%USERPROFILE%\.claude\settings.json). A dated copy of that file is kept first, and nothing else in it changes. Setup, Check and Remove treat a hook line as theirs only when it runs exactly the program copy'sscripts\hook.js, so another program's hook lines are never touched.- Plugin route:
.claude-plugin/andhooks/hooks.jsonalso make the folder a normal Claude Code plugin. Use one route or the other, not both, or the rules load twice.
- The 48 rules, the hook, the on and off phrases, the guided Setup, Check and Remove, the guide.
node test/run-tests.jsruns 28 checks in a throwaway folder (it never touches your real settings).
- On one Windows 11 laptop with Smart App Control on, in the Claude desktop app: setup, Check, the rules arriving in a new session, the off and on phrases, Remove, and the downloaded-zip path with Unblock. The button names in the guide were checked on that laptop.
- Windows 10.
- Other operating systems.
- Installing through a plugin marketplace.
MIT, copyright Executive Function Assist contributors. See LICENSE.