text-editor-architect

text-editor-architect is an agent for Claude Code 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 for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to work on document schemas, formatting controls, custom editor extensions, collaborative editing, selection behavior, performance, and compatibility across text-editor frameworks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/eddiebelaval/squire/text-editor-architect
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.

Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

Made for: Claude Code.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for text-editor-architect

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00009 $0.03247
Opus 5.5 $0.00004 $0.01299
Sonnet 5.5 $0.00002 $0.00649
Haiku 4.5 $0.00001 $0.00325

Measured 3mo ago against content hash 40cad26d0e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 3mo ago), licensed MIT. It adds 9 tokens to every session and 3,247 once invoked, about $0.0000 per session on Opus 5.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

text-editor-architect compared with agents from other repositories

text-editor-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
text-editor-architecteddiebelaval/squireAgent213mo agoMITA9Claude Code
documentation-specialistFortiumPartners/ensembleAgent125d agoMITA14Claude Code
report-management-organizerbejranonda/LLM-Autonomous-Agent-Plugin-for-ClaudeAgent285mo agononeA32Claude Code
userspec-quality-validatorstepanenkoviktor0110-boop/ai-dev-methodologyAgent23mo agononeA92Claude Code
userspec-adequacy-validatorstepanenkoviktor0110-boop/ai-dev-methodologyAgent23mo agononeA86Claude Code
flow-documenterMacroMan5/AutomationHelper_pluginsAgent31y agoMITA368Claude Code
quality-checkerclaude-office-skills/claude-office-pluginAgent98mo agoMITA75Claude Code