agentleFS
matthewdigiuseppematthewdigiuseppe/MStack/skills/llm-checklist/SKILL.md

llm-checklist

Skill17 starsChanged 3 months agoMITView on GitHub

Logs LLM-as-research-instrument use (model version, access mode, config, prompts) to a ledger as it happens and compiles the 14-item GUIDE-LLM reporting checklist (Feuerriegel et al. 2026) for the methods/SI. Use whenever an LLM is integral to the design — annotation, classification, simulated participants, stimulus generation, data extraction, participant-facing chatbots — even if the user only mentions having used ChatGPT, Claude, Gemini, or an open model to code or label data; not for editorial drafting. Run before submission to flag missing items.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are 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.

  • 4

    Very specific

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

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

    Create the ledger with a _meta header if absent (competing interests from .mstack/config.yaml authors / funding if available.

    line 69
  2. Distinctive:

    Write the normalized object as one line.

    line 72
  3. Very specific:

    If prompt_user_ref / code_ref point at files that do not exist yet, remind the user to save the verbatim prompt and the call script there: …

    line 73
  4. Very specific:

    Read the ledger and .mstack/config.yaml.

    line 83
  5. Very specific:

    Read references/guide-llm-items.md in this skill's folder for the verbatim 14 items and the LaTeX skeleton.

    line 84

≈ “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

/mstack:llm-checklist

Stage: cross-cutting (build → submit) · Voice: reporting-clerk

Implements GUIDE-LLM, the consensus reporting checklist for large language models in behavioural and social science (Feuerriegel, S. et al., Nature Human Behaviour, 2026, https://doi.org/10.1038/s41562-026-02492-7). Two jobs: log LLM use as it happens, and compile the filled checklist for the paper.

Log the first time an LLM touches the research and every time the model, version, prompt, or configuration changes, not at write-up: the checklist wants the exact version (often dated, like gpt-4o-2024-11-20), access mode, and configuration, and these change or are discontinued without notice, so the only reliable record is the one captured when the calls were run.

Integral vs. editorial

GUIDE-LLM covers LLM use that is integral to the research design, not minor editorial help.

  • Log: text annotation, classification, sentiment / stance / emotion coding, moral-language detection; simulated participants, in-silico experiments, synthetic respondents; generating or selecting stimuli, vignettes, or treatments; extracting variables from documents that enter the analysis; a participant-facing chatbot (intervention, teaching, persuasion). Claude via MStack coding study data or simulating respondents counts.
  • Do not log here (disclose per the journal's AI-use policy instead): drafting prose, formatting tables, debugging code, brainstorming, including Claude / MStack as a writing aid. Drafting the discussion section is not an instrument.
  • In doubt, log it: over-disclosure costs a table row, under-disclosure costs reproducibility.

Subcommands ($ARGUMENTS)

  • log [free text or details] — append or update one LLM task; free-form is fine, the skill normalizes it and asks for missing checklist-critical fields.
  • status — per-task coverage of the 14 required items, plus a scan of the codebase for LLM calls no task references.
  • report (default) — compile the checklist from the ledger to .mstack/llm-checklist.md.
  • latex — also emit a Supplementary-Information block to paper/sections/llm-checklist.tex.

The ledger

.mstack/llm-usage.jsonl: append-only, one JSON object per line, one LLM task per line (a distinct model used for a distinct purpose; the paper reports each separately, so one task = one line = one checklist block). Line 1 is a _meta header (competing interests, GUIDE-LLM citation). Lines tagged "_example": true are illustrative and ignored by status / report. Fields map 1:1 to checklist items:

{
  "id": "short-stable-handle", "date_logged": "YYYY-MM-DD",
  "purpose": "",                                    // A.1
  "automation": "",                                 // A.2  human-in-the-loop | fully-automated (+ audit rate)
  "model": {"name": "", "provider": "", "size": "", // B.1
            "version_or_id": "", "access_date": "", "source_url": ""},
  "access_mode": "", "context_mode": "",            // B.2  API | web | local;  chat | separate-calls
  "config": {"temperature": null, "max_tokens": null, "seed": null, "n_runs": null, "other": ""},  // B.3
  "customization": "",                              // B.4  none | fine-tuned | RAG | tools/function-calling | ...
  "persistent_memory": false,                       // B.5
  "prompt_user_ref": "", "prompt_system_ref": "",   // C.1, C.2  paths to verbatim prompt files
  "data_sensitivity": "",                           // D.1
  "human_validation": "", "post_processing": "",    // E.1, E.2
  "code_ref": "",                                   // F.1  path to the script / notebook making the calls
  "opt": {"llm_choice_justification": "", "prompt_design_rationale": "", "cross_model_comparison": "",
          "training_data_leakage": "", "bias_assessment": "", "transcripts_ref": "",
          "ethical_implications": "", "compute_use": ""},
  "notes": ""
}

Prompts live in files (e.g. code/llm/prompts/*.txt) referenced by path; never paraphrase a prompt into the ledger or inline it as a giant JSON string. For an agentic system with no single verbatim prompt, point prompt_user_ref at the source or config that defines the interaction logic and say so in notes (the paper permits "the most complete documentation feasible").

Procedure

log

  1. Create the ledger with a _meta header if absent (competing interests from .mstack/config.yaml authors / funding if available; otherwise blank and flagged).
  2. Get today's date (date +%Y-%m-%d); parse the user's text into the schema. An id that already exists means update that task in place (re-read and rewrite the file); otherwise mint a short id from purpose + date.
  3. Fill what you can, then ask only for the checklist-critical fields still empty: exact model.version_or_id (refuse a bare brand like "ChatGPT" or "GPT-4"); access_mode + context_mode; config.temperature and n_runs (temperature drives reproducibility; if the model exposes none, record that); prompt_user_ref as a path, not a paraphrase; human_validation plan or result. Never block on opt.*.
  4. Write the normalized object as one line; echo it back.
  5. If prompt_user_ref / code_ref point at files that do not exist yet, remind the user to save the verbatim prompt and the call script there: C.1 and F.1 need them and /mstack:archive collects them.

status

  1. For each non-_meta, non-_example task print a 14-row check (✅ filled / ⚠️ missing, item code + name), grouped by id.
  2. Grep the project (code/, *.py, *.R, *.ipynb, *.qmd) for call sites (openai, anthropic, chat.completions, client.messages.create, litellm, ollama, transformers, huggingface, gemini, vertexai, together, groq); list any file that calls an LLM but is not referenced by some task's code_ref and warn it may need a ledger entry.
  3. One-line verdict: N tasks, M required items missing across them plus the exact list to fix.

report (and latex)

  1. Read the ledger and .mstack/config.yaml; skip _meta / _example lines.
  2. Read references/guide-llm-items.md in this skill's folder for the verbatim 14 items and the LaTeX skeleton.
  3. One block per task: the full GUIDE-LLM table filled from the task fields, with every empty required field rendered as ⚠️ MISSING — <what to capture> so the gap is visible in the draft; a separate "Optional (GUIDE-LLM online)" subsection from opt.*, omitting blanks (no ⚠️ there).
  4. G.1 (competing interests / funding) once, from _meta.competing_interests cross-checked against config; flag if blank, it is required.
  5. Citation footer with the template link (https://osf.io/mv63j/). Write .mstack/llm-checklist.md and print the missing-item summary.
  6. For latex (or on offer), also write paper/sections/llm-checklist.tex (a description / longtable block from the skeleton) and tell the user to \input it.

Outputs

  • .mstack/llm-usage.jsonl — the ledger, created on first log.
  • .mstack/llm-checklist.md — the compiled checklist, one block per task, missing items flagged.
  • paper/sections/llm-checklist.tex — on request, an SI-ready block.

Anti-patterns

  • Bare model names. "We used ChatGPT / GPT-4" hides version, configuration, and access mode that change results; demand the identifier (B.1).
  • Paraphrased prompts. C.1 means verbatim, as a file.
  • "Default settings." Capture temperature, seed, n_runs, or state explicitly that the model exposes none.
  • No human validation. E.1 is what licenses reading outputs as the construct (sentiment, stance, moral judgment); an unvalidated pipeline is a finding waiting to be retracted.
  • Logging at write-up. Reconstructing versions months later is exactly the failure GUIDE-LLM exists to prevent.
  • Padding with editorial use. "Claude helped write the intro" is an AI-use disclosure, not an instrument.

Next

/mstack:data-acquire when LLM outputs become a dataset (log provenance there too, cross-referencing code_ref); /mstack:preregister when LLM use is confirmatory (pre-commit prompts, model version, validation plan; the ledger then documents adherence); /mstack:survey-build when simulated agents or LLM-generated stimuli enter a survey; /mstack:draft-section methods to paste or \input the block; /mstack:archive collects the ledger, prompt files, and call scripts; /mstack:learn for conventions that generalize.

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.