agentleFS
chellehonikerchellehoniker/claude-code-storytelleros/skills/manuscript-revisions/SKILL.md

manuscript-revisions

Skill1 starsChanged 13 days agoMITView on GitHub

Use when the user wants to list, upload, or switch between manuscript file revisions for a title. Triggers on "show me my manuscript versions", "I just uploaded a new draft", "switch to the [name] revision", "what manuscripts do I have for [title]".

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Import it into the book: only if the author explicitly asks for its chapters to be added.

    line 25
  2. Distinctive:

    Auto-setting a new upload as active: Don't. The user may want to keep it for reference without switching to it yet.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Manuscript Revisions

What this is

Each title can carry several saved manuscript files (revisions). Authors re-export from their writing app several times during editing, and each export should be kept with a name and notes, not silently overwritten. One revision is marked active.

Flow: list

stos_title_manuscripts_list({ titleId })

Returns rows with id, storage_path, display_name, notes, bytes, uploaded_at.

Flow: add a new revision

Storing a revision and importing a manuscript are different things. Storing keeps a file in this list for reference: it adds no chapters and does not change which revision is active. Importing (stos_titles_upload_manuscript, the manuscript-import skill) adds the file's chapters to the title and makes it the current manuscript.

  • Store a reference revision (the default here): use stos_title_manuscripts_create. It registers a file already stored in StorytellerOS, such as one the author uploaded in the app; it needs that file's stored path, which comes from the app or an existing revision. If the author only has the file on their computer, ask them to add it to the title in the app; don't import it to get it stored.
  • Import it into the book: only if the author explicitly asks for its chapters to be added. Then switch to the manuscript-import skill, which asks its own question first.
stos_title_manuscripts_create({
  titleId,
  storagePath: 'user_uuid/book_uuid/2026-05-13-editor-pass-2.docx',
  displayName: 'Editor pass 2',
  notes: 'Round of dev edits from Sarah Marsh; trimmed 4k words from act 2.',
})

Flow: switch the active revision

stos_title_manuscripts_set_active({ id })

This makes that file the title's current manuscript. Switching revisions does not change the chapters and scenes already in the title; those only change through an import or edits.

Flow: rename / annotate

stos_title_manuscripts_update({ id, displayName: 'Final approved', notes: 'Last copy edit pass.' })

Flow: delete

stos_title_manuscripts_delete({ id })

The revision is removed from the list, but the stored file itself is kept, so nothing is lost by accident. Tell the user this.

Anti-patterns

  • Auto-setting a new upload as active. Don't. The user may want to keep it for reference without switching to it yet.
  • Treating the active revision as the only one. Each revision is independent; older ones stay accessible.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.