/adhd:clarify [--medium <medium>] [artifact to clarify]from adhd
Restructures dense, decision-heavy messages into clear chunks with jargon definitions, verbatim terms, and HTML decision tables. Use when asked to 'clarify this', 'break this down', or parse a 'wall of text'.
Ships in adhd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Clarify by restructuring, never by simplifying: precision and reading level stay fixed, only the arrangement changes. A clarification that loses or softens a decision is worse than the original, so the fidelity rules are hard.
medium, then the form.
Done when the output is in the form the resolved medium and content size name, it prints
the resolver's report line (or the one line saying why the resolver did not run), and you claim no artifact that was not produced.With no argument, or only a --medium flag, clarify the assistant's own previous response. With no prior assistant
message, ask what to clarify; never invent a target.
Trivial target. When the target holds fewer than about two decisions (a short answer, a status line), skip the table and glossary: say in one line that it has nothing dense to clarify and ask what the reader wanted clarified.
Conflicting shaper. If a terse-for-tokens output shaper (for example caveman hooks) is active in the session context, say so before rendering: this skill adds structure that a strip-words directive contradicts. Name the source and let the user pick.
--force" survives character for
character. Surrounding framing may be reworded.Basis:
(verbatim), the alternative it was chosen over (verbatim, or "none offered"), and one sentence
on what the reader is actually deciding: the crux, not a restatement of the option.Carry Basis: through unchanged: "none stated" when the source gave none, never an inferred one.
It has three outcomes: Basis: verified with the file:line, tool output or URL;
Basis: judgment, allowed only for a recommendation that is not consequential (cross-repo, shared
infrastructure, irreversible, or security); or withheld, where the source raised an unsettled
consequential choice as an open question. A withheld item shows "withheld" in the Recommendation
cell and the evidence that would settle it in the Basis cell, never an invented recommendation. A
recommendation the source re-stated as old → new → why keeps all three parts. Full convention:
recommendation-basis.
medium firstBefore choosing a form, run the shared medium resolver. Add --argument only when the reader
passed --medium, with the value they gave. <option> is this plugin's medium option,
${user_config.medium} ("" when empty or unsubstituted), and <branding JSON> is
${user_config.branding} (omit --branding-option when empty or unsubstituted; otherwise
single-quote the JSON value, escaping any ' as '\'', never double-quoting JSON). Read each
option value from this text; never put a ${user_config.*} string in a shell command.
node "${CLAUDE_PLUGIN_ROOT}/lib/view-settings.mjs" resolve --producer adhd:clarify --option "<option>" [--argument <medium>] [--branding-option '<branding JSON>']
It prints one JSON line, then the report line naming the medium and what decided it, then one line
per notice; print the report line and each notice line in the output as they stand. The resolver weighs the argument, this
plugin's medium option and the repository's rendered-views convention files, and it never
publishes on a team file's say-so: leave every settings file to it. A usage error
(exit 2) means the argument named no medium: say so in one line and run it again without
--argument.
medium is set: render in that form from the table below. The resolver has already
stepped it down to one this session can reach, and a medium that keeps the view on the machine
never publishes, even with the Artifact tool present. When that form's surface is still absent
(no Artifact tool, no writable temp location), step down the table and say why in one line.medium is null: no setting decided, so the table below decides by content
size and the surfaces present.node is missing, or the resolver fails another way (any nonzero exit after the retry):
say so in one line in place of the report line, and let the table below decide.Small content (1–2 decisions) stays terminal markdown whatever the medium.
| Content | Surface available | Render as |
|---|---|---|
| Big / decision-dense (roughly 3+ decisions) | Artifact tool present in this session | Published HTML artifact |
| Big / decision-dense | No artifact surface, file writing useful | Local HTML file in the OS temp directory; hand back the path |
| Small (1–2 decisions), or no useful file surface | either | Structured terminal markdown |
Under the shipped default, detect the Artifact tool and degrade down the ladder when it is absent. Never claim a decision table was rendered when only prose was produced.
For a local file, create one file per run through the platform's temp API, never an accumulating
tree, and hand back its path; never write into the consumer's repository, and do not delete the
file before returning. Resolve that path the same way every run: do not branch on an injected
scratchpad path or CLAUDE_JOB_DIR, never depend on the session scratchpad, and do not use a
plugin-data substitution variable for it.
${…} token for this skill's body, fetch
Available string substitutions
live.With neither a writable temp location nor the Artifact surface, use terminal markdown. The fidelity rules hold in every medium.
Page chrome and branding. For the artifact or local HTML file, take the palette and type stacks
from ${CLAUDE_PLUGIN_ROOT}/reference/html-tokens.css and the toggle, comment box, radii and
accessibility floor (link and focus contrast tokens, color-scheme and reduced-motion behavior) from
${CLAUDE_PLUGIN_ROOT}/reference/html-chrome.html, rather than inventing a look per page. Run
node "${CLAUDE_PLUGIN_ROOT}/lib/html-branding.mjs" --in "<page>" --out "<page>" [--option '<branding JSON>']
(omit --option when empty or unsubstituted; single-quote the JSON value, escaping any ' as '\'')
to inline the token layer and any resolved branding overrides into the page's one <style>
element and show any resolved logo in .rv-bar's fixed slot while keeping the toggle, comment box
and floor unchanged (print any notices it reports; with no branding set, the page stays
unchanged). The chrome does not settle layout: the decision table stays the page's main content.
In every medium the table has numbered rows and these columns.
| # | Item | Recommendation | Basis | Alternative | What you're deciding |
|---|---|---|---|---|---|
| 1 | Q9 | (verbatim operative terms) | (verbatim, or "none stated") | (verbatim, or "none offered") | the crux in one sentence |
# is the table's own row number, so the reader can answer "row 2: take the alternative".
Item is the original identifier, the back-link. Keep the two distinct.Item; never
a lossy summary.docs/contracts/rendered-views/README.md ("Security baseline") in the marketplace
repository and repeated here because this skill runs where that file is not on disk. Everything copied
into the page is untrusted data: escape &, <, >, ", and ' in text
and attribute positions; never interpolate unescaped content into <script>
or <style>; never build an event-handler attribute from input. A local-file page may
load a popular, widely used library from a public CDN, pinned to an exact version, and makes no
other external request; each CDN <script> and <link> tag carries crossorigin="anonymous"
and an integrity hash of the exact file its pinned URL serves; it then has a fallback for when the CDN is unreachable, so the
table still shows. A page destined for a published claude.ai Artifact stays self-contained,
assets inline.
Operative terms often carry code-like characters (<dialog>, A && B, --force); escaping
keeps them verbatim in the page. In terminal markdown, wrap such terms in backticks.Load the artifact-design skill when it is available. When it is not, meet the Artifact tool's
own stated requirements and keep the page self-contained.
artifact-design is absent, read the Artifact tool's definition and fetch
Page constraints live.The decision table is the page's spine; it needs no runtime capabilities. Keep it utilitarian:
no hero banner, no italic accent words in headings, no "01 / 02 / 03" section labels (# is the
only numbering), no pill-shaped badges, and no style the reader names; when the reader dislikes a
choice, add it to that list and render again. In the terminal, give a one-line summary and the
link or path, not the table a second time.
education:explain lowers the altitude (plain words, analogy) and trades precision for it.
This skill keeps altitude fixed.education:illustrate changes the medium (a diagram, an ELI5 visual). This skill stays in
the artifact's own medium and words.discipline:wait-what is the reader's stop signal when the premise was never given: it adds
missing context and re-pitches. Use this skill when the premise is all on the page and the
decisions are buried.adhd:shape is a standing posture for every later response; this is a one-shot reshape of
one artifact. When both are active, fidelity wins over shaping: the decision table is exempt
from shape's five-item cap, and a shape-formatted target is judged by its actual decision density, not its provenance.Routing: "I don't get it / explain simply / what does this mean" goes to /education:explain (if enabled);
"ELI5 / draw me this / show me a diagram" goes to /education:illustrate (if enabled); "make this clear /
clarify this / what am I deciding" is this skill. Hand off to the first two through the Skill tool
when the education plugin is enabled; when it is not, say which one the ask wants and give a
faithful restructure.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub melodic-software/claude-code-plugins --plugin adhdOther plugins' skills for the same job