/SKILL.md
Multi-mode problem structuring and method orchestration for vague requests, prompt systems, nested state machines, and research workflows. Use when Codex needs not only problem briefs, constraints matrices, branch plans, and evaluation loops, but also advanced system modeling, template chains, variant recomposition, traversal and invention analysis, optimization portfolios, governance and feedback rules, or explicit XML and graph exports.
npx skillsauth add aikenchen0-ctrl/HumachineMetamethodology HMMInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to compress a vague, bloated, or mixed-granularity problem into a stable MVP workflow.
Default output shape:
intake-recordproblem-briefconstraints-matrixmode-resolutionbranch-planevaluation-reportloop-decisionPrefer this skill when the user is not asking for a final domain solution yet, but first needs the problem itself to become structured, scoped, and executable.
Use one execution-profile keyword to control interaction cadence and proactive expansion without changing the underlying mode system.
Available user-facing keywords:
共创深探
共创稳推
自治深探
自治稳推
Internal ids such as autonomous_deep, autonomous_steady, co_create, or steady_probe are contract-side labels only.
User-facing prompts should use the Chinese execution-profile keywords above.
Default rule:
自治稳推自治深探Execution profiles do not replace mode names. They control how aggressively HMM probes optional modes.
Rules:
probe activation from one high-signal gain cue when no hard boundary blocks itevaluation_validation should decide whether to deepen, keep bounded, or prune that probeWhen the current task is explicitly grounded in the original source files:
references/metaPrompt.mdreferences/agentic-nested-state-machine.opmldefault to the source-aligned method core first.
The maintained metaPrompt.md is now a chapter-based source scaffold rather than the old numbered step draft.
That source-aligned core should be read in three layers:
Do not auto-expand into long-lived runtime operations engineering just because the user mentions orchestration, branching, or governance.
Treat runtime hooks, provider failover, drift monitoring, threshold governance, and external governance source-of-truth as derived extensions. Only activate them when the task explicitly involves real runtime channels, real service hooks, real provider topology, or continuous operations governance.
When the task is to refine this skill itself, or to align this skill back to references/metaPrompt.md and references/agentic-nested-state-machine.opml:
SKILL.md plus references/ as the current system under analysis自治稳推first_search pass against the current repo and source files before widening scopecritique-report.json may be emitted as a standalone review artifact without implying full advanced-mode completionFollow this order unless the user explicitly asks to skip a stage:
problem_intake
Collect the raw request, decide whether it is single-step or multi-step, and record only the minimum context needed to proceed.
semantic_clarification
Rewrite the problem into a lower-ambiguity form. Extract core terms, ambiguities, and open questions.
When the source distinction matters, keep these separate instead of collapsing them too early:
Between semantic_clarification and demand_constraint_modeling, allow one bounded first_search pass:
search-notes.json.demand_constraint_modeling
Model the current state, goal state, actors, constraints, resources, and core frictions. Keep the model minimal.If the goal state is still unstable, do not force a polished target too early. Record:
If the task involves automation, delegated action, auto-send, escalation, or any system acting on behalf of a human, explicitly model:
branch_plan_generation
Split the work into executable branches only when the branches are independently testable and their dependencies are explicit.This stage must also produce mode-resolution.json. It should not only list active modes, but also expand:
evaluation_validation
Check completeness, consistency, blocking issues, and whether the current plan is actually ready.Do not stop at final-output checks. Also verify stage-level mode requirements:
loop_or_finish
Either finish the round or loop back to the earliest state that can fix the current defect with the lowest repair cost. Record scope_alignment_decision, scope_repair_target, and stage_dispatch_target explicitly whenever the round is source-aligned or has stage-level output gaps.When execution profiles are active, loop_or_finish should also preserve any profile_adjustment_recommendation produced by evaluation so the next round can switch from:
共创 to 自治,自治 to 共创,深探 to 稳推,稳推 to 深探when the current round clearly under-expanded, over-expanded, or interrupted the user at the wrong cadence.
metaPrompt v2The maintained metaPrompt.md is now a chapter-based source scaffold rather than the old numbered draft.
The current six-state shell remains valid, but it should now be read explicitly as a runtime compression of the maintained source.
Preferred mapping:
problem_intake
4semantic_clarification
4demand_constraint_modeling
567 awareness when resource notes are needed but no deep expansion is activatedbranch_plan_generation
6 into chapter 9evaluation_validation
1011loop_or_finish
12This means:
8 retrieval and evidence writeback9 candidate generation10 evaluation and implementation shaping11 pluginization and self-upgradeare all first-class source layers, even when they are not represented as separate top-level runtime states.
Do not silently collapse these into “miscellaneous extensions”.
Within the runtime shell, keep this distinction explicit:
By default, every normal round should still guarantee:
E/A/F/Cond modelingS0/Sg/IFR/C/TC/PC analysisThe following belong to the maintained source core, but may still be activated conditionally in the shell:
The rule is:
After the repository has already aligned:
metaPrompt v2 source,do not keep widening the skill boundary by default.
Treat broad boundary expansion as stopped when all of the following remain true:
When those conditions hold, the correct next work is usually:
not another broad architecture pass.
Reopen broad boundary work only if at least one of these becomes true:
Execution profiles may widen probing aggressiveness, but they do not cancel:
When more than one extension mode is active in the same round, do not leave their interaction implicit.
mode-resolution.json should preferably make these explicit:
mode_precedence
Which mode's decision boundary wins when two modes touch the same object.cross_mode_handoffs
Which artifact becomes upstream input to which later artifact across modes.authority_boundaries
Which mode computes, which mode overrides, and which mode only serializes.interaction_notes
Short notes for any non-default cross-mode arrangement in the current round.Prefer these as explicit structured entries rather than free-form prose:
mode_precedence
Use entries such as higher_mode, lower_mode, precedence_basis, applies_to.cross_mode_handoffs
Use entries such as from_mode, to_mode, via_artifact, handoff_purpose.authority_boundaries
Use entries such as subject, computed_by, overridden_by, serialized_by, final_authority.interaction_notes
Use entries such as related_modes, active_when, note.Typical examples:
Reference examples:
references/examples-index.mdreferences/mode-resolution-example.jsonreferences/evaluation-report-example.xmlreferences/mode-resolution-example-discovery-governance.jsonreferences/evaluation-report-example-discovery-governance.xmlreferences/mode-resolution-example-advanced-representation.jsonreferences/evaluation-report-example-advanced-representation.xmlreferences/mode-resolution-example-template-orchestration.jsonreferences/evaluation-report-example-template-orchestration.xmlIf the user wants the maintained metaPrompt v2 mainline to continue into deeper system modeling beyond the base workflow, enable advanced mode.
Use advanced mode when the user explicitly wants:
Advanced mode extends the base flow with this artifact chain:
resource-graph.jsonactor-network.jsonfunction-field-model.jsonflow-analysis.jsonsafc-model.jsoncontradiction-analysis.jsonsolution-set.jsonAdvanced mode end-stage review output:
critique-report.json before declaring the advanced round completeOptional advanced extension:
multi-screen-analysis.jsonRead references/advanced-mode.md before running this chain.
Read references/screen-and-critique-mode.md when the user wants resource-scan depth, multi-screen analysis, or a post-solution critique of the method itself.
If the user wants to turn the current method into reusable prompts, a template chain, or batch exploration scaffolding, enable template mode.
Use template mode when the user explicitly wants:
Template mode extends the current work with:
template-chain.jsonpruning-notes.jsonchecklist-migration-pointer.json when preserved legacy template consumers need an explicit shared-file pointer to discover checklist-migration-map.jsonchecklist-migration-pointer-registry.json when multiple preserved legacy template consumers should share one discovery entry instead of each depending on a separate implicit pointer pathWhen a template chain already has a lighter restart layer, template-chain.json may also expose optional fast_entry_points that reference compressed continuation artifacts such as checklist-summary.json, prompt-guidance.json, or graph-format-selection.json.
When that compressed continuation is already itemized as a todo list, each fast entry point may also expose optional checklist_item_routes so the checklist can point to template subsets instead of only the whole chain.
When a pointer registry grows beyond one preserved consumer, it may also expose optional grouping metadata such as grouping_strategy and consumer_groups so discovery remains explicit without forcing consumers to scan one flat undifferentiated list.
When preserved consumers start diverging by both history and type, the grouped registry may also expose optional group_dimensions plus entry-level consumer_generation and consumer_class metadata so grouping can stay additive instead of forcing a schema break.
When more than one grouped entry exists, prefer layered matching by declared dimension priority first, and only use cross-product matching as a fallback when layered matching still leaves ambiguity.
When the fallback path itself needs to be audited, the grouped registry may also expose optional matching_examples so concrete query cases, fallback triggers, and final outcomes become machine-readable instead of staying only in prose.
When the same observable hint repeatedly decides successful fallback resolution, prefer promoting it into explicit fallback_match_fields inside matching_strategy instead of leaving it implicit inside examples.
Interpret fallback_match_fields from left to right by priority. Do not append a new field unless current examples show it actually disambiguates a real preserved-consumer case.
Read references/template-mode.md before building these artifacts.
If the user wants the method to become reusable as libraries, guidance sets, or weighted decision structures, enable library and weighting mode.
Use it when the user explicitly wants:
This mode extends the current work with:
glossary.jsonparameter-library.jsoneffect-library.jsontemporary-library.jsonprompt-guidance.jsongraph-format-selection.jsonchecklist-summary.jsonchecklist-migration-map.jsondecision-weighting.jsonBoundary to governance:
decision-weighting.json computes or records ranking logic, criteria, and fallback weighting when human weights are absent,override-policy.json decides what happens when human instructions override that ranking,Boundary to candidate listing:
decision-weighting.json owns ranking semantics,variant-set.json owns the comparable candidate list when explicit variants exist,When checklist-summary.json is expected to be consumed by downstream template routing, its items may also be structured entries with stable item_id values instead of plain strings only.
When older checklist artifacts must be preserved for history while newer consumers expect stable item_id values, emit checklist-migration-map.json instead of rewriting old rounds in place.
Read references/library-and-weighting-mode.md before building these artifacts.
If explicit human weights or priority overrides exist, prefer them over derived weighting. Use decision-weighting.json only as a fallback when no human weight input is available.
When multiple observed fallback-success signals compete for fallback_match_fields, reuse decision-weighting.json to rank them before changing the registry. If no new positively validated candidate appears, keep the current fallback field set unchanged.
When a fallback-field ranking becomes stable enough, compress it into prompt-guidance.json or a short checklist-summary.json so later rounds can reuse the decision boundary without rereading the full weighting artifact.
When that checklist is meant for repeated machine consumption across later maintenance rounds, prefer structured items with stable item_id values instead of plain strings.
If the user wants branch strategy, asynchronous coordination, execution supervision, or explicit memory pruning rules, enable orchestration and memory mode.
Use it when the user explicitly wants:
This mode extends the current work with:
Source-aligned orchestration core:
orchestration-plan.jsonshared-context-map.json when shared-file coordination structure must be made explicit before execution supervisionexecution-supervision.jsonexecutor-interface.jsonexecutor-capability-registry.jsonmemory-pruning.jsonwriteback-ledger.json when the flow includes shared-file writebacks, environment observation, checkpoint writebacks, or merge trackingDerived runtime operations extension, only when the task explicitly involves runtime/service/provider/governance operations:
executor-capability-version-policy.jsonexecutor-capability-discovery.json when capability/availability discovery is in scopeexecutor-runtime-hook.json when discovery depends on runtime signals or external probe hooksruntime-event-source-contract.json when runtime hook depends on an event source contractruntime-event-source-registry.json and runtime-event-schema-version-policy.json when event source registration or schema evolution is in scoperuntime-event-source-service-hook.json and runtime-schema-registry-hook.json when the event source or schema registry is exposed as a real servicecapability-update-ledger.json when discovery results change the registry or fallback routescapability-migration-ledger.json when registry versioning or compatibility changes are in scopeconsumer-compatibility-probe.json when compatibility is decided from observed consumer requests or runtime probe evidenceconsumer-registry.json and consumer-runtime-discovery.json when compatibility depends on runtime consumer identity or a consumer source-of-truthconsumer-registry-version-policy.json and consumer-registry-migration-ledger.json when consumer source-of-truth versioning or migration is in scoperuntime-event-schema-migration-ledger.json when runtime event schema migration is in scopeconsumer-registry-service-hook.json when the consumer source-of-truth is exposed as a real servicesource-of-truth-drift-report.json and source-of-truth-reconciliation-ledger.json when service/source registry/runtime observations may driftsource-of-truth-drift-monitor.json, drift-monitor-scheduler.json, auto-reconcile-policy.json, alert-routing-policy.json, human-escalation-workflow.json, and drift-scan-ledger.json when drift should be monitored continuously rather than checked oncedrift-scheduler-service-hook.json, alert-delivery-contract.json, and human-escalation-channel.json when continuous drift monitoring needs to connect to real runtime channelsdelivery-provider-capability-matrix.json, channel-failover-policy.json, and delivery-failover-ledger.json when those runtime channels need provider failover or multi-channel routing fallbackprovider-health-check.json, circuit-breaker-policy.json, and provider-recovery-switch-ledger.json when provider health state and recovery switching are in scopeprovider-health-telemetry.json, circuit-breaker-hysteresis-policy.json, and recovery-canary-policy.json when recovery switching needs telemetry, hysteresis, or canary controlprovider-telemetry-stream-contract.json, anomaly-scoring-policy.json, adaptive-threshold-policy.json, and threshold-adaptation-ledger.json when stabilization depends on telemetry streams, anomaly scores, or adaptive thresholdstelemetry-baseline-evolution.json, anomaly-model-recalibration.json, threshold-governance-workflow.json, and threshold-governance-ledger.json when adaptive stabilization needs long-term baseline evolution, model recalibration, or human governancebaseline-governance-service-hook.json, anomaly-model-registry.json, threshold-policy-registry.json, and governance-sync-ledger.json when long-term threshold governance needs to connect to external governance systemsgovernance-source-drift-report.json, governance-source-reconciliation-ledger.json, and governance-approval-channel.json when those external governance systems may drift or need approval-channel integrationgovernance-review-scheduler.json, governance-alert-routing-policy.json, governance-review-cadence.json, and governance-review-ops-ledger.json when governance drift should be handled as a continuous operations workflowgovernance-provider-capability-matrix.json, governance-channel-failover-policy.json, and governance-delivery-failover-ledger.json when governance operations need provider failover or multi-channel routing fallbackWhen this mode is active, do not just say “parallel” or “serial” in prose. Classify each path explicitly as one of:
parallel_workerparallel_branchsuspended_traversalparallel_forkserial_branchAlso make the shared-context and supervision boundaries explicit:
Prefer structural execution language over agent-identity language:
execution_units for executable identities,worker_scopes for bounded responsibility,reference_context_refs for upstream context bindings.Prefer structural memory language over tool language:
memory-pruning.json for pruning and reactivation policy,memory_edit_events for actual replacement writebacks,replacement_summaries for what future rounds should retain.When the orchestration design is execution-oriented, also make these explicit:
reference_context,executor-interface.json so these rules become executable packets instead of prose.If the flow is moving toward a real executor, extend executor-interface.json with:
If executor kinds are heterogeneous, also emit executor-capability-registry.json so the skill can decide:
If executor availability or capability can change over time, also emit:
executor-capability-discovery.jsoncapability-update-ledger.jsonexecutor-runtime-hook.json when runtime signals are part of discoveryIf capability registry versions can evolve, also emit:
executor-capability-version-policy.jsoncapability-migration-ledger.json when a version bump, deprecation, or compatibility break happensconsumer-compatibility-probe.json when compatibility needs to be measured against runtime consumer requestsRead references/orchestration-and-memory-mode.md before building these artifacts.
If the user wants multiple comparable variants, step normalization, or recomposition of steps across alternatives, enable variant and composition mode.
Use it when the user explicitly wants:
step_id and dependency repair,When the target direction must stay fixed but the path, order, or local tactic may change under different constraints, treat that as a first-class variant and composition mode use case.
This mode extends the current work with:
variant-set.jsonstep-normalization.jsoncomposition-plan.jsonKeep this boundary explicit:
variant-set.json records the candidate set and default pointer,decision-weighting.json records ranking semantics when explicit sorting is needed,default_variant should be justified by ranking or override basis rather than by presentation order.Read references/variant-and-composition-mode.md before building these artifacts.
If the user wants systematic divergence, heuristic filters, or invention-measure exploration, enable traversal and invention mode.
Use it when the user explicitly wants:
Default traversal discipline:
This mode extends the current work with:
traversal-plan.jsonheuristic-filters.jsoninvention-measures.jsonmeasure-combinations.jsonRead references/traversal-and-invention-mode.md before building these artifacts.
If the user wants latent-demand discovery, early-adopter signals, explicit clarification-mode control, or open-assumption management, enable discovery and hypothesis mode.
Use it when the user explicitly wants:
Boundary to the base chain:
semantic_clarification may record lightweight visible_demand and real_demand_hypothesis,feedback-hooks.json should define entry points and triggers, not replace the later feedback-ledger.json of governance mode.This mode extends the current work with:
demand-visibility.jsonhypothesis-register.jsonfeedback-hooks.jsonRead references/discovery-and-hypothesis-mode.md before building these artifacts.
When these artifacts are present, prefer making the discovery boundary explicit:
demand-visibility.json should show what moved beyond the base-chain lightweight demand split.hypothesis-register.json should keep assumptions reversible by default and make pruning or suspension explicit.feedback-hooks.json should define where external evidence can re-enter the workflow and what later ledger should receive it.If the user wants multi-method branching, approximate-optimal comparison, state-space matrices, or a layered research-versus-execution roadmap, enable portfolio and optimization mode.
Use it when the user explicitly wants:
Default portfolio discipline:
This mode extends the current work with:
state-space-matrix.jsonmethodology-portfolio.jsonmethod-branch-map.jsonresearch-plan.jsonexecution-roadmap.jsonoptimization-report.jsonRead references/portfolio-and-optimization-mode.md before building these artifacts.
If the user wants human-in-the-loop controls, interaction policy, override priority, or a real-world feedback ledger, enable governance and feedback mode.
Use it when the user explicitly wants:
Default governance discipline:
This mode extends the current work with:
interaction-policy.jsongovernance-checkpoints.jsonoverride-policy.jsonfeedback-ledger.jsonRead references/governance-and-feedback-mode.md before building these artifacts.
When governance and weighting are both in scope, human-specified weights and overrides take precedence over automatic ranking.
When these artifacts are present, prefer making governance boundaries explicit:
interaction-policy.json should show which question styles are preferred, avoided, and when they trigger.governance-checkpoints.json should show where humans must review, what they may edit, and what remains non-overridable.override-policy.json should say how human overrides beat default ranking and what fallback weight method is allowed when humans stay silent.feedback-ledger.json should distinguish observed real-world feedback, applied corrections, and still-pending checks.If the user wants XML, Mermaid, DAG, triple, or logic-oriented exports as first-class outputs, enable representation and serialization mode.
Use it when the user explicitly wants:
Default representation discipline:
This mode extends the current work with:
xml-rewrite.xmlsequence-diagram.mmdrepresentation-bundle.jsonRead references/representation-and-serialization-mode.md before building these artifacts.
validation_target.first_search as a bounded helper step, not a new main state.anti-goals first: define what failure, collapse, or unacceptable outcomes look like, then prune paths that lead there.references/metaPrompt.md or references/agentic-nested-state-machine.opml, do not auto-activate derived runtime/provider/governance operations artifacts. Keep them blocked unless the user explicitly asks for real runtime operations behavior.When structuring the problem, think with the smallest useful subset of the original state-space frame:
S0: current stateSg: goal stateO: operators, actions, resources, or forces that can move the systemC: constraints and path boundariesT: transition logic or causal consequencesM: domain method or imported method familyDo not force every output artifact to expose all six fields, but keep them in mind when a problem remains underdefined.
Use this frame especially when:
Do not reduce the original source to a generic workflow only.
The source material has a deeper method core:
true demand / true constraintsproblem formation chainE / A / F / C analysisSg is still unstableRead references/core-method.md when the user is working from the original source materials or when the task starts looking like a mixed prompt-method-state-machine system rather than a normal planning task.
At minimum, the skill should explicitly ask:
The original source has a real dual-mode pattern that should not be lost:
Dissipation mode
Keep assumptions open, allow temporary inconsistency, and explore alternative framings.Crystallization mode
Reduce ambiguity, freeze key assumptions, harden outputs, and remove weak paths.In practice:
Do not crystallize too early.
Always use neutral analysis language.
Read references/terminology-policy.md before generating user-facing analysis.
Load references progressively, not all at once.
references/scope-boundary.md when deciding what belongs in the skill and what must stay out.references/node-taxonomy.md when a node mixes state, rule, artifact, UI, theory, or example roles.references/state-contracts.yaml when producing or checking state outputs.references/state-machine.yaml when deciding transitions, loopbacks, pruning, or finish conditions.references/examples-index.md when more than one extension mode is active, or when you need a concrete cross-mode example before writing mode-resolution.json or evaluation-report.xml.references/opml-functional-architecture-review.md when the task is to critique or optimize the abstract functional design of the original OPML rather than only refining the skill contracts.references/examples-index.json when example selection itself should be machine-readable rather than only human-readable.references/opml-promotion-status-model.md when the task is to decide whether a source-derived idea should stay an example, become a rule, become a contract, or remain a reference.references/opml-promotion-status-model.json when the promotion model itself should be machine-readable.references/source-node-promotion-catalog.json when you need concrete current promotion-status mappings for high-value OPML nodes.references/opml-promotion-backlog.json when the task is to prioritize which candidate source nodes should be split, renamed, archived, or promoted next.references/opml-architecture-optimization-roadmap.md when the task has moved beyond local promotion fixes and into maintenance-mode abstract architecture alignment of the original OPML.references/opml-architecture-optimization-roadmap.json when that maintenance-mode architecture map should itself be machine-readable.references/legacy-artifact-compatibility-policy.md when the task is to decide whether a historical source artifact should stay active, become compatibility-only, or become archived.references/legacy-artifact-compatibility-policy.json when that archive/compatibility decision should be machine-readable.references/branch-topology-decision-table.md when the task is to normalize topology choice among parallel_worker, parallel_branch, serial_branch, suspended_traversal, and parallel_fork.references/branch-topology-decision-table.json when that topology decision logic should be machine-readable.references/typed-source-node-index.md when the task should start from a typed companion of the OPML source rather than reconstructing roles directly from the free-form tree.references/typed-source-node-index.yaml when that typed source companion should be machine-readable.references/metaPrompt-step-index.md when the task should start from a typed companion of the maintained chapter-based metaPrompt.md scaffold rather than reconstructing chapter order from prose.references/metaPrompt-step-index.json when that maintained source scaffold should be machine-readable.references/source-node-type-registry.md when the task needs the meaning of typed source node roles, scope layers, and source-plane hints.references/source-node-type-registry.json when that role registry should be machine-readable.references/product-interaction-boundary.md when the task is to keep UI/product ideas out of workflow contracts.references/ui-pattern-archive.json when product interaction residue from the OPML should be machine-readable instead of staying only in prose review.references/executor-persona-boundary.md when the task is to keep execution substrate taxonomy out of orchestration contracts.references/execution-substrate-taxonomy.json when execution substrate residue from the OPML should be machine-readable instead of staying only in prose review.references/strategy-intervention-boundary.md when the task is to keep strategy/intervention material out of the neutral default core unless explicitly activated.references/optional-strategy-mode.json when optional strategy/intervention residue from the OPML should be machine-readable instead of staying only in prose review.references/boundary-razor-policy.md when the task is to decide whether an already-defined archive plane should freeze or expand.references/boundary-razor-policy.json when that freeze-versus-expand decision should be machine-readable.references/release-consolidation-checklist.md when the task is about release-ready maintenance, loading priority, or keeping the reference stack consolidated.references/release-consolidation-checklist.json when that maintenance map should be machine-readable.references/release-final-review.md when the task is to check or communicate the current closeout judgment for the maintained reference stack.references/release-final-review.json when that closeout judgment should be machine-readable.If the maintenance-consolidation gates are already satisfied, do not keep creating new architecture layers by default. Prefer release review, commit preparation, packaging, or distribution unless a real downstream consumer or source drift explicitly reopens architecture work.
references/examples-index.json, references/opml-promotion-status-model.json, references/source-node-promotion-catalog.json, and references/opml-promotion-backlog.json as lightweight source-review reference contracts rather than per-round required outputs.references/terminology-policy.md when rewriting source material into neutral analysis language.references/source-alignment-policy.md when the task is to align the skill back to the original source, or when you suspect orchestration has drifted into runtime/provider/governance operations beyond the source.references/core-method.md when you need the distilled core ideas from the original two source files without loading all of their raw text.references/advanced-mode.md when the user wants the maintained metaPrompt v2 mainline to expand into deeper graph / flow / SAFC / contradiction / solution-set modeling.references/output-and-evaluation.md when the user needs template variable mapping, graph formats, triple formats, DAG formats, logic formats, or stronger evaluation methods.references/template-mode.md when the user wants template chains, batch exploration, or pruning notes.references/screen-and-critique-mode.md when the user wants multi-screen analysis, ordered resource scanning, IFR-style resource reconstruction, or critique reports.references/library-and-weighting-mode.md when the user wants libraries, guidance prompts, graph-format choices, or weighted decision outputs.references/orchestration-and-memory-mode.md when the user wants branch strategies, asynchronous coordination, execution supervision, or memory pruning.references/variant-and-composition-mode.md when the user wants multiple variants, step normalization, or merged plans composed from multiple alternatives.references/traversal-and-invention-mode.md when the user wants systematic traversal, heuristic filters, IFR-style elimination, or invention-measure exploration.references/discovery-and-hypothesis-mode.md when the user wants latent-demand discovery, early adopter signals, clarification-mode control, or explicit hypothesis management.references/portfolio-and-optimization-mode.md when the user wants methodology portfolios, state-space matrices, multi-path optimization, or layered research/execution plans.references/governance-and-feedback-mode.md when the user wants human review points, guided question styles, override rules, or real-world feedback tracking.references/representation-and-serialization-mode.md when the user wants explicit XML, Mermaid, DAG, triple, or logic exports.references/metaPrompt.md and references/agentic-nested-state-machine.opml only when you need the original source language or source structure.Read them in particular when you need:
references/metaPrompt.md,references/agentic-nested-state-machine.opml,P = {S0, Sg, O, C, T, M} style thinking,When the user wants files, prefer this artifact set:
intake-record.jsonsearch-notes.json when bounded first-search evidence is neededproblem-brief.jsonconstraints-matrix.jsonbranch-plan.jsonmode-resolution.jsonevaluation-report.xmlloop-decision.jsonIf advanced mode is active, extend the artifact set with:
resource-graph.jsonactor-network.jsonfunction-field-model.jsonflow-analysis.jsonsafc-model.jsoncontradiction-analysis.jsonsolution-set.jsoncritique-report.json before declaring the advanced round completemulti-screen-analysis.json when the user wants super/current/sub-system evolution analysisIf source-aligned candidate generation and implementation shaping is active, extend the artifact set with:
selected-targets.jsonoperator-calls.jsoncandidate-pool.jsoncombination-hints.jsonsolution-comparison.jsonsolution-paths.jsonvalidation-plan.jsonimplementation-steps.jsonfallback-rules.jsonWhen these artifacts are present, prefer making the generation and evaluation boundary explicit:
selected-targets.json should say which targets were chosen for generation and which were deferred.operator-calls.json should show which operator families were applied to which targets instead of hiding generation provenance.candidate-pool.json should keep each candidate's expected gain, new cost, and evidence-needed fields explicit.combination-hints.json should stay advisory until evaluation promotes a path.solution-comparison.json should compare expected gain, new cost, risk, validation need, and constraint fit before a route is treated as ready.solution-paths.json should separate main and fallback paths.validation-plan.json, implementation-steps.json, and fallback-rules.json should carry the evaluation result forward into executable next-step logic.If template mode is active, extend the artifact set with:
template-chain.jsonpruning-notes.jsonIf library and weighting mode is active, extend the artifact set with:
glossary.jsonparameter-library.jsoneffect-library.jsontemporary-library.jsonprompt-guidance.jsongraph-format-selection.jsonchecklist-summary.jsondecision-weighting.jsonIf orchestration and memory mode is active, extend the artifact set with:
orchestration-plan.jsonexecution-supervision.jsonexecutor-interface.jsonexecutor-capability-registry.jsonmemory-pruning.jsonwriteback-ledger.json when execution-side writebacks or merge tracking are in scopeIf variant and composition mode is active, extend the artifact set with:
variant-set.jsonstep-normalization.jsoncomposition-plan.jsonIf traversal and invention mode is active, extend the artifact set with:
traversal-plan.jsonheuristic-filters.jsoninvention-measures.jsonmeasure-combinations.jsonWhen these artifacts are present, prefer making the narrowing logic explicit:
traversal-plan.json should expose the active focus, deferred dimensions, and any scope guard that keeps the traversal bounded.heuristic-filters.json should distinguish direct operators from background states and should record what was pruned or black-boxed.invention-measures.json should separate single, paired, and complex measures instead of flattening them into one undifferentiated list.measure-combinations.json should explain the new mechanism, not just the component list.If discovery and hypothesis mode is active, extend the artifact set with:
demand-visibility.jsonhypothesis-register.jsonfeedback-hooks.jsonIf portfolio and optimization mode is active, extend the artifact set with:
state-space-matrix.jsonmethodology-portfolio.jsonmethod-branch-map.jsonresearch-plan.jsonexecution-roadmap.jsonoptimization-report.jsonWhen these artifacts are present, prefer making the portfolio logic explicit:
state-space-matrix.json should say what decomposition basis produced the matrices and how priority is being viewed.methodology-portfolio.json should show method families, target objectives, and tradeoff styles instead of only naming candidate methods.method-branch-map.json should expose which constraints or weights changed per branch.research-plan.json should answer what still needs to be learned before commitment.execution-roadmap.json should answer what to do first, next, and in parallel once the uncertainty boundary is acceptable.optimization-report.json should explain why the result is approximate-best and why a single-best collapse would be misleading if that is the case.If governance and feedback mode is active, extend the artifact set with:
interaction-policy.jsongovernance-checkpoints.jsonoverride-policy.jsonfeedback-ledger.jsonIf representation and serialization mode is active, extend the artifact set with:
xml-rewrite.xmlsequence-diagram.mmdrepresentation-bundle.jsonWhen these artifacts are present, prefer making the export logic explicit:
xml-rewrite.xml should identify which rewritten object is being wrapped and what XML target it serves.sequence-diagram.mmd should be tied to a real interaction or execution order rather than generated decoratively.representation-bundle.json should say which formats were selected, what each target points to, and why some other formats were not emitted.If source-aligned pluginization and self-upgrade is active, extend the artifact set with:
plugin-decisions.jsonplugin-drafts.jsonplugin-interfaces.jsonplugin-feedbacks.jsonplugin-upgrade-rules.jsonWhen these artifacts are present, prefer making the plugin boundary explicit:
plugin-decisions.json should say what is being promoted, what stays deferred, and why.plugin-drafts.json should preserve reusable domain structure, evidence sources, operator mappings, and failure modes without pretending to be an executable MCP skill.plugin-interfaces.json should expose future skill shells only after the plugin draft is stable enough to externalize.plugin-feedbacks.json should keep vocabulary, analysis, solution, and failure writebacks separate so later rounds can reuse them intentionally.plugin-upgrade-rules.json should make P0 -> P1 -> P2 promotion explicit instead of silently upgrading maturity.If the user only wants discussion, still think in this artifact shape internally and summarize from it.
If the problem is still unstable after problem-brief, explicitly summarize:
S0,Sg,O are only hypotheses,C are hard constraints versus temporary assumptions.In constraints-matrix.json, prefer to make these source-derived structures explicit:
Do not score outputs only by whether they sound reasonable.
At evaluation time, explicitly test whether the current path is acting as:
necessary condition,sufficient condition,pivot variable inside a larger combination.If the user asks for depth, explain which of the three roles each key step is playing.
If a self-score is present, treat it only as a weak auxiliary check:
If the user asks for stronger verification, also separate:
If two or more extension modes are active in the same round, also check:
Stop the current round only when:
If any one of those is missing, do not pretend the workflow is complete.
Also do not stop when:
development
Multi-mode problem structuring and method orchestration for vague requests, prompt systems, nested state machines, and research workflows. Use when Codex needs not only problem briefs, constraints matrices, branch plans, and evaluation loops, but also advanced system modeling, template chains, variant recomposition, traversal and invention analysis, optimization portfolios, governance and feedback rules, or explicit XML and graph exports.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.