dechenzhang/valg-ml-theory-agent/idea-formalizer
Claude Code and agent skill by dechenzhang/valg-ml-theory-agent
- community
Checking that the SKILL.md file is still in the repository.
Translate a branch-local idea into a formal setting and goal and write perspective_M/idea_N/setting.md, preserving prior valid formalization choices and applying only the approved semantic delta after failure-driven idea revision. Use when Codex needs the formalization step between idea generation and theorem proving.
Install
npx vskill@latest install dechenzhang/valg-ml-theory-agent/idea-formalizerSKILL.md
Idea Formalizer
Use this skill to formalize one approved branch-local idea into a theorem-ready setting.md for later theorem proving.
This is the internal formalization skill:
- write
perspective_M/idea_N/setting.md - formalize the approved branch-local idea rather than redesigning it
- do not modify controller-owned routing, tracker-row ownership, or controlled vocabularies
The goal of this skill is to remove ambiguity before proof work. The split proof pipeline should be able to read setting.md and start /proof-sketch without redefining the problem, guessing missing assumptions, or repairing symbol ambiguity.
Use ../_shared/templates/setting.md as the binding artifact structure.
Responsibilities
- Translate
idea.mdinto a formal setting and a formalized goal. - Keep the formalization aligned with the approved idea instead of inventing a nearby new idea.
- Make assumptions, notation, regime, and goal contract explicit enough for theorem proving, with stable ids for every technical assumption.
Required Inputs
perspective_M/idea_N/idea.md
Optional Inputs
workflow_feedback.mdLITERATURE_SURVEY.md- other branch-local files under
perspective_M/ - current
perspective_M/idea_N/setting.mddraft when rerunning the formalization checkpoint for the same approvedidea_N - matching pending rerun feedback from
workflow_feedback.mdfor the formalization checkpoint - previous same-perspective
idea_{N-1}/setting.mdas a refinement reference when the currentidea_Nwas created after controller-level idea modification - previous same-perspective
idea_{N-1}/proof_review.mdas a refinement reference when the currentidea_Nwas created after controller-level idea modification
Required Outputs
perspective_M/idea_N/setting.md
Workflow
Step 1: Load the current branch context
- Read the exact current
perspective_M/idea_N/idea.md. - Read the
Parent foundation papers,Transfer map,Source alignment,Progress type,Materiality,Feasibility, andConsistencyentries fromidea.md## Notesas branch-lineage, source-direction, progress-type, and assumption-support guardrails for the formalization. - If
perspective_M/idea_N/setting.mdalready exists, read it as the latest draft for this branch; this is a same-idea formalization-checkpoint rerun rather than a new idea variant. - If
workflow_feedback.mdcontains pending rerun feedback for the current branch'sFormalization checkpoint, treat that feedback as binding guidance for rerunning/idea-formalizeron the current approvedidea_N. - If the current branch is a fresh
idea_Ncreated after controller-level idea modification, read the immediately previous same-perspectiveidea_{N-1}/setting.mdandidea_{N-1}/proof_review.mdas refinement references and as the default baseline for unchanged formalization choices in this new branch. - If available, read
LITERATURE_SURVEY.mdonly as supporting context for standard notation, standard assumptions, and nearby theorem shapes. - If useful, read earlier same-perspective
idea_K/setting.mdandidea_K/proof_review.mdartifacts only as calibration signals for notation, setup style, and previously exposed ambiguity. - Treat the approved
idea.mdas the primary contract. Literature and sibling branches may guide the formalization, but they must not overwrite the approved setting or goal. - Treat source-alignment and progress-type metadata recorded in
idea.mdas binding when present. Preserve it insetting.mdrather than reclassifying the branch during formalization. - Treat the lineage recorded in
idea.mdas an alignment constraint: use it to preserve the approved parent-paper inheritance, not to import new unsupported assumptions from the literature. - Treat the assumption support recorded in
idea.mdas binding: preserve whether theorem-critical assumptions are standard/literature-derived or novel example-verified, including the concrete verification examples for novel assumptions. - Previous failed artifacts may suggest cleaner notation, better assumptions, a target-preserving primitive source, or a target-changing conservative theorem target, but they must not override the current branch's setting or goal in
idea.md. - If
idea.mdinherits a theorem-facing recovery, reduction, specialization, zero-defect, exact-limit, exact/noiseless, or baseline-case conclusion from a prior branch or failure record, preserve it insetting.mdunlessidea.mdexplicitly marks a target-changing repair. - On fresh-idea formalization after controller-level idea modification, first identify the semantic delta between the nearest prior same-perspective idea and the current
idea.md, together with the recorded failure reason. Preserve previously valid formalization choices fromidea_{N-1}/setting.mdwhen they remain consistent with the currentidea.mdand are not changed by that delta or implicated by the failure; rewrite only the modified or invalidated parts instead. - On same-idea formalization reruns, preserve already-valid formalization choices unless the approved
idea.mdor the checkpoint feedback requires changing them.
Step 2: Draft the formalization
Write the current branch's theorem-ready perspective_M/idea_N/setting.md.
- Depending on the current flow, draft it from scratch, revise the current
setting.mddraft on a formalization-checkpoint rerun, or reuse still-valid parts of the previous same-perspectivesetting.mdas a baseline reference when formalizing a freshidea_Nafter controller-level idea modification.
Build # Formalized Setting
- Translate
## Settinginidea.mdinto# Formalized Setting. - Split
# Formalized Settinginto: Basic setupTechnical assumptions- Place the setting dimensions from
idea.mdinto the appropriate part of the formalized setting, including context, model, data, algorithm, regime, and any other branch-specific constructions needed later in the goal. - Rewrite the setting in mathematical notation and precise definitions, defining all objects, notation, operators, parameters, regimes, losses, target quantities, and other constructions that the goal will later use.
- Formalize one coherent theorem contract from the approved idea. Do not turn broad parent labels, examples, provenance notes, or sibling artifacts into theorem-facing disjunctions of models, data regimes, algorithms, probability modes, target modes, or assumption packages unless
idea.mdexplicitly requires a union, comparison, or conditional multi-case theorem. - Assign every item in
Technical assumptionsa stable ASCII assumption id of the formassump:<slug>and a short descriptive name, for exampleassump:smoothness(Smoothness). The id is a downstream citation target, not a full LaTeX environment. - Every theorem-critical technical assumption must be primitive/checkable and must preserve the support class from
idea.md: standard/literature-derived assumptions stay tied to the parent literature or standard theorem regime, and novel assumptions may appear only ifidea.mdalready records several concrete branch-specific verification examples. Do not introduce a new unsupported theorem-critical assumption during formalization. - Distinguish primitive assumptions from derived properties. If a needed property should follow from primitive assumptions, formalize it as a proof obligation, bridge target, conditional branch, or weaker target rather than as a theorem-facing assumption.
- If
idea.mdintroduces an upstream primitive condition intended to derive a needed bound, envelope, correlation, event, stability quantity, or invariant, formalize the upstream primitive condition as the theorem-facing assumption and make the derived control a named proof obligation, bridge target, or intermediate quantity to derive. Do not promote the derived control to anassump:<slug>merely because it is convenient for proof work. - Formalize primitive sources as
assump:<slug>items. Formalize consequences of those sources as bridge targets, intermediate quantities, or proof obligations unless each consequence is independently primitive and checkable. - After a failure-driven idea revision, preserve the prior theorem mode, scope, conclusion, and inherited baseline invariance obligations when the approved idea records a target-preserving repair through a new supported primitive mechanism source. If the approved idea instead weakens the guarantee, changes theorem mode, changes theorem scope, replaces a nontrivial success criterion by a conservative one, or replaces an inherited baseline/recovery conclusion by a weaker surrogate, formalize that as a target-changing repair explicitly rather than treating it as the same theorem contract.
- Formalize primitive assumptions in the weakest natural control mode from
idea.mdor the nearest valid prior formalization. Do not strengthen norm, metric, probability, locality, uniformity, independence, smoothness, conditioning, or horizon mode merely for proof convenience. If a stronger-mode control is needed, state it as a bridge target, intermediate quantity, or proof obligation with explicit losses. - When
idea.mdsays a property should persist, be preserved, remain controlled, stay in a basin, maintain support, or satisfy an invariant, do not formalize that property as exact all-time equality, exact zero leakage, exact membership, or a hard all-time constraint unlessidea.mdexplicitly requires exact invariance and the algorithm contains an exact-preserving mechanism. By default, formalize it as a derived bound, leakage or stability radius, bridge target, conditional target, or weaker target with explicit losses. - Preserve the approved idea's assumption-form generality. Do not convert an upper or lower bound into an exact value, an inequality into an equality, a broad class into a subclass, or an optional or degenerate case into an exclusion unless
idea.mdexplicitly and validly requires that narrowing. - Preserve unaffected theorem population and assumption generality from the approved idea. Do not replace broad upper-bound, class, or subobject assumptions by exact, fixed-support, coordinate, or otherwise narrower assumptions unless
idea.mdexplicitly ties that narrowing to the failure being repaired. - If the approved idea needs a positive or nondegenerate component under a broader assumption, define the active parameter or active subobject and state primitive conditions on that active part rather than narrowing the whole theorem scope.
- For any new or modified theorem-critical assumption, preserve the admissibility support recorded in
idea.md. Acceptable support is a cited paper that assumes, uses, or implies it; a standard theorem-regime fact with a short derivation path; or concrete example regimes where the assumption can be checked directly. When a supported constructive mechanism or primitive source can verify a needed property, formalize that mechanism or source as the theorem-facing assumption and keep the derived property as a bridge target, intermediate quantity, or proof obligation. If formalization needs a theorem-critical assumption without recorded support, route back to idea generation instead of adding it silently. - During drafting, check whether the setting still contains vague or informal phrases; if so, replace them with explicit mathematical objects, conditions, exclusions, or assumptions.
Build # Formalized Goal
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/idea-formalizer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dechenzhang/valg-ml-theory-agent/idea-formalizer)