AskMason: A WordPress plugin that answers from the page it sits on
Summary
AskMason is a WordPress plugin that answers a visitor's questions authoritatively from the text of the page it is placed on, and from nothing else. Each answer names the section of the page it came from, and when the page does not cover the question the assistant says so, gives a contact instead of guessing, and logs the question so the site's administrator can fill the gap. AskMason reads the page's content directly, with no encoding or sync step, so its answers stay current however often the page is edited. The site owner supplies their own Anthropic API key, so the plugin has no Auth/Technic server behind it and Auth/Technic never sees a question. AskMason grew out of Mason, the assistant on authtechnic.com, and was built for a client whose guests needed dependable answers from one long reference page. AskMason has been in the WordPress.org plugin directory as a free plugin since September 30, 2026, with paid editions that add whole-site answers.
The Problem
An expedition-travel client publishes a single long reference page for the guests of each voyage. The page carries everything a guest needs: documents, packing, schedules, health and safety requirements, contacts. The page is long because it has to be, and its length is the problem. The answer is on the page and the guest still cannot find it.
A general chatbot was the wrong tool for that page. A guest asking about a travel document or a medical requirement needs the answer the page actually gives, in a form the client's staff can point to and defend. An assistant that fills a gap with a plausible guess is worse than no assistant.
The client's site runs on WordPress, and the reference page is built in Elementor and protected by a page password. Any answer tool had to live inside that site, respect that password, and stay within what the client's staff could run themselves.
The client's staff add and edit pages frequently. An assistant that needed a manual re-index after each edit would be out of date the first time someone forgot, and nobody would know until a guest was given a superseded answer.
Context: where the idea came from
AskMason is the fourth step in a line of work that began on authtechnic.com.
- Mason. Mason is the visitor assistant on authtechnic.com. The first working version of Mason was built over a single weekend, within roughly a day of the architect first encountering retrieval-augmented generation.
- A document library written to be quoted. Mason answers through Anthropic's Citations API, which quotes source sentences back verbatim. Auth/Technic's case studies and practice documents were then written to an authoring guide so that each sentence can stand alone as a citation.
- Mason in public. Mason moved from the site's logged-in sandbox to a public page in July 2026.
- The same idea in a tool. The secrets generator on authtechnic.com gained a "describe what you need" bar that uses the same AI component to choose the right kind of secret from a plain-language request.
The client's reference page was the next place the idea fit. The requirement was narrower than Mason's and stricter: one page, quoted faithfully, for an audience that would act on the answer.
The Idea
The proposition was that a single page does not need retrieval at all. A reference page of this kind fits whole inside the model's prompt, and prompt caching makes repeat reads cheap. The client's page came to about 6,400 tokens. Sending the whole page with every question removes the embedding step, the vector store, and the class of error where the right passage is never retrieved.
Once retrieval was gone, everything that remained was something only WordPress knows: the page text, the moment the text changes, who is allowed to see the page, and who reads the question log. The whole product therefore lives in WordPress. AskMason is one shortcode, one REST route, one stored snapshot of the page's text, and one call to the model per question.
Bring-your-own-key followed from the same reasoning. The site owner enters their own Anthropic API key and is billed by Anthropic directly. Auth/Technic holds no customer keys and operates no service in the path. The plugin's daily limits and monthly token budget protect the site owner's bill.
Alternatives considered
- A hosted assistant with a thin WordPress plugin. A server would still need a plugin for the widget, the text extraction, change detection and access checks. A server moves only the easy parts and adds a network boundary, a sync protocol and a second service to run.
- Retrieval-augmented generation, as Mason uses. Retrieval earns its place when the source material is too large for the prompt. One page is not. AskMason's paid edition adds retrieval only where it is needed, for answers drawn from a whole site.
- An existing general-purpose AI plugin. The established plugins in the category are site-wide chatbots and content generators. The requirement here was one job done at a standard a client's staff could vouch for.
The Implementation
flowchart LR
subgraph Save path
E[Editor saves page] --> X[Extract stored text]
X --> S[(Snapshot + hash)]
end
subgraph Ask path
V[Visitor] --> W[Ask box]
W --> R[REST route]
R --> P{May view page? Under limits?}
P -- no --> D[Fixed reply with contact]
P -- yes --> A[Model API, page as cached prompt]
S --> R
A --> R
R --> L[(Question log)]
R --> W
end
Reading the page without rendering it
AskMason reads a page's text as it is stored, never as it is rendered. Elementor pages are read from their stored design data; block-editor pages are read from their block content. Because the page is never rendered, nothing that another plugin would show only to some visitors can reach the assistant.
The extraction approach was tested before any plugin code was written. The extractor recovered 3,850 words from the client's page against 3,894 words in a PDF of the rendered page. Twenty numeric facts were sampled at random from the PDF before checking; 16 matched verbatim and the other four differed only by PDF formatting artifacts. Every word missing from the extraction was a fragment of a printed URL.
That test set two rules for the extractor. Headings inside text blocks are kept as structure, because an answer that cannot name its section cannot be checked. Links are kept as "text (URL)", because on a reference page the link is often the answer.
The page's edit screen lists every element the assistant could not read, with a count. A page author can see what the assistant does not know.
Always current, with nothing to sync
AskMason has no encoding step. A page's text is not converted to embeddings, uploaded to an index, or copied to an outside service. The plugin keeps a plain-text snapshot of the page with a hash of its contents. The snapshot is refreshed whenever the page is saved, in WordPress or in Elementor, and the plugin checks the snapshot before every question and rebuilds it if it has gone stale.
The result is that an edit to the page is in the assistant's next answer. There is no "re-index" button to remember and no schedule to wait for. An editor can change a page ten times in an afternoon and the assistant is never behind the page.
Supplementary notes
Each page has a supplementary notes field on its edit screen. The notes hold facts the assistant may use that are not shown on the page. Where the page and the notes disagree, the page wins. The notes can be quoted in an answer, so the plugin's documentation tells authors not to put anything there a visitor should not read.
The prompt and the refusal rule
Each question is sent with two system blocks: the instructions, then the page. The cache breakpoint sits on the page, so every visitor to that page shares one cached copy. A long page costs one full read per cache window instead of one per question. Conversation history is capped at six turns.
The assistant is instructed to answer only from the page and its notes and to say plainly when they do not contain the answer. In that case the visitor gets the contact email, phone number, or both that the site owner has set. A "take particular care with" setting names the subjects where a wrong answer costs most; it starts as travel documents, visas, medical requirements, safety, accessibility, and dates and times.
Unanswered questions become the page's to-do list
Every question is logged for the site's administrator with its answer and its outcome, including the questions the page could not answer. A question the assistant had to decline is a statement of what the page is missing, in a visitor's own words. The administrator adds the answer to the page or its supplementary notes, and the gap is closed for the next visitor.
The question log is part of the free plugin. The paid editions add a content gaps report on top of the log: the unanswered questions grouped so that the same question in different words counts once, most asked first, with a weekly digest by email. The grouping is computed locally and makes no model call.
Access, limits and the bill
Only a visitor who can already view the page can ask about it. A page password counts, and the assistant is never available on a page the visitor could not open. Site owners can narrow access to logged-in users or roles, or connect their own membership rules through a filter.
Spending is bounded in layers. Daily limits apply per visitor, per address and across the site, counted in the database so they hold under concurrent traffic. A per-minute cap absorbs bursts. A monthly token budget is the backstop: when the month's tokens reach it, the ask box leaves every page until the next month.
Pages carrying the ask box can still be served from a full-page cache. The page HTML holds no expiring token; the widget fetches a fresh security token on the visitor's first question.
Privacy by construction
Visitor addresses are never stored. Daily limits use a salted hash that changes every day. Questions and answers are kept for a retention period the site owner sets, 180 days by default, and are covered by WordPress's own export and erase tools when a user id is recorded. The plugin's fonts are served from the site itself. The plugin sends nothing to Auth/Technic at any time.
Whole-site answers, in the paid edition
A page can be set to answer from the whole site. The page's own text still comes first, followed by the passages from other enabled pages that bear on the question, and the answer names and links the page it drew on. The passages are found with a full-text index in the site's own database. No embeddings and no outside vector store are involved. Only pages the visitor could open are consulted. The index is rebuilt from the same snapshots, so whole-site answers follow page edits in the same way.
How it was built and checked
AskMason was scoped on September 21, 2026. The first end-to-end version existed on September 22, and version 1.0.0 was released on September 29. The repository holds about 90 commits and more than 270 automated tests.
The work followed Auth/Technic's adversarial practice. An independent model reviewed the code at version 0.5.0, and each of its findings became a tracked work item. A second independent review at version 1.0.6 produced the 1.0.7 changes. Answer quality on the client's page was tested against a frozen question set, kept apart from the questions used to tune the prompt.
WordPress.org's own review shaped the free plugin. The first review round required that the free build contain no feature that is switched off pending payment. The free plugin is therefore the complete product for one page on one site: nothing in it is locked or greyed out, and it does not expire. WordPress.org approved AskMason on September 30, 2026.
The Outcome
AskMason is live in the WordPress.org plugin directory at wordpress.org/plugins/askmason, at version 1.0.7. The free plugin answers questions from one page with the site owner's Anthropic key. Paid editions, licensed through Freemius, add style controls, other model providers, whole-site answers, the content gaps report, per-page overrides and an outgoing webhook.
The plugin is installed on the first client's WordPress site.
The directory listing is new. Adoption figures are not yet meaningful and none are claimed here.
Constraints and What We Would Do Differently
Bring-your-own-key is friction as well as a feature. A site owner has to open an Anthropic account, create a key and set a spend limit before the first question is answered. That is the honest price of a plugin with no service behind it and no markup on usage. It will lose some installs that a hosted, one-click assistant would have kept.
The first scoping assumed the wrong access model. The initial brief assumed each guest would have a WordPress login. The client's page was protected by a single shared page password instead. The assumption was caught and the contract revised on the first day, before code was written. The present-day practice it reinforced: confirm how real visitors actually reach the page before designing who may ask.
The assistant only knows what is stored as text. Images, galleries, shortcodes and blocks that other plugins render at view time are not read. The edit screen lists them and the supplementary notes exist to carry what they hold, but a page whose substance lives in images is a poor fit.
Membership plugins need a line of code. AskMason honors what WordPress itself knows about a page: its status, its privacy and its password. A membership or paywall plugin that restricts a page at render time has to be connected through a filter. A site owner who skips that step could expose restricted text through the assistant.
Release packaging took more attempts than it should have. Eight versions shipped between 1.0.0 on September 29 and 1.0.7 on September 30, 2026. Most of them corrected licensing-platform packaging and directory-review requirements, not the product. A rehearsal of the full release path against both platforms before tagging 1.0.0 would have folded those into one release.
Final answer-quality scoring belongs to the client. The frozen question set exists so that the client's staff, and not the builder, decide whether the answers are good enough for their guests. That scoring is theirs to report, and no accuracy figure is claimed here.
Related
- Auth/Technic website case study – the site where Mason, AskMason's predecessor, was built and still runs.
- Blok case study – the component library that carries Mason's retrieval and citation work. AskMason itself uses no bloks; it is a standalone PHP plugin.
- AskMason in the WordPress.org plugin directory
- AskMason editions and pricing