agentleFS
danjdewhurstdanjdewhurst/story-skills/skills/research/SKILL.md

research

Skill266 starsChanged 6 months agoMITView on GitHub

This skill should be used when the user asks to "research", "fact-check", "check the history", "is this accurate", "research notes", "sources", "historical accuracy", "technical accuracy", "how would this really work", "verify a detail", "interview an expert", "plan a site visit", "expert review", or needs to investigate and record the real-world facts a story relies on and the chapters that use them.

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, wait-what and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • risadamsSkill

    which-skill

    Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.

    Also in 6 projects that use this

  • AWSSkill

    wait-what

    Stop. That last message did not land: re-pitch it.

    Also in 62 projects that use this

  • AWSSkill

    wizard

    Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.

    Also in 66 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 23 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 16 projects that use this

  • pahwarangerSkill

    setup-skills

    Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.

    Also in 8 projects that use this

  • +4 more from aws

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 161 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Before marking a chapter final in historical, technical, or contemporary fiction

    line 34
  2. Very specific:

    NOT for invented world facts (use worldbuilding) or story-internal continuity (use revision-continuity)

    line 36
  3. Very specific:

    Write a short ## Search Plan in the note: the terms to search, the archives, records, or reference works to try, and the people who would …

    line 70
  4. Distinctive:

    Use the research tools available in the session (web search or fetch, documents the user provides).

    line 79
  5. Distinctive:

    When a finding rests on exact wording, quote it and give the page or URL, so the claim can be retraced without repeating the search.

    line 84
  6. Very specific:

    Run story validate .: it warns about a final or complete chapter that uses open or disputed research, about verified notes with no sources, …

    line 133
  7. Very specific:

    Use the Story CLI when it is available.

    line 154
  8. Distinctive:

    After adding or editing research notes:

    line 161

“Common” is measured: kept by at least 6 in 10 of the 161 edited versions of this file we could read. “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

Research

Overview

Investigate the real-world facts a story depends on and keep them in research/ notes: the question, a search plan, the findings with a citation for each, how confident the finding is, and the chapters that rely on them. Research is active work, not only a ledger: form precise questions, go to primary sources where they exist, interview people and visit places, and record what was found in a form a later fact-check can retrace.

The CLI tracks each note's status (open, verified, disputed), its used-in chapters, and the optional accuracy, confidence, method, risk, and reviewed-by fields. It checks the chapter links, warns when a final chapter still rests on research that is open or disputed, and warns when a risky note reaches a final chapter without a qualified reviewer.

Prerequisites

A story project with story.md in the root. The research/ folder and its registry are created by the first story add research.

When to Use

  • A chapter depends on history, science, law, medicine, a trade, a real place, or any detail a knowledgeable reader could check
  • The user asks whether something is accurate
  • Before marking a chapter final in historical, technical, or contemporary fiction
  • NOT for invented world facts (use worldbuilding) or story-internal continuity (use revision-continuity)

Workflow

1. Open a note

story add research "Tidal bore timing" --used-in chapter-03 \
  --accuracy must-be-accurate --method fact --confidence low

Fill the note's ## Question with what the story needs to get right, in one or two sentences. Set the fields that describe the note:

  • accuracy - how closely the prose must match reality: must-be-accurate (a checkable real fact the plot or setting relies on), blended (real facts deliberately mixed with invention), or invented (a made-up fact recorded here for consistency). Invented notes need no sources and never trigger the open-research warning.
  • method - where the knowledge comes from: fact (desk research), reading (a book or paper read for background), interview, site-visit, or expert-review.
  • confidence - high, medium, or low; how sure the current findings are. Start at low and raise it as sources agree.
  • risk - a list, when getting it wrong could harm a reader, a real person, or the author: legal, medical, weapons, safety, cultural, defamation, technical. Pass --risk once per value.

