ワンクリックで
new-arnold-pipeline-template
Scaffold a new Arnold native-first pipeline package from the _template skeleton.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Scaffold a new Arnold native-first pipeline package from the _template skeleton.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run the canonical Megaplan planning pipeline from its Arnold plugin home.
Launch one durable, mutation-authorized meta-fixer to repair a failed automated fixer and its missed backstop, retrigger ordinary repair, and prove the identified epic or session advances. Use when a watchdog, repair loop, meta-repair loop, or progress auditor ran or should have run but the real chain stayed stuck, repeated stale evidence, claimed false success, or failed to self-correct. Invoke with `--target "EPIC_OR_SESSION_TEXT"`.
Launch an external model as a subagent for a second opinion, adversarial review, or delegated work. Default pathway is an agentic DeepSeek / Kimi / Zhipu GLM hermes subagent (file/web/terminal tools, one process or fanned out N-wide); also Codex (GPT-5.5) and Claude via the Agent tool. Use for independent root-cause analysis, cross-checking your reasoning, judge/jury panels, or handing implementation to a different model.
Adversarial review of prose drafts by N reviewers, then revise. Not for code.
Survey every place loose work hides in a git repo — starting with the current checkout's own uncommitted/untracked/unpushed work, then local branches, all worktrees (`.megaplan-worktrees`, `.megaplan/bakeoffs/*`, agent-tool worktrees), stashes, detached HEADs, interrupted rebases/merges, submodules, remote branches on origin and other remotes, fork PR refs, sibling repo variants, other clones of this repo elsewhere on disk, the megaplan-cloud machine (Hetzner box) and every workspace on it, and GitHub Codespaces — classify each as land-on-main / delete / parked with reasoning, and act only on explicit per-item approval. Use when the user says "clean up loose branches", "prune branches", "what branches can I delete", "clean up worktrees", "review my stashes", "what's lying around in this repo", or asks for branch / worktree / stash housekeeping.
Steps to create a new Arnold native-first pipeline package from the template.
| name | new-arnold-pipeline-template |
| description | Scaffold a new Arnold native-first pipeline package from the _template skeleton. |
Copy arnold_pipelines/_template/ to a new package under arnold_pipelines/,
rename it (remove the leading underscore), and replace the skeleton native
declarations with real pipeline logic.
This template is native-first. Every package built from it uses
@pipeline, @phase, @decision, parallel, compile_pipeline, and
project_graph to declare a native program and project it into a
Pipeline shell that the runtime executes directly.
build_pipeline() -> arnold.pipeline.types.Pipeline returning a projected
shell with a non-null native_program.name, description, driver, entrypoint,
arnold_api_version, capabilities.driver must be ("native", "<kind>") (e.g. ("native", "project+validate")).supported_modes must include "native" (e.g. ("native",)).default_profile, recommended_profiles.New packages must be native-first. Do not add _legacy.py, graph
fallback builders, compatibility namespaces, shim packages, or temporary
wrapper modules for new work — those patterns are explicitly disallowed.
The native_program attached to the projected Pipeline is a dispatch
substrate. It describes how the runtime lowers and executes pipeline
topology, but it does not define the final visible compositional
semantics (panel synthesis, join delegation, parallel merge strategy,
subpipeline ownership, or Capsule projection). Those compositional
concerns are deferred to later Megaplan layers above the dispatch
boundary.
Package authors should treat native_program as the execution-level
contract: a non-null program proves the package is native-runnable, but
the exact shape of how composition is rendered for end users, agents, or
Capsules is not finalised at this layer.
from arnold.pipeline.native import compile_pipeline, phase, pipeline, project_graph
from arnold.pipeline.types import Pipeline
@phase(name="draft")
def draft(ctx: object) -> StepResult:
return StepResult(outputs={"draft": "TODO"}, next="publish")
@phase(name="publish")
def publish(ctx: object) -> StepResult:
return StepResult(outputs={"final_artifact": "TODO"}, next="halt")
@pipeline(name="my-pipeline", description="draft → publish")
def my_pipeline_native(ctx: object) -> Any:
state = yield draft(ctx)
state = yield publish(ctx)
return state
def build_pipeline() -> Pipeline:
native = compile_pipeline(my_pipeline_native)
return project_graph(native, key_mode="phase")
The returned Pipeline carries a non-null native_program. The runtime
uses that program directly; the projected shell is for discovery and
validation, not for hand-authored graph construction.
arnold_pipelines.my_pipeline:build_pipelinebuild_pipeline() returns arnold.pipeline.types.Pipeline
with a non-null native_program.driver starts with "native"; supported_modes contains
"native".Run through the Arnold native checker:
arnold pipelines check --module arnold_pipelines.my_pipeline:build_pipeline