story-state

star 0

Manage the state file for an active investigation. Activate when the user asks to start a new investigation, update what's known, record a source or finding, log a WOO request, or get a summary of where an investigation stands. Reads and writes state.md in the current investigation directory.

linksmith By linksmith schedule Updated 2/25/2026

name: story-state description: > Manage the state file for an active investigation. Activate when the user asks to start a new investigation, update what's known, record a source or finding, log a WOO request, or get a summary of where an investigation stands. Reads and writes state.md in the current investigation directory. version: 0.1.0

Story State Manager

Each investigation lives in its own directory. The state file is state.md.

State file format

# [Investigation Title]

**Status:** [Verkenning / Actief / Publicatie / Gepubliceerd / On hold]
**Gestart:** YYYY-MM-DD
**Laatste update:** YYYY-MM-DD
**Publicatiedeadline:** YYYY-MM-DD of "n.v.t."

---

## Centrale vraag
[The core investigative question in one sentence.]

## Wat we weten (bevestigd)
- [Fact] — bron: [source], datum: [date]

## Wat we vermoeden (onbevestigd)
- [Hypothesis] — aanwijzing: [what suggests this]

## Openstaande vragen
- [ ] [Question]

## Bronnen geraadpleegd
| Bron | Wat gevonden | Datum | Notitie |
|---|---|---|---|
| CBS tabel 12345NED | Asielaanvragen per gemeente 2019-2024 | 2024-02-10 | Gedownload als CSV |

## WOO verzoeken
| Bestuursorgaan | Onderwerp | Verzonden | Deadline | Status |
|---|---|---|---|---|
| COA | Incidentenrapportages AZC Utrecht | 2024-02-15 | 2024-03-15 | Wachtend |

## Gesproken bronnen
- [Name/role] — [date] — [key point, can be kept vague for source protection]

## Tijdlijn
- YYYY-MM-DD: [Event]

## Bestanden
- [filename] — [what it contains]

## Notities
[Freeform notes, dead ends, context]

Operations

Create new state file

When /journalist:new-investigation is called or user says "start new investigation":

  1. Ask for: title, central question, publication deadline
  2. Create directory: ~/investigations/[slug]/
  3. Create state.md using the template above
  4. Offer to immediately run a first source lookup

Update state

When user says "add to state", "log this finding", "record source", etc.:

  1. Read current state.md
  2. Determine which section to update
  3. Append entry with today's date
  4. Write back

WOO tracking

When a WOO request is drafted and user confirms sending:

  1. Add row to "WOO verzoeken" table
  2. Calculate deadline (sent date + 28 days)
  3. Note: "Herinnering instellen voor [deadline - 3 days]"

Status summary

When user asks "where are we" / "what's the status":

  1. Read state.md
  2. Report: central question, # confirmed facts, # open questions, pending WOO requests with deadlines, suggested next action

Suggested next action logic

  • If no sources in "Bronnen geraadpleegd" → suggest running CBS/DUO lookup
  • If open questions > confirmed facts → suggest prioritizing source lookup or WOO
  • If WOO deadline passed with no response → suggest sending reminder letter
  • If all WOO received and questions answered → suggest drafting story outline
Install via CLI
npx skills add https://github.com/linksmith/data-journalist-ai-agent-plugin-with-skills --skill story-state
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator