Hermes3000 Writing
SkillDocs & knowledgeUse Hermes3000 to plan, draft, revise, save, check consistency, and export long-form manuscripts through the Hermes3000 AI writing portal API. Use for novels, fiction series, nonfiction books, whitepapers, long reads, chapter outlines, character/world-building, style guides, consistency memory, and DOCX/PDF/EPUB/HTML exports.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Hermes3000 Writing skill
What this skill tells your AI
The instructions your AI receives, as published by hybridaione/hybridclaw in skills/hermes3000-writing/SKILL.md and read by ahel’s review.
Overview
Use Hermes3000 when the user wants a durable long-form writing project managed in the writing portal, not just a one-off draft in chat. Hermes3000 stores book structure, chapter content, consistency memory, timeline data, stats, and exports.
For endpoint details, request shapes, and examples, read
references/api-workflow.md before making live API calls.
Secret Refs
The bundled helper sends all live Hermes3000 calls through the HybridClaw
gateway proxy, matching the Salesforce skill pattern. Login credentials are
sent as <secret:NAME> placeholders; the gateway resolves them server-side,
captures the returned Hermes3000 JWT into HERMES3000_JWT, and returns only a
capture confirmation. The JWT does not enter the agent context.
Never call Hermes3000 with curl or a raw Authorization: Bearer ... header.
Use node skills/hermes3000-writing/scripts/hermes3000.cjs ... run ... for
live calls so the gateway injects and captures secrets server-side.
Run these helper commands exactly as documented. Do not add Node permission
flags such as --experimental-permission, and do not rewrite skills/...
paths to /workspace/skills/...; the helper needs runtime-provided gateway
access for secret resolution.
Cloud and chat/TUI users may not have a terminal. Only ask the user to set
secrets with chat/TUI secret commands; do not ask them to run node, curl, or
hybridclaw shell commands. If HERMES3000_JWT is missing or blocked, run
auth.login yourself through the helper. The helper does not prompt for email
or password; it resolves HERMES3000_EMAIL and HERMES3000_PASSWORD from the
gateway secret store.
Ask the user to set the login inputs once through browser admin first:
- Browser admin: open the active HybridClaw admin URL ending in
/admin/secretsand setHERMES3000_EMAILandHERMES3000_PASSWORD. - Browser
/chator TUI fallback:
/secret set HERMES3000_EMAIL you@example.com
/secret set HERMES3000_PASSWORD <password>
- Local console fallback:
hybridclaw secret set HERMES3000_EMAIL you@example.com
hybridclaw secret set HERMES3000_PASSWORD '<password>'
Then the agent, not the user, captures the JWT through the gateway:
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run auth.login
On success, the gateway stores HERMES3000_JWT. Subsequent helper operations
set bearerSecretName: "HERMES3000_JWT" internally so the gateway injects the
bearer token server-side.
Operating Rules
- Preserve author control. Ask for or infer the manuscript premise, audience, language, target length, genre or content type, tone, and export format before creating or replacing durable portal content.
- Treat credentials and JWTs as secrets. Authenticate through the active runtime's secret or credential mechanism when available. Do not print tokens, paste passwords into chat, or store credentials in project files.
- Prefer the synchronous generation endpoint for agents:
POST /ai/generate-text. Use streaming only when the active runtime has a clear SSE reader and the user needs progress output. - Save every accepted chapter draft with
POST /books/{id}/content, then build consistency memory withPOST /consistency/chapter-summarybefore writing the next chapter. - Use stable chapter UUIDs. When AI-generated chapters do not include
id, generate UUID v4 values before saving thechaptersstructure. - Keep portal state coherent. Update
plot,characters,style, andchaptersbefore generating chapter prose; update story progress after summaries withPOST /consistency/update-story. - Do not overwrite an existing book, chapter, structure element, or content block unless the user explicitly asks for replacement. Fetch current state first when editing an existing project.
Project Shape
Choose the Hermes3000 bookType from the user's goal:
prose: novels, novellas, fiction series, narrative long reads.nonfiction: nonfiction books, educational material, manuals, essays.whitepaper: short-form whitepapers, reports, thought-leadership papers.
Represent structure as:
plot: Markdown outline of the argument, storyline, or thesis.characters: Markdown profiles for fiction characters, or key people, personas, stakeholders, examples, and cited experts for nonfiction.style: Markdown writing rules: language, voice, perspective, reading level, terminology, citation stance, formatting preferences, and banned patterns.places_things: Markdown world-building, concepts, definitions, datasets, products, organizations, or repeated motifs.chapters: Array of{id, title, summary}objects.
Workflow
- List or authenticate through the helper. If a live call fails because
HERMES3000_JWTis missing or blocked, runrun auth.loginyourself. If login fails becauseHERMES3000_EMAILorHERMES3000_PASSWORDis missing, ask the user to set those two secrets with/secret set .... Never ask the user to run terminal commands and never ask for or print the bearer token. - Create or select the book. For a new book, call
POST /bookswithtitleandbookType. - Build planning material. Either draft it yourself from the user's brief or
use
POST /ai/generate-plotandPOST /ai/generate-chapters. - Save structure with repeated
PUT /books/{id}/structurecalls forplot,characters,style, optionalplaces_things, andchapters. - For each chapter:
- Update agent state if the user wants progress visible in the portal.
- Generate text with
POST /ai/generate-text. - Review for user constraints, obvious factual issues, and continuity.
- Save approved text with
POST /books/{id}/content. - Summarize it with
POST /consistency/chapter-summary.
- After a complete drafting pass, call
POST /consistency/update-story, fetch stats, and run consistency checks on risky sections. - Export with
GET /books/{id}/download/{format}when the user asks for a deliverable. Supported formats arepdf,docx,epub, andhtml.
Command Contract
Run login and API requests through the gateway-proxied helper. Copy these commands exactly, changing only the operation arguments such as title, book id, or file paths:
node skills/hermes3000-writing/scripts/hermes3000.cjs --help
Capture the JWT into the secret store:
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run auth.login
This is an agent-side command. Do not show it to chat/TUI users as something they need to run.
Create a book:
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run books.create \
--title "Working Title" \
--book-type prose
Save a Markdown structure element:
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run structure.put \
--book-id 42 \
--structure-type plot \
--content-file plot.md
Save chapters with UUIDs:
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run structure.put \
--book-id 42 \
--structure-type chapters \
--content-json '[{"id":"550e8400-e29b-41d4-a716-446655440000","title":"Chapter 1","summary":"Opening movement."}]'
Generate and save chapter text:
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run ai.generate-text \
--book-id 42 \
--chapter-id "Chapter 1" \
--prompt "Write the opening scene."
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run content.save \
--book-id 42 \
--chapter-uuid 550e8400-e29b-41d4-a716-446655440000 \
--content-file chapter-1.html
Build consistency memory and export:
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run consistency.chapter-summary \
--book-id 42 \
--chapter-id "Chapter 1" \
--chapter-uuid 550e8400-e29b-41d4-a716-446655440000 \
--chapter-content-file chapter-1.html \
--narrative-order 0 \
--lang en
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run consistency.update-story --book-id 42
node skills/hermes3000-writing/scripts/hermes3000.cjs --format json run export.download --book-id 42 --export-format docx
Writing Guidance
- For novels, make the chapter prompt scene-specific: point of view, location, time, objective, conflict, emotional turn, continuity constraints, and ending beat.
- For nonfiction and whitepapers, make the chapter prompt argument-specific: audience, claim, evidence to use, terms to define, examples, counterarguments, and desired takeaway.
- For long reads, prefer shorter content blocks per chapter section so revision remains manageable.
- Use
POST /consistency/checkwhen new text might contradict earlier claims, timeline, character state, terminology, or technical definitions. - Keep generated HTML returned by Hermes3000 intact unless the target content block should be plain text.
Error Handling
401means login failed or the token expired; re-authenticate through the secure credential path.402means account limits or payment requirements blocked book creation. Report it plainly; do not retry creation.403usually means unverified email, insufficient account level, or missing ownership. Fetch book metadata only if authorized.404means the book, structure, chapter, or content block is unavailable to the current user.- If generation succeeds but saving fails, keep the generated text in the current response or workspace artifact only when it does not expose secrets or private source material, then ask before retrying.
Signals
- GitHub stars
- 132
- Forks
- 12
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
hermes3000-writing- Source
- github.com/hybridaione/hybridclaw