Skip to content
Back to skills

Braille Tally

ASecurity

The Braille Tally — rank anything a person will read on a few axes at once, as one word-sized shape of Braille cells (⣿⣶⣴), one cell per axis, where level n of 8 is a cell with n dots. Default axes, in order, Importance · Urgency · Simplicity. Use it on every list of outstanding items, decisions, options, asks, tasks or recommendations that a human reads — and on every AskUserQuestion option and every GitHub issue title, where guards require it. Prints, reads, draws (HTML, no font needed) and...

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 21, 2026
ai-agentsgoshellbashawsgitapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add terrylica/cc-skills --skill braille-tally --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Braille Tally?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Braille Tally
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/terrylica-braille-tally/badge)](https://www.skillsdirectory.com/skills/terrylica-braille-tally)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: braille-tally
description: The Braille Tally — rank anything a person will read on a few axes at once, as one word-sized shape of Braille cells (⣿⣶⣴), one cell per axis, where level n of 8 is a cell with n dots. Default axes, in order, Importance · Urgency · Simplicity. Use it on every list of outstanding items, decisions, options, asks, tasks or recommendations that a human reads — and on every AskUserQuestion option and every GitHub issue title, where guards require it. Prints, reads, draws (HTML, no font needed) and ranks tallies (Pareto fronts, no weights). TRIGGERS - braille tally, tally, rank these, prioritise, priority list, outstanding items, open items, what is waiting, options to choose from, AskUserQuestion, GitHub issue title, gh issue create, importance urgency simplicity, ranking glyph.
allowed-tools: Bash, Read
---

# Braille Tally

> **Self-Evolving Skill**: This skill improves through use. If a rule below proves wrong in a real app, a measurement no longer holds, or a workaround was needed: fix this file, `lib/tally.ts` and the tests at once, don't defer. Only update for real, reproducible issues.

A **Braille Tally** ranks an item on a few axes at once without merging them into one number. It is a short run of Braille cells, one per axis. **Level n (1–8) is the cell with exactly n dots**, filled from the bottom row up, so a taller column always means "more":

```
level  1 2 3 4 5 6 7 8
cell   ⡀ ⣀ ⣠ ⣤ ⣴ ⣶ ⣾ ⣿
```

Example: `⣿⣶⣴` is very important, fairly urgent, and moderately simple. `⡀⡀⡀` is the lowest on all three.

## The rules

1. **Default axes, in this order: Importance · Urgency · Simplicity.**
   - **Importance:** how much it serves the goal and protects the future.
   - **Urgency:** how soon it matters.
   - **Simplicity:** how little it takes to do or answer.

   For all three, taller is "sooner": do the tall ones first. Any other axes are allowed only with a legend that names them.

2. **Every tallied list carries the legend once, at its head.** AskUserQuestion is the exception: no legend there, because its axes are always the default three. The default legend is: _Braille Tally: Importance · Urgency · Simplicity, each column ⡀ (lowest) to ⣿ (highest), relative to the other items._
3. **Levels are relative.** Set each axis by comparing the items on that axis only, then snap to 1–8. Where a project has written anchors for the levels (what 8, 6, 4, 2 and 1 mean on each axis), use them, so adding an item does not reshuffle the others.
4. **Never merge the axes.** Order items by **Pareto front**:
   - front 1 is what no other item beats on every axis at once, front 2 is what only front 1 beats, and so on;
   - inside a front, the most urgent comes first, then the most important, then the simplest.
5. **Where it goes:**
   - **Lists a person reads** (open items, asks, tasks, findings, recommendations, plans, digests): each item starts with its tally.
   - **AskUserQuestion:** each option label starts with its tally and one space, always on the default axes, with no legend line in the question (operator, 2026-11-20: no preamble). Options are in rank order, so the first option is the recommended one and is in front 1. A guard in this plugin enforces both.
   - **GitHub issue titles:** each title starts with its tally and one space, the glyph alone, on the default axes: `⣿⣶⣴ Fix the login timeout`. No levels in digits and no numbering in a title: a title is short, and the issue list is where people scan it. Retitle when the assessment changes. A guard in this plugin enforces it.
   - **Plain text that may be read without the shape** (an email's plain part, a screen reader): add the levels after the tally, `⣀⣿⣿ (2·8·8)`.
   - **HTML** (email bodies, web pages): draw it with `html`, which needs no Braille font, and keep the levels in small text beside it.
6. **Not for secrets or identity:** a tally carries only levels, so it is safe in any public place.

## Commands

```bash
BT="$(cc-plugin-root braille-tally)/scripts/braille-tally.ts"
bun "$BT" tally 8 6 5               # ⣿⣶⣴
bun "$BT" tally 2 8 8 --levels      # ⣀⣿⣿ (2·8·8)
bun "$BT" parse ⣠⣴⣾                 # 3 5 7
bun "$BT" legend                    # the default legend line
bun "$BT" legend --axes "Value,Risk,Effort"
bun "$BT" html 2 8 8 --levels --ink "#3c4043"   # drawn, for email and web pages
printf '%s\n' '{"id":"a","levels":[2,8,8]}' '{"id":"b","levels":[8,6,8]}' | bun "$BT" rank   # ranked, with fronts
bun "$BT" spec                      # the command set as JSON
```

Code that needs it can import `lib/tally.ts`, which has no dependencies: `tally`, `tallyWithLevels`, `levelsOf`, `legend`, `dominates`, `fronts`, `ranked`, `outOfRank` and `html`.

## The AskUserQuestion guard

`hooks/askuserquestion-tally-guard.ts` (PreToolUse, matcher `AskUserQuestion`) denies the call, with the exact fix, when any of these holds:

- an option label does not start with a tally;
- the options of one question have different numbers of cells;
- a later option beats an earlier one on every axis.

It fails open on anything unexpected.

**Escape:** put `BRAILLE-TALLY-EXEMPT` anywhere in the question, only when its options genuinely cannot be ranked. The token is named here and in the hook, and deliberately not in the deny message.

## The issue-title guard

`hooks/issue-title-tally-guard.ts` (PreToolUse, matcher `Bash|Write|Edit` and GitHub MCP issue tools) denies the call, with the exact fix, when an issue title it can read does not start with a tally and one space, puts digit levels or a number after the tally, or uses Braille cells that are not tally levels. **Why:** a reader scanning an issue list sees at a glance how each issue was assessed, in the same shape as the options of a question.

It reads literal titles only:

- `gh issue create|new|edit` with `--title`, `--title=`, `-t`, `-tVALUE` (also after `--repo`, inside `$( … )` or backticks, and in a heredoc fed to a shell; an `echo gh …` or a heredoc written to a file is text, not a command);
- `gh api` on `repos/OWNER/REPO/issues[/N]` with a `title=` field (`-f`, `-F`, `--field`, `--raw-field`), unless the method is GET;
- `gh api graphql` with a `createIssue` or `updateIssue` mutation: its literal `title: "…"`, or the field that supplies the variable it names;
- the same commands inside a shell script being written or edited (`.sh`, `.bash`, `.zsh`, or a shell shebang), judged by the titles the change adds, so a script run later is covered and titles already in the file are left alone;
- GitHub MCP tools (a server name containing `github`) named `…create_issue`, `…update_issue` or `…issue_write`, by their `title` argument.

A title built from a variable (`--title "$T"`) is not known before it runs and is allowed; a known prefix (`--title "Bug: $T"`) is still checked. `gh issue edit` without `--title` is not checked, nor is a JSON body sent with `gh api --input` (a known limit). It fails open on anything unexpected and makes no network calls.

```bash
gh issue create --title "⣿⣶⣴ Fix the login timeout" --body "…"     # allowed
gh issue create --title "Fix the login timeout"                    # denied: no tally
gh issue create --title "⣿⣶⣴ (8·6·5) Fix the login timeout"        # denied: the glyph alone
gh issue edit 12 --title "⣤⣠⣿ Rename the config flag"               # allowed: retitle when the assessment changes
```

**Escape:** the same token as the AskUserQuestion guard, anywhere in the tool input (a trailing shell comment works), only for a title that must match something exactly, such as a template a bot reads.

## Why Braille cells

These were measured in Chrome on macOS in a replica of Gmail's subject line, plain text in Google Sans with the system's fallbacks:

- **Block characters don't line up.** The Unicode block characters ▁▂▃▄▅▆▇█ come from several fonts in one line: Hiragino Sans for most, Arial for ▄, Helvetica for █. █ and ▄ end about 2.5 px lower, ▄ is narrower (9.9 px against 14 px), and the 7/8 block ▉ leaves a gap where the others touch. Fonts cover block elements unevenly ([fileformat.info](https://www.fileformat.info/info/unicode/block/block_elements/fontsupport.htm)), they sit at different heights in different fonts ([Unicode L2/17-194](https://www.unicode.org/L2/L2017/17194-block-elements.pdf); [Jon Udell](https://blog.jonudell.net/2021/08/05/the-tao-of-unicode-sparklines/)), and they are designed to join into one bar ([Hayden Schiff](https://www.schiff.io/blog/2020/04/16/google-sheets-scroll-chart/)).
- **One font draws every Braille pattern** (Apple Braille on macOS). All eight levels have one width (9.6 px at 14 px) and one bottom line, and the gap between cells is built into the font, so a tally is evenly spaced by construction.
- **Limits:**
  - Dotted columns are fainter than solid bars, and odd levels look like a small stair.
  - Typed Braille needs a font with Braille Patterns, and some apps fall back badly ([BossTerm #407](https://github.com/kshivang/BossTerm/issues/407)); in bold text Chrome on macOS draws hollow rings (see "Reading tallies on macOS Chrome" below). The drawn HTML form and the levels in text do not depend on one.
  - Measured on macOS; the bold fallback also on Windows.

## Reading tallies on macOS Chrome

**Symptom:** in Chrome on macOS, a tally in **bold** text shows every cell as a full grid of eight rings, filled where a dot is raised and hollow where it is not. The levels are hard to tell apart. GitHub's issue list is the common case: titles there are semibold (600), while the title inside an issue is regular (400) and looks right.

**Cause:** most interface fonts have no Braille glyphs, so the system's fallback draws them. macOS ships five faces in the family "Apple Braille", all registered at weight 400: Regular (PostScript name `AppleBraille`), Outline 6 Dot, Outline 8 Dot, Pinpoint 6 Dot and Pinpoint 8 Dot. The Outline faces draw a hollow ring at every unraised position, by design. A regular-weight request matches Regular; a heavier request matches no face exactly, and Chromium picks an Outline face. The same fallback swap has been reported in other Skia-based apps ([BossTerm #407](https://github.com/kshivang/BossTerm/issues/407), [#409](https://github.com/kshivang/BossTerm/pull/409)).

**Measured** (2026-11-23, the same test page with GitHub's font stack at each weight):

| Browser | Weight 400 | Weight 500, 600, 700 |
| --- | --- | --- |
| Chromium on macOS (Chrome headless shell) | raised dots only | full grid with hollow rings |
| WebKit 27.2 on macOS (Safari's engine) | raised dots only | raised dots only |
| Chrome 157 and Edge 158 on Windows (Segoe UI Symbol) | raised dots only | raised dots only |

**Fix, for a page you control or a user stylesheet** (tested in both macOS engines): alias the Regular face by its PostScript name across every weight, for the Braille block only, and put the alias first in the font stack.

```css
@font-face {
  font-family: "Braille Solid";
  src: local("AppleBraille");   /* PostScript name of the Regular face */
  font-weight: 100 900;
  unicode-range: U+2800-28FF;
}
body { font-family: "Braille Solid", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
```

- Use the PostScript name. `local("Apple Braille")` is also the family name, and WebKit then picked an Outline face, which broke Safari.
- Do not name `"Apple Braille"` in `font-family` instead. It was Chromium's 2023 workaround in [issue 40275082](https://issues.chromium.org/issues/40275082), closed Won't Fix, and it now selects an Outline face in both macOS engines, at weight 400 as well as 600 (re-measured in Chromium 149 and WebKit 27.2: hollow rings in both at 400 and 600; the `local("AppleBraille")` alias is solid in both at 600).
- Where the face is absent (Windows, Linux) the rule matches nothing and the normal fallback applies.
- A title's own text cannot carry this; only the page's CSS, a user stylesheet or an extension can.
- The drawn HTML form (`braille-tally html`) uses no font and is unaffected.

## Evolution log

- **2026-11-20 — created.** _Trigger_: the operator's request to give the dot glyph, first used to rank asks in one project, a unique name and make it a convention for every project, device and agent, especially AskUserQuestion. _Choices (AskUserQuestion)_:
  - the name "Braille Tally";
  - a public plugin;
  - three fixed default axes, others only with a legend;
  - a blocking AskUserQuestion guard;
  - the tally at the start of each label, options ranked.

  _Evidence_: the measurements above; 17 tests in `tests/tally.test.ts`, including one that checks every drawn level against its Braille code point.
- **2026-11-20 (b) — no legend in AskUserQuestion.** _Trigger_: the operator: the legend line "should be removed from all AskUserQuestion … No need to be in the front of AskUserQuestion as preamble". _Fix_: the guard no longer requires "Braille Tally" in the question text; AskUserQuestion always uses the default axes; lists keep their legend. _Evidence_: a test that a tallied, ranked question without a legend passes.

- **2026-11-23 — GitHub issue titles.** _Trigger_: the operator: "make it a convention for all GitHub issue titles to start with a Braille Tally … like the convention for AskUserQuestion", enforced by a hook, agnostic and universal, the glyph alone in the title. _Fix_: `hooks/issue-title-tally-guard.ts` and rule 5's issue-title line. _Evidence_: 26 tests in `tests/issue-title.test.ts` (every `--title` form, `gh api` REST and GraphQL, shell scripts and edits, MCP tools, variables, the escape, the hook process), 12 of them from one review round by a different vendor's model (false blocks: `echo gh …`, heredoc text, a `--body` that looks like a flag, `-F title=@-`, GraphQL expansions and `\u` escapes, other mutations' titles, other MCP servers; false passes: `--repo` first, `$( … )`, `$'…'`, GraphQL variables, partial edits). gh-tools' title reminder now names the tally too.

- **2026-11-23 (b) — hollow rings in bold on macOS Chrome.** _Trigger_: a screenshot of a GitHub issue list where every tally showed full grids of rings; inside each issue the same tallies looked right. _Finding_: the bold list title makes Chromium's fallback pick an Apple Braille Outline face; WebKit and Windows browsers do not. _Fix_: the section "Reading tallies on macOS Chrome", with the CSS alias. _Evidence_: renders of one test page in Chromium and WebKit on macOS and in Chrome and Edge on Windows, at weights 400 to 700, with and without the alias; the font files' names and weight classes.

## Post-Execution Reflection

After using this skill, check before closing the task:

1. **Did a tally render badly somewhere** (misaligned, empty boxes, wrong height)? Measure it, name the app and font, and add it to "Why Braille cells" and the README's limits.
2. **Did the guard block a question that could not honestly be ranked,** or let through one that should have been? Fix `problems()` with a test that reproduces it.
3. **Did a list need axes other than Importance · Urgency · Simplicity?** If the same other axes keep recurring, record them here as a named variant with its own legend.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.