ワンクリックで
using-subpower
Start and drive subpower's agent-facing full workflow for complex three-side tasks without using an automatic workflow runner.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Start and drive subpower's agent-facing full workflow for complex three-side tasks without using an automatic workflow runner.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | using-subpower |
| description | Start and drive subpower's agent-facing full workflow for complex three-side tasks without using an automatic workflow runner. |
Use subpower as the agent-facing entry point for complex tasks that require structured handoff between investigation, planning, implementation, review, board validation, failure assessment, routing, and closure.
When the user explicitly says use subpower, 按 subpower 处理, or an equivalent direct instruction, that authorizes subagent-first orchestration. The host agent may compose and route the workflow, but it must not substitute host-only checklist work for role execution. Subagents execute role contracts. Scripts only validate structure, gates, reports, fixtures, and installation staging.
Use this skill when a task involves any of these conditions:
use subpower or 按 subpower 处理.node scripts/subpower.js run; that command is not part of subpower.The full workflow is driven by this skill through host orchestration and role-specific subagents:
skills/using-subpower/SKILL.md is the full-flow entry point.agents/*.toml define thin role boundaries.contracts/*.yaml define structural obligations and legal routes.schemas/run-artifacts/*.schema.json define artifact shape.scripts/ provide validation, runtime gates, runtime reports, installation staging, and demo fixture support.use subpower, 按 subpower 处理, run this with subpower, or handle this through subpower is explicit authorization to use role-specific subagents.subagent_execution_status.json for subpower-invoked work.execution_evidence_status and critical_host_participation in subagent_execution_status.json.agent_invocation_manifest.json. Complete execution claims require concrete runtime handoff/spawn evidence; declared-only, host-only, or synthetic fixture entries are structural evidence only.host_only_fallback degraded mode, set degraded: true, record fallback_reason and degradation_reason, and do not claim complete subagent-first execution.completed_under_subpower_contracts_with_host_only_fallback: true; it must not state completed_as_subagent_first_execution, completed_by_subpower, or complete_subpower_execution.critical_host_participation. Undisclosed host participation blocks gates; independence-affecting host participation blocks complete execution claims.prompt_context.jsontask_profile.jsoncapability_preflight.json when required by the structured change profileworkflow_plan.jsonworkflow_state.jsonside_state.jsonhandoff_packet.jsonincident_investigationbug_fixboard_validationfunctional_reviewknowledge_writebackincident_investigation before implementation unless the user explicitly provides an already reviewed plan.incident_investigation should produce:
incident_report.jsonroot_cause_hypotheses.jsonevidence_manifest.jsonnext_workflow_recommendation.jsonnext_workflow_recommendation.json points to bug_fix:
task_profile.change_profilecapability_preflight.jsonimplementation_plan.jsoncode_change_manifest.jsonreview_decision.jsonboard_target.json from prompt/context/project-local configuration/run artifacts before executionboard_session.json, board_validation_result.json, and evidence_manifest.jsonboard_failure_review.jsonmain_route_decision.jsonmain_route_decision.json:coder_reworkplanner_reworkcollect_more_evidencererun_board_validationescalate_to_userclose_as_environment_issueroute_history.json; do not overwrite prior route decisions or evidence references.closure_matrix.json passes the closure gate. Enter knowledge_writeback only after closure is structurally allowed.knowledge_writeback, knowledge-closer creates knowledge_writeback_candidate.json, writeback_plan.json, and then either writeback_receipt.json or writeback_declined.json.Create prompt_context.json early. It records context; it does not invent defaults.
Board target, log paths, validation commands, expected behavior, and project-specific metrics must come from the user prompt, current task context, project-local configuration, or run artifacts. Subpower only defines the artifact contract and gates. Subpower must not hardcode board paths, IPs, commands, or log formats.
When prompt_context.board_context.provided is false, incident investigation can still proceed. Prompt board context can support drafting board_target.json, but real board_validation must not execute without a concrete board_target.json.
Recommended order:
prompt_context.jsontask_profile.jsoncapability_preflight.json when requiredworkflow_plan.jsonworkflow_state.jsonside_state.jsonhandoff_packet.jsonincident_report.json, root_cause_hypotheses.json, evidence_manifest.json, next_workflow_recommendation.jsonimplementation_plan.json, code_change_manifest.jsonreview_decision.jsonboard_target.json, board_session.json, board_validation_result.json, evidence_manifest.jsonboard_failure_review.json, main_route_decision.json, route_history.jsonclosure_matrix.jsonknowledge_writeback_candidate.json, writeback_plan.json, writeback_receipt.json or writeback_declined.jsonFor a common bugfix that requires board validation and knowledge writeback, use the shortest role-produced artifact chain that unlocks the next gate or records a real decision point:
prompt_context.jsontask_profile.jsoncapability_preflight.json when requiredworkflow_plan.jsonsubagent_execution_status.jsonworkflow_state.jsonagent_invocation_manifest.jsonimplementation_plan.jsoncode_change_manifest.jsonreview_decision.jsonboard_target.jsonboard_session.jsonboard_validation_result.jsonevidence_manifest.jsonboard_failure_review.jsonmain_route_decision.jsonroute_history.jsonclosure_matrix.jsonknowledge_writeback_candidate.jsonwriteback_plan.jsonwriteback_receipt.json or writeback_declined.jsonDo not create extra artifacts unless they unlock a gate, record a decision point, preserve route history, or retain evidence that would otherwise be lost. Skip incident artifacts when the task is a direct reviewed bugfix and no board-side symptom investigation is needed. This artifact spine is not a host-only checklist.
Capability preflight is structural evidence that the host workflow-orchestrator discovered required invocation targets and made them instruction-ready before implementation. Contracts use logical capability ids; the runtime matrix records the concrete target to call at orchestration time without binding subpower to a particular local skill package.
Derive requirements from planner-owned task_profile.change_profile:
surgical_change_guardrailsmodule_design_assessmentcapability_preflight.json is produced by workflow-orchestrator. It records each required capability, invocation target, target type, trigger reason, instruction-ready status, evidence references, and explicit waiver. Scripts validate the evidence but do not classify task semantics or select local skills.
Runtime discovery is host-owned. The host must bind invocation_target from the current session's available skills, agents, tools, or explicitly available manual instructions. Subpower scripts must not scan fixed local skill paths, infer installed capabilities from filesystem layout, or claim a target is callable solely because a SKILL.md file exists.
An explicit waiver requires a reason and marks the preflight degraded. If implementation scope expands beyond the recorded change profile, stop and return to planner preflight.
workflow-orchestrator: owns workflow plan, workflow state, capability preflight, main route decision, route history, and closure request.knowledge-planner: owns investigation planning, implementation planning, board target drafting from provided context, and next workflow recommendation; it consumes capability preflight but does not discover local runtime skills.repo-implementer: owns code changes and local verification evidence.repo-reviewer: owns independent code review and may assess failed board validation.board-runner: owns board session execution or manual execution guidance and board validation result.failure-analyst: owns failure classification when board evidence needs independent assessment.verification-manager: owns read-only verification coverage analysis.knowledge-closer: owns writeback artifacts only after closure gates allow it; it does not directly write an external knowledge base.Use contracts/decision-points.yaml as the legal route source. Common points:
board_validation_failed: requires failed board_validation_result.json, evidence_manifest.json, and board_failure_review.json.code_review_failed: requires reviewer findings before rework.evidence_insufficient: routes to more evidence, rerun validation, planning rework, or escalation.requirement_ambiguous: routes to planner rework, functional review, or escalation.closure_blocked: routes to more evidence, rework, writeback declined, or escalation.After board_validation_result.status == failed:
board_failure_review.json.main_route_decision.json.route_history.json.The structural report may recommend the next missing artifact, but it must not decide the business route.
board_failure_review.json must classify the failure before routing. Use failure_type values code_regression, environment_issue, test_flake, board_setup_error, requirement_mismatch, insufficient_evidence, or unknown; include confidence, supporting_evidence_refs, and recommended_route. Do not route a failed board validation directly to code rework without this assessment and a separate main_route_decision.json.
Closure requires:
evidence_manifest.jsonclosure_matrix.jsonroute_history.json if any decision point was traversedDo not close when a failed board validation lacks reviewer/failure-analyst assessment, route decision, or route history.
Knowledge writeback begins only after closure_gate is ready.
The required sequence is:
knowledge_writeback_candidate.jsonwriteback_plan.jsonwriteback_receipt.json or writeback_declined.jsonRules:
claim_classification: verified_runtime_fact, project_decision, temporary_observation, or unverified_claim.current_knowledge candidates may contain only verified_runtime_fact and evidence-supported project_decision claims.temporary_observation is not written to long-term knowledge by default and should produce writeback_declined.json unless it is later converted into an evidenced fact or decision.unverified_claim must produce writeback_declined.json.writeback_plan.json uses logical destination refs, not external absolute paths.writeback_receipt.json must record that subpower did not perform an external write.Stop or escalate when:
board_target.json, validation criteria, or execution authority is unavailable.