Skip to content

About

A plugin for the Claude desktop app on Windows 11, for ADHD and executive dysfunction: 48 working rules, on in every session.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Executive Function Assist

Version 0.1.0. MIT license. A plugin for the Claude desktop app (its Code tab) on Windows 11, for ADHD and executive dysfunction.

What it is

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.

Who it is for

  • 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.

Turn it off and on

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.

Set it up

Open Executive Function Assist Guide for Claude.html and follow it. In short:

  1. Unblock the zip file (right-click it, Properties, tick Unblock, OK), then Extract All.
  2. Double-click Executive Function Assist Setup for Claude and press Enter.
  3. If the Claude app is open, close it fully (File, Exit). Then open it again.
  4. 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

How it works

  • scripts/hook.js is 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.js is the guided setup, Check and Remove. It copies the program to %USERPROFILE%\.executive-function-assist\program and 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's scripts\hook.js, so another program's hook lines are never touched.
  • Plugin route: .claude-plugin/ and hooks/hooks.json also make the folder a normal Claude Code plugin. Use one route or the other, not both, or the rules load twice.

What is ready today

  • The 48 rules, the hook, the on and off phrases, the guided Setup, Check and Remove, the guide.
  • node test/run-tests.js runs 28 checks in a throwaway folder (it never touches your real settings).

What has been tested

  • 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.

What is not tested yet

  • Windows 10.
  • Other operating systems.
  • Installing through a plugin marketplace.

License

MIT, copyright Executive Function Assist contributors. See LICENSE.

About

A plugin for the Claude desktop app on Windows 11, for ADHD and executive dysfunction: 48 working rules, on in every session.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages