Skip to content
youdede

Assess Story Narrative Provenance

WritingSkillv1.0.0

Measure whether a full English short story, from a file or a public web page, reads as human-written or AI-generated at the level of narrative choices, using a 304-feature narrative annotation and a classifier trained on human and AI fiction, and report the probability with its uncertainty and validation limits as JSON or a self-contained HTML report. Use when a writer wants to know how a story's narrative choices score, not to prove who wrote a text or to accuse anyone.

Runs on

Scope
$npx @youdede/toolkit add assess-story-narrative-provenance --target claude-code

What it does

Score a full English story with a narrative classifier: human-like, AI-like, or uncertain.

When it fires

  • review

How it behaves

Read a story from a file or web page, annotate it with TypeSafe Jev or score supplied annotations, and report the classifier's P(human) and verdict as JSON or HTML.

It does not prove or disprove that a person used AI, and it is not evidence for an academic, contractual, or employment accusation.

It does not score private text the user has no right to analyse, and a public page's score is still a measurement of the text, not a claim about its author.

It does not call any story undetectable or promise that it will pass another detector.

It does not report a single annotation, or turn an uncertain result into a verdict.

Configuration

scripts/score-story-provenance.mjsnode · external

Version
1.0.0
Requires
node
Licence
RiskWith the user's consent the skill sends the story text to the TypeSafe API and may fetch a public web page; a misread score could be used to accuse a writer, which the skill refuses and qualifies with validation limits.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Deterministic and prompt
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyEach TypeSafe run is ten parallel requests of about one second; agent annotation takes ten model calls per run. Input is capped at 512 KiB.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime

Often used with

All in Writing