2. Plan the investigation

  1. Break the question into the specific things the prose asserts or implies ("Could she walk from the station to the docks in 20 minutes in 1953?" rather than "1950s Liverpool").
  2. Write a short ## Search Plan in the note: the terms to search, the archives, records, or reference works to try, and the people who would know. Mark which would be primary sources (records, first-hand accounts, official data, the place itself) and which secondary.
  3. Decide what "enough" looks like: one authoritative primary source, or two independent secondary sources that agree.

3. Research

  1. Use the research tools available in the session (web search or fetch, documents the user provides). If none are available, give the user the search plan and ask them to supply sources.
  2. Record each finding under ## Findings with its citation beside it: author or institution, title, date, and the page, section, or URL. When a finding rests on exact wording, quote it and give the page or URL, so the claim can be retraced without repeating the search. Add every source to the sources frontmatter list, one full citation or URL per entry, with --source on story add or by editing the file.
  3. Set confidence from the evidence: high for a primary source or independent agreement, medium for one good secondary source, low for anything recalled, inferred, or from a single weak source.
  4. Never present unverified knowledge as verified. A fact recalled without a source stays status: open. Only set status: verified when every finding the chapters rely on has a source. Set status: disputed when sources disagree, and record both sides.
  5. For interviews and site visits, prepare questions and consent first and record notes in the note body; see references/interviews-and-site-visits.md.

4. Flag risk; never advise

Notes with any risk value need a qualified human reviewer (a lawyer, clinician, weapons or safety specialist, cultural reader, or subject engineer, as fits) before the chapters that use them are final. Record the reviewer in reviewed-by as a name or role once they have read the passage. reviewed-by is a list with no story add flag; edit the note's frontmatter by hand:

reviewed-by:
  - "Dr A. Patel, A&E consultant"

Collect facts and flag concerns, but never give legal, medical, or safety advice yourself, and never treat your own research as the review. Portrayals of real, living people carry defamation risk; route those, and sensitivity or authenticity reads, through the editorial-review skill.

5. Connect it to the story

  1. List every chapter that relies on the note in used-in. A chapter not written yet is fine (chapter-09 before it exists), but story links still reports a typo of an existing chapter (chapter-1 beside chapter-01) or chapter-00 as missing.
  2. Under ## Story Use, record how the prose uses the facts and any deliberate departure from them (compressed timelines, invented institutions). A recorded departure is a choice, not an error.
  3. Revise the chapters if the findings contradict them, following the revision-continuity skill.

6. Before finalising

Run story validate .: it warns about a final or complete chapter that uses open or disputed research, about verified notes with no sources, and about notes with a risk used in a final or complete chapter with no reviewed-by. Resolve those before the chapter is marked final, or tell the user which facts remain unverified and which reviews are outstanding.

Conventions

  • Note ids are kebab-case topics: research/tidal-bore-timing.md.
  • sources entries are kept whole, so citations may contain commas.
  • used-in lists chapter ids; story rename and story remove keep it current when chapters change.
  • accuracy: invented notes are a consistency record, not research; keep invented world facts that belong to the setting in worldbuilding.
  • Sensitive or lived-experience topics need a human reader as well as sources. Suggest an authenticity or sensitivity read through the editorial-review skill, record the reader in reviewed-by, and triage their notes through the feedback-triage skill.

CLI Maintenance

Use the Story CLI when it is available. If story is not installed, use bun run story -- from the Story Skills repository checkout or the bundled fallback node ../story-maintenance/scripts/story.js with the same arguments, resolving the path relative to this skill folder. If no CLI is available, keep research/_index.md and the used-in lists current by hand.

After adding or editing research notes:

story reindex .
story links .
story validate .

Reference Files

  • references/research-practice.md - What to check, search plans, how to judge sources, citing quotes, confidence, accuracy levels, risk flags, and deliberate departures
  • references/interviews-and-site-visits.md - Preparing questions, consent, recording notes, and turning interviews and visits into research notes

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.