/fvs:checkpoint <description> (what was verified)from fvs
Creates a structured verification checkpoint commit recording what was verified, using git and project state under .formalising/.
Ships in fvs. 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.
<plugin_runtime>
${CLAUDE_PLUGIN_ROOT}; hosts expand this placeholder in plugin skill content..formalising/).
</plugin_runtime><codex_skill_adapter> This block applies only when this shared skill runs in Codex. Claude Code must ignore it and use the shared workflow body with its native slash-command, question, and subagent semantics.
$fvs:checkpoint.$fvs:checkpoint as {{FVS_ARGS}}.{{FVS_ARGS}} as empty.FVS workflows use AskUserQuestion (Claude Code syntax). Translate to Codex request_user_input:
Parameter mapping:
header -> headerquestion -> question"Label" -- description -> {label: "Label", description: "description"}id from header: lowercase, replace spaces with underscoresBatched calls:
AskUserQuestion([q1, q2]) -> single request_user_input with multiple entries in questions[]Multi-select workaround:
multiSelect. When a question allows multiple selections, do NOT collapse it to a single choice. Use sequential single-selects, or present a numbered freeform list asking the user to enter comma-separated numbers, then collect every selection before proceeding.Execute mode fallback:
request_user_input is rejected or unavailable (Execute mode), present every AskUserQuestion call as a plain-text numbered list, then stop and wait for the user's reply. Do NOT pick a default and continue.--auto or --all),
(b) the user has explicitly approved a specific default for this question, or
(c) the workflow's documented contract says defaults are safe (e.g. autonomous lifecycle paths).FVS workflows use Task(...) (Claude Code syntax). Translate to Codex collaboration tools:
Delegation authorization: Invoking this skill is the user's explicit request for the sub-agent delegation this workflow specifies. Each Task(...) dispatch in the workflow body, including every pass of a loop, is a skill instruction to spawn a sub-agent with spawn_agent when the workflow reaches that step; do not wait for the user to ask for sub-agents again, and do not perform a delegated role inline in this session. If spawn_agent is not visible, discover it with tool_search first. If sub-agents remain unavailable or disabled, stop before that dispatch, tell the user why, and offer only the workflow's documented alternatives (such as a documented --codex runner).
Schema detection (required first step): Inspect the visible spawn_agent schema. It may have agent_type or be generic (no agent_type); inspect model and reasoning_effort fields independently rather than assuming either exists. An available agent_type field does not establish that a particular FVS role is registered.
Before spawning, inspect the spawn_agent tool's visible parameter schema to determine which form is active.
Requested specialist gate (at dispatch only): When a workflow requests a named FVS specialist, check BOTH the visible spawn_agent schema and whether the exact requested agent_type is advertised there or in a confirmed runtime registry. An agent_type field alone is not evidence that this role is registered; bundled agents/*.md are instructions, not registered Codex specialists. If the exact role is registered and agent_type is available, use typed mapping below WITHOUT a missing-role warning. Otherwise, even if agent_type is present, warn the user in plain language: Requested FVS specialist is not registered in this Codex session; the bundled Markdown cannot supply typed identity. Do not warn merely for opening help, installing, or mentioning a skill without requesting specialist dispatch. Apply the settings gate below before considering the generic-agent workaround. Never run an installer on the user's behalf.
Selection-capability gate (before manifest confirmation, child dispatch, or artifact writes):
sandbox_mode, so the child runs in the parent session's sandbox. Report that sandbox as the child's, never the role file's value, and never call a child read-only when the parent session can write.model is exposed for this child, pass the requested model. Otherwise compare it with the exact active/inherited Codex model; a different or unconfirmed model is unresolved. Rebuild the manifest around confirmed settings and ask explicitly, choose a capable external runner, or fail before dispatch in noninteractive mode.reasoning_effort is exposed for this child, pass the requested effort. Otherwise compare it with the confirmed effective installed/runtime default; a different or unconfirmed effort is unresolved and follows the same rebuild/ask-or-fail rule.model or reasoning_effort (its role description says the setting is locked, or its TOML sets it) overrides the per-call value, so the pinned value is the effective one; if it differs from the confirmed selection it is unresolved.Typed mapping (only when the exact requested FVS role is registered AND agent_type is exposed):
Task(subagent_type="X", prompt="Y") -> spawn_agent(agent_type="X", message="Y")Task(model="...") -> pass model if available for this child; otherwise omit only after the selection-capability gate proves it equals the active/inherited model.Task(reasoning_effort="...") -> pass reasoning_effort if available for this child and the role does not pin it; otherwise omit only after the gate proves the effective (pinned or default) effort equals the confirmed effort.Generic-agent workaround (missing exact registered role OR no agent_type field):
If the requested FVS type (fvs-researcher, fvs-executor, etc.) is not registered, typed dispatch is NOT possible even with an agent_type field. If the field is absent, typed dispatch is also unavailable. Fallback:
${CLAUDE_PLUGIN_ROOT}/agents/<agent-name>.md and extract its instructions. If the token is still literal, resolve the path from this SKILL.md as described above.agent_type.Fresh context (typed and generic dispatch): FVS children start without the parent conversation; put every input the child needs in its message (FVS workflow prompts already inline them). If the schema exposes fork_turns, pass fork_turns: "none" (omitting it or passing "all" forks the full history, which also refuses model and reasoning_effort overrides); if it exposes only fork_context, pass fork_context: false. If neither is exposed, fresh context is unconfirmed: say so before dispatch, and stop where the workflow requires a fresh child.
Parallel fan-out:
wait_agent(timeout_ms=...) (or the runtime's visible wait equivalent) until each completesResult parsing:
CHECKPOINT, PLAN COMPLETE, SUMMARY, etc./fvs:<name> references as $fvs:<name>.$ARGUMENTS in the shared body as {{FVS_ARGS}}.${CLAUDE_PLUGIN_ROOT} is the installed plugin root. If a host leaves that token unexpanded, resolve the plugin root as two directories above this SKILL.md.</codex_skill_adapter>
Stage verification-related files and create a structured git commit with a framework-adaptive prefix. Tracks verification progress by counting unfinished proof gaps across the project.Output: Git commit with message checkpoint({framework}): {description} - {progress}
<execution_context> @${CLAUDE_PLUGIN_ROOT}/fv-skills/references/ui-brand.md </execution_context>
Checkpoint description: $ARGUMENTS (optional -- will prompt if empty).Use project markers to determine the verification framework:
# Detect from project files — extend this list as new frameworks are supported
if [ -f "lakefile.toml" ] || [ -f "lakefile.lean" ] || [ -f "lean-toolchain" ]; then
FRAMEWORK="lean"
PROOF_EXTENSIONS="*.lean"
GAP_PATTERN="sorry"
elif [ -f "dune-project" ] || [ -f "_CoqProject" ]; then
FRAMEWORK="coq"
PROOF_EXTENSIONS="*.v"
GAP_PATTERN="Admitted\.\|admit\."
else
FRAMEWORK="fv"
PROOF_EXTENSIONS=""
GAP_PATTERN=""
fi
echo "Framework: $FRAMEWORK"
If a framework was detected, count proof gaps:
if [ -n "$GAP_PATTERN" ] && [ -n "$PROOF_EXTENSIONS" ]; then
GAP_COUNT=$(grep -r "$GAP_PATTERN" --include="$PROOF_EXTENSIONS" . 2>/dev/null | wc -l | tr -d ' ')
PROOF_FILES=$(find . -name "$PROOF_EXTENSIONS" 2>/dev/null | wc -l | tr -d ' ')
COMPLETE_FILES=$(find . -name "$PROOF_EXTENSIONS" 2>/dev/null | while read f; do
grep -q "$GAP_PATTERN" "$f" || echo "$f"
done | wc -l | tr -d ' ')
echo "Proof files: $PROOF_FILES total, $COMPLETE_FILES complete, $GAP_COUNT gaps remaining"
fi
Parse $ARGUMENTS as the checkpoint description. If $ARGUMENTS is empty:
What did you verify? (e.g., "mul bounds proof" or "switching to ring strategy")
Wait for user to provide description.
Stage modified verification files:
# Stage all modified proof and spec files
git add -A .formalising/ 2>/dev/null
# Stage proof files based on detected framework
if [ -n "$PROOF_EXTENSIONS" ]; then
git add $(git diff --name-only --diff-filter=M | grep "$PROOF_EXTENSIONS" | head -50) 2>/dev/null
fi
# Show what will be committed
git diff --staged --stat
If nothing is staged:
FVS >> [XX] NO CHANGES TO CHECKPOINT
No modified verification files found. Make changes first, then run /fvs:checkpoint.
Exit -- do not proceed.
Draft a commit message following these rules:
checkpoint({framework}): {description}Present the proposed message and staged diff to the user for approval:
FVS >> PROPOSED CHECKPOINT
checkpoint({framework}): {description}
{body, only if needed}
Staged files:
{git diff --staged --stat output}
Approve this commit message, or provide an alternative:
Wait for user confirmation. If the user provides an alternative message, use that instead.
git commit -m "{approved message}"
COMMIT_HASH=$(git rev-parse --short HEAD)
FVS >> CHECKPOINT CREATED
{commit hash} {commit subject}
Progress: {complete}/{total} proof files complete, {gap_count} gaps remaining
<success_criteria>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
fvs@beneficial-ai-foundation is listed by beneficial-ai-foundation/plugins — review the source before installing
npx claudepluginhub beneficial-ai-foundation/plugins --plugin fvs36 skills in this plugin
/configureConfigure runtime-aware FVS stage models, effort levels, and review defaultsOther plugins' skills for the same job