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.
See a page’s metrics
Section titled “See a page’s metrics”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.
Set a reading budget
Section titled “Set a reading budget”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.
- Open Settings › Built-in plugins › Metrics.
- Under Reading budgets, press Add budget.
- 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.
What to trim
Section titled “What to trim”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.
Counts of your own
Section titled “Counts of your own”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.
Trim with an agent
Section titled “Trim with an agent”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.
From the CLI
Section titled “From the CLI”For people and agents working in a terminal.
eidos metrics # every page: reading time, words, budget, findingseidos metrics B-SHS2 # one page, section by section; --jsoneidos metrics configure:budget set specs --minutes 5eidos metrics configure:budget set specs --section Intent --words 150eidos metrics configure:metric add spec-length --collection specs --measure words --max 1500eidos metrics configure:filler add "going forward" # or removeeidos plugin set metrics near-duplicate off # switch a warning offeidos instructions simplify # the agent's guide to proposing cutsSettings 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.