execution-pipeline
Skill by nteract
Explains the nteract execution pipeline, from an MCP tool call through the daemon and kernel and back. Use it to debug failed runs, missing or stale outputs, and changes to the execute and run-all flow.
Install execution-pipeline
Built from the published package, never by AI.
git clone --depth 1 https://github.com/nteract/nteract /tmp/nteract && mkdir -p ~/.claude/skills && cp -r /tmp/nteract/.agents/skills/execution-pipeline ~/.claude/skills/execution-pipelineRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nteract/nteract /tmp/nteract && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nteract/.agents/skills/execution-pipeline ~/.gemini/antigravity-cli/skills/execution-pipelineAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill describes how a cell execution moves from an MCP tool call through the nteract daemon to a kernel and back. It covers five stages: capturing Automerge heads so the daemon runs current source, submitting the request, queuing execution, polling RuntimeStateDoc for completion, and resolving outputs by MIME type. Each stage names the documents and messages involved, such as NotebookDoc, RuntimeStateDoc, and CommsDoc.
It also covers the run-all flow with its shared deadline, the 500ms output-sync grace period, and common failure modes such as empty outputs, missing execution, timeouts, and stale outputs. It is written for developers debugging execution issues or changing the execute and run-all code in the nteract repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Causal precondition (required_heads)Captures notebook document heads so the daemon waits for current cell source before executing.
- Request submissionSends ExecuteCell or batch RunAllCells requests with the captured heads attached.
- Daemon queuingReads source from the synced notebook, queues execution, and returns CellQueued with an execution_id.
- Terminal waitPolls RuntimeStateDoc for done or error status, with a short grace period for output sync.
- Output resolutionExplains how text, binary, and widget outputs are resolved for the assistant.
- Run-all flowDescribes batched execution where each execution_id is polled in parallel under one deadline.
- Failure mode guideLists causes and checks for empty outputs, cells that did not run, timeouts, and stale outputs.
Try asking
- Why are my cell outputs empty after running this cell?
- Explain how required_heads stops stale cell source from running
- Walk me through run-all timeout behavior across several cells
Good to know
- Required heads wait times out after 10 seconds.
- The output-sync grace period is 500ms.
- Run-all uses one shared deadline for all cells in the run.
- MCP execution paths return truncated preview output by default.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/execution-pipeline/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to execution-pipeline
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
execution-pipeline: common questions
What is required_heads in the nteract execution pipeline?
It is the set of Automerge heads of the notebook document, captured before an execute request. The daemon waits up to 10 seconds for those changes to exist in its copy before processing the request.
Why might outputs be missing right after a cell finishes?
The output list can lag on the client's replica even after status is done. The client polls for up to 500ms, and the source notes that very large outputs may need more time.
Why should agents pass execution_id when reading outputs?
Each execution gets its own execution_id. The source says reading the cell's current outputs without it can return results from an earlier run.
How do I install execution-pipeline?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is execution-pipeline free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is execution-pipeline safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to execution-pipeline?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
