loom

loom is a skill for Claude Code, Codex from epicsagas/Velith. It costs 36 tokens per session (1,963 once invoked), scanned A, original, Apache-2.0.

A publishing workflow for creating fiction, nonfiction, and technical books from an initial idea to export. It divides the work into stages such as planning, outlining, drafting, editing, and publishing.

In plain words
What is it for?
Use it to develop an idea, plan chapters, write drafts, edit the manuscript, prepare visuals, and publish the result. It supports formats including fiction, nonfiction, technical books, screenplays, poetry, games, and academic books.
Why use it?
It gives a long book project an ordered process with checks at each stage. It also adapts the workflow to different kinds of books, such as novels, technical guides, academic work, and poetry.

Skill for Claude CodeCodex

Part of the velith plugin — 17 skills, 8 agents shipped together

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 skills/epicsagas/velith/loom
Any agent
npx skills add epicsagas/Velith --skill loom
Clone the repo
git clone --depth 1 https://github.com/epicsagas/Velith

Made for: Claude Code, Codex.

Or install velith, the plugin that ships this one along with the rest of its 17 skills, 8 agents.

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 loom

README.md
[![agentmods](https://agentmods.dev/badge/skills/epicsagas/velith/loom.svg)](https://agentmods.dev/skills/epicsagas/velith/loom)
Your own site
<a href="https://agentmods.dev/skills/epicsagas/velith/loom"><img src="https://agentmods.dev/badge/skills/epicsagas/velith/loom.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,963 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.00036 $0.01963
Opus 5 $0.00018 $0.00981
Sonnet 5 $0.00007 $0.00393
Haiku 4.5 $0.00004 $0.00196

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

Security

Grade A, and why

loom 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 4d 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.

skills/loom/SKILL.md · 175 lines

How it starts

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

Velith — AI-Native Publishing System

Overview

Build books like software. 6-phase pipeline from blank page to published book, with dedicated skills, agents, and quality gates at every stage.

Phase 0: Onboarding → Phase 1: Ideation → Phase 2: Outlining → Phase 3: Drafting → Phase 4: Editing → Phase 5: Publishing

Genre Support

Genre Key Differences Reference File
Fiction Plot structure (Save the Cat!/Snowflake), character bible, scene beats book-fiction
Non-Fiction Problem-solution structure, persona-driven, evidence hierarchy book-nonfiction
Technical Concept progression (novice→expert), code examples, diagrams, API docs book-technical
Screenplay 3-act + sequence method, dialogue/action, A/B story book-screenplay
Poetry Form-driven (sonnet/haiku/free verse), imagery systems, collection arc book-poetry
Game Quest trees, branching dialogue, lore bible, flag system book-game
Academic IMRAD, literature review, argument chains, citation practices book-academic
Custom Compose patterns from any genre via book-genre-creator book-genre-creator

Phase Router

When /velith is invoked without arguments, detect current project state and route:

  1. No project exists → Run Phase 0 (Onboarding)
  2. Project exists, no outline → Run Phase 1 (Ideation)
  3. Outline exists, no drafts → Run Phase 2 (Outlining) validation, then Phase 3
  4. Drafts exist, incomplete → Continue Phase 3 (Drafting)
  5. All drafts complete → Run Phase 4 (Editing)
  6. Editing complete → Run Phase 5 (Publishing)

Detection: check for drafts/ directory, outline.md, STYLE.md, PRD.md in current project.

Phase Details

Phase 0: Onboarding (/velith onboard)

  • Genre selection (fiction/non-fiction/technical/screenplay/poetry/game/academic/custom)
  • Target audience definition
  • Language selection
  • Project directory setup
  • Source material scan (existing notes, articles, code)
  • Generate STYLE.md (voice, tone, conventions)
  • Generate PRD.md (book requirements)

Read the full file on GitHub · 175 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. 4d ago First seen · 175 lines · 36 tokens per session scan A 28b727c21835

Subscribe to this mod's changes

loom is a skill published in the GitHub repository epicsagas/Velith (33 stars, last pushed yesterday), licensed Apache-2.0. It adds 36 tokens to every session and 1,963 once invoked, about $0.0002 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 skills, from other repositories

agent-session-monitor

Real-time agent conversation monitoring - monitors Higress access logs, aggregates conversations by session, tracks token usage. Supports web interface for viewing complete conversation history and costs. Use when users ask about current session token consumption, conversation history, or cost statistics.

higress-group/higress · 53 tokens

higress-daily-report

生成 Higress 项目每日报告,追踪 issue/PR 动态,沉淀问题处理经验,驱动社区问题闭环。用于生成日报、跟进 issue、记录解决方案。.

higress-group/higress · 50 tokens

issue-spec-workflow

Use issue-spec to plan and implement a change through exact-head human review handoff.

higress-group/higress · 22 tokens

open-ontologies

AI-native ontology engineering using 50+ MCP tools backed by an in-memory Oxigraph triple store. Build, validate, query, and govern RDF/OWL ontologies with a generate-validate-iterate loop. Use when building ontologies, knowledge graphs, RDF data, SPARQL queries, BORO/4D modeling, SHACL validation, clinical…

fabio-rovai/open-ontologies · 110 tokens

shadcn-ui

Provides complete shadcn/ui component library patterns including installation, configuration, and implementation of accessible React components. Use when setting up shadcn/ui, installing components, building forms with React Hook Form and Zod, customizing themes with Tailwind CSS, or implementing UI patterns like…

shep-ai/shep · 74 tokens

debug-trt-mismatch

Use when TensorRT output diverges from a model reference, model-first validation fails, generated text or media is wrong, or a family change introduces a numerical mismatch. Routes the investigation by model modality and escalates from the first divergent boundary to the smallest responsible family-owned operation.

NVIDIA/TensorRT-Model-Connect · 61 tokens