/calkit:check-questionsfrom calkit
Reviews a Calkit project's questions and answers against their evidence. Useful after pipeline runs or when verifying that answers remain valid.
Ships in calkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
An answer in calkit.yaml is a claim about the evidence as it was when the
answer was last edited. The pipeline keeps the evidence current; nothing
keeps the prose current. Calkit's deterministic check catches evidence
changing underneath an answer. This skill covers what a check cannot:
whether the sentence still follows from the evidence, and whether the
question's approach describes what its pipeline stages actually do.
People sign off on a question in two ways, and the two are easy to mix up:
verifications: the stages behind the evidence
implement the approach correctly, i.e., the answer was worked out
right. It is about code against the approach sentence, not about whether
the answer is true.validations: the approach suits the question and
the evidence justifies the answer, i.e., the right thing was worked out.
It is about whether the claim is logical and defensible, not about the
code.A sign-off is theirs, not yours: you read and report, and they sign off.
Deterministic, done by calkit check questions — never re-derive by hand:
value key resolves in its file, and every {name} placeholder in
the prose resolves and formats;label still exists in the LaTeX source;lines range on a plain file entry, one with no kind, is still
within the file;dvc.lock
for DVC-tracked ones) since the commit that last edited the question;dvc.lock lists as their
dependencies, has changed since the commit that added it;calkit check questions --verbose and
calkit show question <n>;value entry reads a file a pipeline stage produces, or one
declared with imported_from; anything else is an error, since a number
nothing computes is a magic number;imported_from or created_by. This one is advisory: it is
reported as unattributed and does not fail the check. A file inside a
directory a stage lists as an output is produced by that stage.Judgment, done here — the check reads paths and hashes, and cannot read a sentence:
approach describe what the stages implement, which is what
a verification vouches for;{name} placeholders;A question can pass every deterministic check and still be wrong: the paths resolve, the numbers render, nothing has changed since — and the sentence claims something the evidence does not show. That is the failure this skill is for, and it is not visible to the CLI. For each answer you review, read the evidence yourself and ask, in this order:
improvement to be that ratio, not the two errors it was
computed from, and not a ratio over a different pair of cases.evidence.Report what you found, quoting the value or naming the figure. Where the evidence does not support the sentence, propose the sentence it does support and let the user decide; never edit the answer to match the evidence without showing them both.
approach is one sentence on how the question is answered. The stages it
summarizes are derived from the evidence, so they can't drift, but the
sentence can. For each question with an approach:
calkit check questions --verbose --json (the
stages list) and read each one's definition in calkit.yaml, then the
script, notebook, or command it runs.Report mismatches with the line of code and the words they contradict, and
propose a corrected sentence. A question with an answer and no approach
is worth one: draft it from the stages and let the user decide. Whether
the approach is the right one for the question belongs to validation, not
here.
Run calkit check questions --json and read the report. Questions with
status stale or error need attention; ok ones pass the
deterministic check, which says nothing about whether their evidence
supports them, so review those too whenever the user asked for a full
review or the answer is one the paper leans on.
For each stale question, the report names the evidence that changed
and the commit the answer dates from. Read the rendered answer
(calkit show question <n>) against the current evidence, and if it helps,
the old evidence (git show <commit>:<path>). Decide:
calkit update question <n> --validate "<what they checked>", or
--verify for the approach against the code, adding
--with-ai "<your model>" if your reading informed theirs. Never add
or refresh a sign-off yourself unless they ask you to, and then only
with their Git identity and that disclosure.calkit.yaml.For each stale verification or validation, the report names what
changed since the person signed off: for a verification, the approach,
a stage, or a dependency it ran; for a validation, evidence, with old
and new values, or the question's own text. Redo the matching reading
above against the version they signed off on
(git show <commit>:calkit.yaml), and tell the user who needs to look
again and at what.
For each unattributed evidence entry, ask where the file came
from. If a stage should produce it, that is a pipeline gap worth
reporting. If it was imported or made by hand, declare it under
figures, datasets, or publications with imported_from or
created_by so the project says so. A value entry with no stage is
reported as an error rather than unattributed: give it a stage.
For each error, fix the reference: a missing path means the pipeline has not been run or pulled; a bad key or placeholder means a results file was restructured; a missing label means the publication was reorganized. Do not delete evidence to make an error go away.
For every question you touched, move any number in the prose that the
evidence carries into a {name:...} placeholder on a value entry, so
it is read from the results file rather than retyped.
Run the validation and verification readings above on every question
in scope, ok ones included. A question the CLI passed is where an
unsupported claim survives, because nothing else looks at it.
Never edit a question or add a sign-off just to clear the check. A sign-off records a person having done the reading, and one added without that is a false statement about the project, not a tidy-up.
One claim per question, two to four sentences. Say what was found and what it means; leave the reasoning to the publication.
Numbers come from value evidence via placeholders, formatted to the
precision the claim needs: {ratio:.1f}x, {error:.0%}. When several
come from one file, e.g., the outputs of one calculation, name them
together in one result entry's values, a map of name to key.
To cite a file as it is, e.g., a log, a transcript excerpt, or a
script, give just its path, with no kind, and the lines that
matter, e.g., lines: 8 or lines: 12-20. Don't use document for
these; that is for write-ups a Markdown stage builds.
A value entry must read a file a pipeline stage writes. A placeholder
over a results file written by hand, including one you write, is a
retyped number with extra steps, and the check fails it. If no stage
produces the number, add one (/calkit:add-pipeline-stage) instead of
writing the file. Never declare a file imported_from or created_by
to clear that error unless it really came from there, and never edit a
results file to change what an answer says.
When the claim itself depends on a value, not just the number in it, e.g., significant or not, which method wins, write a conditional answer so the wording follows the evidence on a rerun:
answer:
if p < 0.05: "The closure cuts error by {improvement:.1f}x."
else: "The closure does not measurably reduce error."
evidence:
- kind: result
path: results/closure.json
values:
p: p-value
improvement: improvement
Conditions use the names of values, so those names must be valid Python identifiers. Every branch must be a claim the evidence would support if it held. The threshold is part of the claim: take it from the field's convention or the user, never pick it to make the current branch hold, and don't use branches to hedge a claim that should simply be weakened.
Point at the publication with a publication evidence entry carrying
section (for the reader) and label (for the check), instead of an
explanation that restates the argument.
Each evidence entry should be one the answer actually depends on. Evidence that would not change the answer if it changed is decoration.
An open question has no answer; notes says why it is open and what
would settle it.
Relay a short table: question index, status, verification and validation
status, what changed, what you did or propose. Quote values, not adjectives. If the pipeline is stale
(calkit status), say so first, since the evidence may be about to change
again.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub calkit/calkit --plugin calkit8 skills in this plugin
/add-pipeline-stageAdd a single new stage to an existing Calkit pipeline. Use when the user invokes `/calkit:add-pipeline-stage` or asks to add a script, notebook, or command to the pipeline./build-paper-pipelineBuild the pipeline stages a manuscript's TODO comments ask for, working backwards from the writing to the analysis behind it, and keep the project's questions and answers matching the paper. Use when the user invokes `/calkit:build-paper-pipeline`, leaves TODO comments in a manuscript for an agent to address, or asks to work backwards from the writing to the project behind it. Only for TODOs in a manuscript, and only in a Calkit project; not TODO comments in source code, not GitHub issues, not a task list in someone's notes./check-reproducibilityCheck whether a project is fully traceable, and fix what isn't, including numbers typed into a manuscript that no pipeline output accounts for. Use when the user invokes `/calkit:check-reproducibility`, asks whether a project is reproducible, or asks where a number in a paper came from./connect-overleaf-projectConnect an Overleaf project, e.g., a paper, thesis, or poster, to a Calkit project and the scripts and data behind it, so its figures and numbers come from a pipeline. Use when the user invokes `/calkit:connect-overleaf-project`, asks to connect an Overleaf project (often one open in their browser) to Calkit, or asks to make an Overleaf document reproducible. Not for only signing in to Overleaf./conventionsCalkit conventions and foundational context. Load whenever working in a Calkit project—defines calkit.yaml structure, environments, pipeline stages, CLI commands, and version control conventions./create-pipelineConvert an existing repo with ad hoc scripts into a fully reproducible Calkit pipeline. Use when the user invokes `/calkit:create-pipeline` or asks to make a project reproducible end-to-end.Other plugins' skills for the same job