Skip to content

Metrics

A page nobody finishes reading is worse than none. Metrics holds each page to a reading budget, points out the text readers skip, and counts what your project chooses to track. It works on your computer alone, with no AI, and gives the same results every time. Everything it finds is a warning to help you trim, never a change made for you.

Metrics is off in a new project. Turn it on in Settings › Built-in plugins.

Every page shows its reading time beside its path (“4 min read”), even with Metrics off. Only your own writing counts: properties, headings, code, and the template’s prompts are left out.

Open a page, then the Metrics view in the right sidebar. It shows:

  • The reading time and word count against the budget, or Set a budget if there is none.
  • Sections over budget, each with its figures.
  • What you track: each of your counts, In range or Out of range.
  • To trim: each filler phrase, repeated sentence, or copied passage, quoted with advice and a Go to line N button.

A budget says how long a collection’s pages should take to read at most. It can cover every page of the collection, one kind of page, or one section by its heading. Give it in minutes, words, or both. Five minutes is a good budget for a spec.

  1. Open Settings › Built-in plugins › Metrics.
  2. Under Reading budgets, press Add budget.
  3. Pick the collection, the kind, and the part, then the minutes or words.

A page or section over its budget gets a warning that says how long it takes and suggests cutting it down or moving detail into a page of its own.

Under Filler and repetition, three warnings point out text readers skip. Each has its own switch:

  • Point out filler phrases: phrases like “in order to” that add words but no meaning. Edit the list in Filler phrases, one per line.
  • Point out repeated sentences: a sentence of six words or more said twice in one page.
  • Point out copied paragraphs: a paragraph nearly the same as one in another page. Keep it in one place and link to it. How alike (70% by default) and Shortest paragraph (25 words) tune it.

Under Things to count, press Add a count to track a number for each page of a collection and get a warning when it goes out of range. A count can be:

  • the words or the reading time of the page, or of one section;
  • the number of records of a type, such as no more than three open questions (needs Records on);
  • how much is filled in, such as a property, or every character having an arc.

Set the Least, the Most, or both.

An agent can propose cuts to a page that is over budget or has warnings. Each cut is a separate suggestion, with the passage, the proposed text, and the warning it answers. Nothing changes until you accept a suggestion, and the agent never raises a budget to clear a warning.

For people and agents working in a terminal.

Terminal window
eidos metrics # every page: reading time, words, budget, findings
eidos metrics B-SHS2 # one page, section by section; --json
eidos metrics configure:budget set specs --minutes 5
eidos metrics configure:budget set specs --section Intent --words 150
eidos metrics configure:metric add spec-length --collection specs --measure words --max 1500
eidos metrics configure:filler add "going forward" # or remove
eidos plugin set metrics near-duplicate off # switch a warning off
eidos instructions simplify # the agent's guide to proposing cuts

Settings are kept in .eidos/plugins/metrics/settings.yaml, written by the settings screen and the configure: commands; never edit it by hand. eidos check reports metrics/over-budget, metrics/filler, metrics/repeated-sentence, metrics/near-duplicate, and metrics/threshold, all as warnings.