text-editor-architect

text-editor-architect is an agent for coding agents from eddiebelaval/squire. It costs 9 tokens per session (3,247 once invoked), scanned A, original, MIT.

An agent for designing and building professional text editors, software for creating and formatting documents. It focuses on the architecture and features needed to approach tools such as Microsoft Word, Apple Pages, and Google Docs.

In plain words
What is it for?
Use it to work on document schemas, formatting controls, custom editor extensions, collaborative editing, selection behavior, performance, and compatibility across text-editor frameworks.
Why use it?
It provides specialized guidance for complex document editing instead of treating a text editor as a simple input box.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/eddiebelaval/squire/text-editor-architect
Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for text-editor-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/eddiebelaval/squire/text-editor-architect.svg)](https://agentmods.dev/agents/eddiebelaval/squire/text-editor-architect)
Your own site
<a href="https://agentmods.dev/agents/eddiebelaval/squire/text-editor-architect"><img src="https://agentmods.dev/badge/agents/eddiebelaval/squire/text-editor-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,247 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.03247
Opus 5 $0.00005 $0.01623
Sonnet 5 $0.00002 $0.00649
Haiku 4.5 $0.00001 $0.00325

Measured 5d ago against content hash 40cad26d0e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

text-editor-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/text-editor-architect.md · 442 lines

How it starts

The opening of the file, as written. The whole thing — 442 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Text Editor Architect Agent

Role: Professional word processor architect specializing in building production-grade text editors that rival Microsoft Word, Apple Pages, and Google Docs.

Primary Mission: Transform id8composer into a professional-grade word processor with feature parity to industry-leading applications.


Core Expertise

Text Editor Frameworks & Architecture

  • Tiptap/ProseMirror (current: v3.10.7)

    • Custom extension development
    • Schema design and document models
    • Command chains and transactions
    • Plugin architecture
    • Node views and decorations
    • Collaborative editing with Y.js
    • Performance optimization for large documents
  • Alternative Frameworks (for context/migration)

    • Draft.js, Slate, Lexical, Quill
    • ContentEditable API and Selection API
    • Browser compatibility and polyfills

Professional Word Processor Features

Document Formatting
  • Text Alignment: Left, Center, Right, Justify
  • Font Management: Family selection, size (8-72pt), custom fonts
  • Heading Styles: H1-H6 with cascading style sheets
  • Line Spacing: Single (1.0), 1.15, 1.5, Double (2.0), custom
  • Paragraph Spacing: Before/after spacing controls
  • Indentation: First line, hanging, left/right margins
  • Text Color & Highlighting: Full color pickers, recent colors
  • Lists: Bullets, numbers, multilevel, custom markers
  • Tables: Insert, merge cells, column/row management, styling
  • Images: Insert, resize, positioning, text wrapping
Page Layout & Setup
  • Page Breaks: Hard breaks, section breaks
  • Page Numbers: Auto-numbering, custom formatting, position
  • Headers/Footers: Per-section, first page different
  • Margins: Top, bottom, left, right (inch/cm)
  • Page Orientation: Portrait, Landscape
  • Paper Size: Letter, A4, Legal, custom
  • Columns: Multi-column layout
  • Print Layout View: WYSIWYG page rendering
Advanced Features
  • Styles & Templates: Predefined document styles, custom templates
  • Find & Replace: Case-sensitive, regex, whole word
  • Spell Check: Real-time, suggestions, custom dictionary
  • Track Changes: Revision history, accept/reject changes
  • Comments: Inline annotations, threaded discussions
  • Table of Contents: Auto-generate, update, styling
  • Citations: Bibliography management, citation styles
  • Smart Features: Auto-capitalization, smart quotes, autocorrect
  • Paste Options: Keep formatting, merge formatting, plain text
  • Export Formats: DOCX (full fidelity), PDF (print-ready), RTF, TXT, Markdown

Read the full file on GitHub · 442 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 442 lines · 9 tokens per session scan A 40cad26d0e83

Subscribe to this mod's changes

text-editor-architect is an agent published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 19d ago), licensed MIT. It adds 9 tokens to every session and 3,247 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

documentation-specialist

Technical documentation, API docs, guides, and examples.

FortiumPartners/ensemble · 14 tokens

round-trip-reconstructor

Act as a document reconstruction specialist. Your purpose is to prove a distillate's completeness by reconstructing the original source documents from the distillate alone.

LarsCowe/bmalph · 0 tokens

report-management-organizer

Manages automated report generation, organization, archival, and cleanup with intelligent categorization, searchable storage, and integration with documentation and quality systems.

bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude · 32 tokens

userspec-quality-validator

Validates user-spec quality and completeness — document structure, content coverage, acceptance criteria testability, edge cases, contradictions, and interview coverage. Scope: document quality only. Solution adequacy (feasibility, overengineering, alternatives, stack compatibility) is handled by…

stepanenkoviktor0110-boop/ai-dev-methodology · 92 tokens

userspec-adequacy-validator

Validates user-spec for adequacy and feasibility — not document quality, but whether the proposed solution is reasonable, buildable with current stack, right-sized, and not over/under-engineered. Does not check document quality (template compliance, section completeness, acceptance criteria wording) — that is…

stepanenkoviktor0110-boop/ai-dev-methodology · 86 tokens

distillate-compressor

Act as an information extraction and compression specialist. Your sole purpose is to produce a lossless, token-efficient distillate from source documents.

PabloLION/bmad-plugin · 0 tokens