Loom logo

Loom

Community
epicsagas
loom

Velith router. Detects book project state and runs the next phase of the 6-phase pipeline (onboarding → ideation → outlining → drafting → editing → publishing) to the human-quality bar. Trigger: /loom, /velith, or any book-writing request.

Overview

Publisherepicsagas
RepositoryVelith
Skill nameloom
Stars
40
Forks
7
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by epicsagas on GitHub. Read the source before you install it.

Installation

Install the Loom AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/epicsagas/Velith/tree/main/skills/loom
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/epicsagas/Velith.git /tmp/Velith
mkdir -p .claude/skills
cp -r /tmp/Velith/skills/loom .claude/skills/loom
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Loom in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Loom on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Loom is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Velith — Books to the Human-Quality Bar

Velith produces books a cold reader cannot distinguish from a competent human author's work. Six phases, twelve agents, one standard: quality-bar.md in this directory. Read it once per session before doing any writing or editing work.

${CLAUDE_PLUGIN_ROOT} is this plugin's install directory. On hosts that do not substitute it, use the directory that contains velith.mjs.

Operating principles (supersede earlier Velith conventions)

  1. Full-manuscript context. Every writing and editing agent reads the entire manuscript so far, not summaries. Frontier models carry 1M tokens; a novel is under 200K. Voice drift and contradictions come from partial context. bible.md is an index and ledger, not a substitute for reading.
  2. Sequential drafting for narrative work. Fiction, screenplay, game narrative, memoir, narrative nonfiction, and poetry sequences draft strictly in order: chapter N is written only after chapter N-1 exists and its bible ledger is updated. Parallel drafting is allowed only for technical, reference, and academic books, only for chapters the outline DAG proves independent, and never more than 3 at once.
  3. Voice lock before volume. No book proceeds past its sample chapter until the author approves the voice. Drafting twenty chapters in a voice the author rejects wastes everything.
  4. Draft, critique, revise. No chapter is saved after a single pass. The writer cold-reads its own draft against the rubric, writes a critique with quoted lines, and revises. Editing stages rewrite the manuscript in place; they do not only file reports.
  5. Grounded claims. Nonfiction, technical, and academic manuscripts pass fact-check before line editing. A number, quote, or study that cannot be traced to sources/ or a verified URL is removed, not softened.
  6. Reader gate. Phase 4 ends with a cold read by simulated target readers. Publishing requires a PASS verdict or an explicit author override.
  7. One look per book. Images follow art-bible.md the way prose follows STYLE.md. Prompts are compiled from it, diagrams and drawings are code-rendered, every image passes vision QA, and a look lock precedes volume. See book-visuals.
  8. Author checkpoints. The pipeline stops for the author at six points: concept selection, outline approval, voice lock, look lock (if the book has images), developmental restructures, and readiness verdict. Everything else runs without asking.

Phase router

Run node ${CLAUDE_PLUGIN_ROOT}/velith.mjs scan <project-dir> to get project state, then route:

