An output style for coding agents, built for readers with ADHD: answer first, end on the next action, sound like a person, write plain English.
Great question! Let me think about this. It's not just about the middleware, it's about trust. Your auth flow has a few moving pieces: the middleware, the token verification, and the cookie handling. Looking at
src/auth.ts, theverifyTokenfunction (around lines 42-58) seems to be using an olderjsonwebtokenAPI — one approach would be to update the package. After making the change, you'd want to run the auth tests to confirm nothing breaks. Hope this helps! Let me know if you want to dig deeper.
Update
jsonwebtoken, then editverifyTokenatsrc/auth.ts:42to match the current API.
- Open
src/auth.ts- Replace
verifyToken(lines 42 to 58) with the currentjsonwebtokencall- Run
npm test -- auth.spec.tsto confirm the auth tests passThe auth flow has three parts: middleware, token verification, cookie handling.
verifyTokenuses the olderjsonwebtokenAPI.
The rewrite keeps every claim from the original and adds none. That is the work the skill does, in three parts:
- Shape. Ten rules that shape every response for an ADHD reader: answer first, steps numbered, next action last, no "Hope this helps!"
- Sound human. 25 patterns that mark text as machine-made, from Wikipedia: Signs of AI writing. Strip them; keep every supported claim; never invent a fact.
- Stay plain. Simplified Technical English, the controlled writing standard behind aerospace maintenance docs: active voice, imperative steps, 20-word steps, one term per item, no semicolons.
The standard itself is free to download from ASD; this skill summarizes its Part 1 writing rules and does not reproduce the dictionary.
Claude Code:
claude plugin marketplace add hayfever/succinct
claude plugin install succinct@succinctCodex:
codex plugin marketplace add hayfever/succinct --ref main
codex plugin add succinct@succinctEvery harness, with the command to type after install:
| Harness | Install | Type | INSTALL |
|---|---|---|---|
| Claude Code | see block above | /succinct |
Claude Code |
| Codex | see block above | $succinct |
Codex |
| OpenCode 2 | see INSTALL | /succinct |
OpenCode |
| Pi | pi install https://github.com/hayfever/succinct |
/succinct |
Pi |
| OMP | see INSTALL | /succinct |
OMP |
| Other agents | npx skills add hayfever/succinct, or paste the always-on snippet into the agent's rules file |
/succinct |
Other agents |
The five harnesses share one activation model:
/succinctturns the mode on for the current session ($succinctin Codex)./succinct onturns it on and creates a.succinct-alwaysflag file in the harness's configuration directory. Every new session starts on while the flag exists./succinct offturns it off and deletes the flag. Every new session starts off.- "stop succinct mode" or "normal mode" turns the mode off for the current session only.
In Pi and OMP, the footer shows ● SUCCINCT ON while the mode is active, and pi --succinct starts one session with the mode on. Other agents keep the rules on through the always-on snippet in their rules file (AGENTS.md, Cursor user rules, GEMINI.md, and so on).
| Harness | Loads | Status |
|---|---|---|
| Claude Code | .claude-plugin/plugin.json |
manifest checked in CI |
| Codex | .codex-plugin/plugin.json |
loads in CI |
| OpenCode | opencode.json |
loads in CI |
| Pi | package.json |
loads in CI |
| OMP | package.json |
loads in CI |
| Other agents | skills/succinct/SKILL.md or the always-on snippet |
install documented |
Every row resolves to skills/succinct/SKILL.md, the canonical ruleset. "Loads in CI" means a job in .github/workflows/validate.yml installs the latest harness CLI and loads this checkout with no model request. For Claude Code, CI runs claude plugin validate . --strict on the manifests. Unit tests cover /succinct on, /succinct off, and the flag file in all five harnesses.
Edit only skills/succinct/SKILL.md and its references/. Run python3 scripts/build_adapters.py to update the version fields.
The canonical skill is a 164-line core in three parts. Two reference files hold the full detail.
- Shape: ten rules that make an answer actable for a reader with ADHD, from the answer in line one and the next action in the last line to the five-item list cap. (Part 1)
- Sound human: 25 patterns that mark text as machine-made, strongest first, from Wikipedia: Signs of AI writing. The core carries the five strongest. The full catalog is in references/patterns.md. Keep every supported claim; never invent a fact. (Part 2)
- Write plain: Simplified Technical English, the controlled standard behind aerospace maintenance docs. Active voice, imperative steps, steps of 20 words or fewer, one term per item. Replacement lists are in references/plain-english.md. (Part 3)
The core SKILL.md is 164 lines, 1,378 words, and 2,080 tokens with the o200k tokenizer. That is about 1 percent of a 200,000-token context window, added once when the skill loads. The references load only when the model needs them: patterns.md is 2,046 tokens and plain-english.md is 1,141 tokens.
Before the split, the single file was 5,589 tokens. The up-front load is 63 percent smaller.
Every harness above loads the core file. The ASD standard is a free download; this skill summarizes its writing rules and does not reproduce the dictionary.
Fork the repo, edit skills/succinct/SKILL.md, then reinstall from your fork. Every harness in the table installs a fork the same way: swap hayfever/succinct for owner/repo.
Claude Code, as an example:
claude plugin uninstall succinct # drop the upstream copy first:
claude plugin marketplace remove succinct # fork and upstream share both names
claude plugin marketplace add <your-username>/succinct
claude plugin install succinct@succinctRestart the harness, then invoke the skill again.
Paired eval of the shipped core on 17 cases, 3 trials per case, judged blind: baseline weighted 4.48, candidate weighted 4.75. The candidate carries no blocking finding and the baseline carries one. The candidate loaded only the core SKILL.md, with no reference file. Numbers, per-dimension means, earlier rounds, and the gate rule: evals/RESULTS.md.
- i-have-adhd by Ayoub G. (MIT), based on The Adult ADHD Tool Kit by J. Russell Ramsay and Anthony L. Rostain.
- humanizer by blader (MIT), patterns from Wikipedia: Signs of AI writing.
- ASD-STE100 Issue 9 by the ASD Simplified Technical English Maintenance Group (free download; summarized, not reproduced).
MIT. Full third-party notices are in THIRD_PARTY_NOTICES.md.
