You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`SessionStart`|`hooks/scripts/session-start.sh`| Injects the `<claudesay-protocol>` instruction as additional context when the flag is on. |
278
+
|`UserPromptSubmit`|`hooks/scripts/prompt-submit.sh`| Handles toggle/status intents in-hook; emits the per-turn reminder on other prompts. |
279
+
|`PreToolUse`|`hooks/scripts/pre-tool-use.sh`| Renders the tool-holding character before each tool call. |
280
+
|`Stop`|`hooks/scripts/stop.sh`|Extracts the `<claudesay>` tag from `last_assistant_message`and renders the speech bubble.|
279
281
280
282
The skill at `skills/claudesay/SKILL.md` is documentation/fallback only — it does not run Bash.
281
283
@@ -285,7 +287,19 @@ The skill at `skills/claudesay/SKILL.md` is documentation/fallback only — it d
285
287
286
288
Yes, but not much. The plugin adds a small instruction to the conversation at session start (~120 tokens) plus a short per-turn reminder (~20 tokens). The `<claudesay>` tag Claude writes in its reply also costs a few output tokens per turn. In practice the overhead is negligible — well under 1 % of a typical conversation's total token usage.
287
289
288
-
The hooks themselves (rendering, toggling, reading the transcript) are pure Bash and do not make any API calls, so they cost zero tokens.
290
+
The hooks themselves (rendering, toggling, reading the response) are pure Bash and do not make any API calls, so they cost zero tokens.
291
+
292
+
### Does the ASCII character art occupy context?
293
+
294
+
No. The rendered ASCII art (the speech bubble, the character figure, the grid) is produced entirely by the shell scripts and displayed to you via `systemMessage` — a transient notification that is **not** fed back into Claude's conversation history. Claude never sees the rendered output.
295
+
296
+
The only things that actually enter context are:
297
+
298
+
- The `<claudesay-protocol>` instruction injected at session start (~120 tokens).
299
+
- The short per-turn reminder hint (~20 tokens).
300
+
- The `<claudesay mood="…">…</claudesay>` tag that Claude writes in its own reply (a few output tokens).
301
+
302
+
The 87-line character definition, the grid rendering logic, and the final ASCII art all live purely in shell-land and cost zero context tokens.
0 commit comments