StateRoute
No PRD.mdPhase 0 /book-init
PRD.md but no ideation.md and no outline.mdPhase 1 /book-ideation
ideation.md but no outline.md (or outline lacks ## Approval)Phase 2 /book-outline
outline.md + bible.md, no draftsPhase 3 /book-draft (starts with voice lock)
Drafts exist, STYLE.md lacks ## Voice LockPhase 3 voice lock step, then continue drafting
Drafts incompletePhase 3 /book-draft (resume)
All chapters drafted, no edits/readiness-report.md with verdict: PASSPhase 4 /book-edit
Readiness PASS, no publish/book.epubPhase 5 /book-publish
Everything presentReport status; offer /book-illustrate, re-edit, or new project

With an explicit argument (/loom draft), run that phase regardless of detection, but still enforce the gates: drafting refuses to run without an approved outline; publishing refuses without readiness PASS unless --force.

Phases at a glance

PhaseSkillAgentsAuthor checkpointExit artifact
0 Onboardingbook-init——PRD.md, STYLE.md (with voice fingerprint), sources/INDEX.md
1 Ideationbook-ideation—Concept selectionideation.md with chosen concept + reader promise
2 Outliningbook-outlinebook-architectOutline approvaloutline.md (approved), bible.md
3 Draftingbook-draftscene-generator (fiction), chapter-writer, continuity-editorVoice lockdrafts/ch*.md, bible.md ledger, .velith/critiques/
4 Editingbook-editfact-checker (nonfiction), continuity-editor, style-doctor, beta-readerDevelopmental restructures, readiness verdictedits/01-06*.md, revised drafts/, edits/readiness-report.md, edits/editorial-report.md
3-5 Visualsbook-visualsart-director, figure-engineer, illustrator, cover-designerLook lockart-bible.md, visuals/
5 Publishingbook-publishcover-designer, marketing-expert—publish/ bundle

Genre support

GenreSkillWhat it adds
Fiction (all subgenres)book-fictionStructure options, scene craft, character depth, the fiction-specific tells
Nonfictionbook-nonfictionArgument architecture, evidence discipline, the nonfiction tells
Technicalbook-technicalConcept gradient, runnable code, failure-first teaching
Screenplaybook-screenplayFormat, sequence method, dialogue subtext
Poetrybook-poetryForm, line, collection architecture
Game narrativebook-gameBranching, quest design, lore bible
Academicbook-academicIMRAD, citation integrity, argument chains
Custombook-genre-creatorCompose a genre spec from the above

Agents read the genre skill for the project's genre (${CLAUDE_PLUGIN_ROOT}/skills/book-{genre}/SKILL.md) at the start of every task. Custom genres read genre-custom.md in the project.

Agents

AgentPhaseJob in one line
book-architect2Turns concept into an approved outline and a bible; scores structure
scene-generator3 (fiction)Plans scenes for one chapter: purpose, turn, subtext, exit. Plans, not prose
chapter-writer3Drafts one chapter in full context, critiques it, revises it, updates the bible
continuity-editor3-4Finds contradictions and repetitions across the whole manuscript against the bible
fact-checker4 (nonfiction)Builds a claim ledger, verifies every fact, removes what cannot be verified
style-doctor4Measures and rewrites: AI tells, voice drift, rhythm uniformity
beta-reader4Cold reads as target readers; issues the readiness verdict
art-director2-5Writes the art bible, runs the look lock, reviews every image with vision, signs off the contact sheet
figure-engineer3-5Code-rendered diagrams, charts, technical drawings, maps' base layers, ornaments
illustrator3-5Diffusion illustrations from the art bible with compiled prompts and vision QA
cover-designer5Cover concepts from the art bible, formats, marketing variants
marketing-expert5Positioning, personas, launch calendar

Project structure

{project-dir}/
├── PRD.md              # Requirements + reader promise (Phase 0-1)
├── STYLE.md            # Voice fingerprint, rules, voice lock record (Phase 0, 3)
├── ideation.md         # Concepts, comps, chosen concept (Phase 1)
├── outline.md          # Approved chapter specs + dependency map (Phase 2)
├── bible.md            # Characters/concepts, world/term rules, timeline, per-chapter ledger (Phase 2+)
├── art-bible.md        # Visual identity: look, palette, constants, figure system, look lock (Phase 2+)
├── sources/            # Reference material + INDEX.md (Phase 0+)
├── drafts/             # ch{NN}-{slug}.md, ch{NN}-scenes.md (Phase 3); revised in place (Phase 4)
├── visuals/            # plan.md, manifest.json, figures/, illustrations/, photos/, ref/, prompts/
├── edits/              # 00-fact-check.md … 06-readiness-report.md, editorial-report.md (Phase 4)
├── publish/            # EPUB/PDF/etc., metadata, cover/, marketing (Phase 5)
└── .velith/            # status.json, art-bible.json, critiques/, snapshots/, metrics.json

Status and tooling

  • node ${CLAUDE_PLUGIN_ROOT}/velith.mjs scan <dir> [--ui] — project state, dashboard data
  • node ${CLAUDE_PLUGIN_ROOT}/velith.mjs metrics <file|dir> — sentence/paragraph statistics, repeated phrases, AI-tell counts (JSON)
  • node ${CLAUDE_PLUGIN_ROOT}/velith.mjs snapshot <dir> <label> — copy drafts/ to .velith/snapshots/ before a rewriting stage
  • node ${CLAUDE_PLUGIN_ROOT}/velith.mjs images compile|check|render <dir> [id] — model-agnostic image prompts from the art bible, asset validation, figure rendering
  • node ${CLAUDE_PLUGIN_ROOT}/velith.mjs agents <id> <running|complete|error> [task] — agent status for the dashboard

Every skill ends with scan so the dashboard stays current.

Integrations (optional)

  • alcove — search the author's document vault as source material during /book-init and drafting.
  • humanize-korean — if installed, style-doctor may run it as a final Korean polish after its own pass.
  • Image generation MCPs — cover-designer and illustrator produce prompts; if an image tool is available they can execute them.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Loom AI skill do?

Velith router. Detects book project state and runs the next phase of the 6-phase pipeline (onboarding → ideation → outlining → drafting → editing → publishing) to the human-quality bar. Trigger: /loom, /velith, or any book-writing request.

Why use Loom on TypingMind?

Because you install it once and use it with any model. Loom is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Loom in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/epicsagas/Velith/tree/main/skills/loom. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Loom?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Loom?

As many as you like. As long as a model supports skills, you can use Loom with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Loom AI skill free?

Yes. It is published on GitHub by epicsagas under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