oracle-write-complete-book

oracle-write-complete-book is a skill for Claude Code, Codex from Soul-Brews-Studio/arra-oracle-skills-cli. It costs 139 tokens per session (5,559 once invoked), scanned A, original, MIT.

A complete workflow for turning an idea into a finished book and PDF, including outlining, drafting, review, layout, and publishing to GitHub. It supports standard and shorter book sizes, including books with Thai text and code.

In plain words
What is it for?
Use it to write a book from scratch, produce a styled PDF, handle Thai word spacing, review drafts, and save the final book and source files to a repository.
Why use it?
It organizes the many stages of book production and includes checks for structure, page limits, language layout, rendering, and review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Codex.

Good fit Use it to write a book from scratch, produce a styled PDF, handle Thai word spacing, review drafts, and save the final book and source files to a repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soul-brews-studio/arra-oracle-skills-cli/oracle-write-complete-book
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.

Any agent
npx skills add Soul-Brews-Studio/arra-oracle-skills-cli --skill oracle-write-complete-book
Clone the repo
git clone --depth 1 https://github.com/Soul-Brews-Studio/arra-oracle-skills-cli

Made for: Claude Code, Codex.

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 oracle-write-complete-book

README.md
[![agentmods](https://agentmods.dev/badge/skills/soul-brews-studio/arra-oracle-skills-cli/oracle-write-complete-book/github.svg)](https://agentmods.dev/skills/soul-brews-studio/arra-oracle-skills-cli/oracle-write-complete-book)
Your own site
<a href="https://agentmods.dev/skills/soul-brews-studio/arra-oracle-skills-cli/oracle-write-complete-book"><img src="https://agentmods.dev/badge/skills/soul-brews-studio/arra-oracle-skills-cli/oracle-write-complete-book/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 oracle-write-complete-book

Your own site · 80×15
<a href="https://agentmods.dev/skills/soul-brews-studio/arra-oracle-skills-cli/oracle-write-complete-book"><img src="https://agentmods.dev/badge/skills/soul-brews-studio/arra-oracle-skills-cli/oracle-write-complete-book.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,559 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • high Prompt Injection · line 223
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium MCP Rug Pull · line 252
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
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.00139 $0.05559
Opus 5 $0.00069 $0.02780
Sonnet 5 $0.00028 $0.01112
Haiku 4.5 $0.00014 $0.00556

Measured 11d ago against content hash 1c4828aa8448, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

oracle-write-complete-book 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 11d 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.

src/skills/oracle-write-complete-book/SKILL.md · 538 lines

How it starts

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

/oracle-write-complete-book — Complete Book Pipeline

จาก idea สู่หนังสือ PDF — standard <=100 หน้า, short <=50-60 หน้า proven pipeline จาก "The Oracle Pattern"

When to Use

  • standard — 8-12 บท, <=100 หน้า (default)
  • short — 5-8 บท, <=50-60 หน้า (--short)

ถ้าร่างเกิน cap ให้ตัด/รวมบท ไม่ใช่ปล่อยยาว — page cap เป็นข้อจำกัดจริง ไม่ใช่คำแนะนำ

  • ต้องการ PDF สวย (typst + Thai font + code blocks)
  • ต้องการ parallel agents เขียนขนาน
  • ต้องการ Thai word segmentation ที่ถูกต้อง

Pipeline Overview

Step 0:  Mine session         ← dig JSONL + traces + issues
Step 1:  Outline              ← per-chapter metadata (YAML)
Step 2:  Prism review         ← 5-lens structure check
Step 3:  Title brainstorm     ← 10 DNA + 3 judges workflow
Step 4:  Parallel draft       ← N Sonnet agents write files
Step 5:  Thai word break      ← PyThaiNLP ZWSP insertion
Step 6:  Compile              ← pandoc MD → typst markup
Step 7:  Render PDF           ← typst compile with styling
Step 8:  Review               ← 3 Sonnet agents check
Step 9:  Iterate              ← fix findings, re-render
Step 9.5: Save to working repo ← commit PDF+sources to ψ/writing/books/, THEN copy to ~/Downloads/
Step 10: Publish              ← separate public GitHub repo + release — confirm with human first

Step 0: Mine Session Material

ห้ามเขียนจาก memory — ขุด source material จริงเสมอ

# Session traces
python3 ~/.claude/skills/dig/scripts/dig.py 0 --deep

# GitHub issues
gh issue view <NNNN> --json body,comments

# Trace logs
find ψ/memory/traces/ -name "*.md" -newer <reference>

# Cheatsheets + design sheets
ls -t ψ/writing/cheatsheets/ | head -5

Step 1: Outline (MUST do before drafting)

สร้าง outline file: ψ/writing/books/YYYY-MM-DD_<slug>-OUTLINE.md

Book Metadata

title: "<title>"
subtitle: "<subtitle>"
author: <oracle-name>
date: YYYY-MM-DD
language: Thai (kien-thai 7 frames)
register: <pick from kien-thai 6 registers>
target_chapters: 8-12      # standard, <=100 pages
# target_chapters: 5-8    # --short, <=50-60 pages
target_words_per_chapter: 3000-4000
parts: 2-3 (Overview / Technical / Vision)

Read the full file on GitHub · 538 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. 11d ago First seen · 538 lines · 139 tokens per session scan A 1c4828aa8448

Subscribe to this mod's changes

oracle-write-complete-book is a skill published in the GitHub repository Soul-Brews-Studio/arra-oracle-skills-cli (121 stars, last pushed 5d ago), licensed MIT. It adds 139 tokens to every session and 5,559 once invoked, about $0.0007 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