BotCurrent
← Back to examples

Build & debugFrom the makerActs with your OK

Turn a model notebook into a reusable pipeline

A notebook that worked once is hard to run again. Your AI splits it into clear steps you can rerun.

What happened

Anthropic's Claude Code page shares a story from Ramp engineer Anton Biryukov. They describe giving Claude Code an exploratory notebook with data pulls, model training and evaluation. They say it turned that work into a Metaflow pipeline.

Source: Anthropic · claude.com · Tool: Claude Code

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/turn-a-model-notebook-into-a-reusable-pipeline && curl -fsSL https://botcurrent.com/skills/turn-a-model-notebook-into-a-reusable-pipeline/SKILL.md -o ~/.claude/skills/turn-a-model-notebook-into-a-reusable-pipeline/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/turn-a-model-notebook-into-a-reusable-pipeline && curl -fsSL https://botcurrent.com/skills/turn-a-model-notebook-into-a-reusable-pipeline/SKILL.md -o ~/.agents/skills/turn-a-model-notebook-into-a-reusable-pipeline/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, claude.com. Fingerprint: 8d69841f6724. What we check

What you'll get

A pipeline with separate steps for data, training and evaluation, plus a check that results match the notebook.

You'll need

  • The notebook, with credentials and customer data removed
  • Your pipeline tool, like Metaflow
  • The notebook's current results to compare against

Before you switch it on

Acts with your OK

If you give this job to an agent that works in your accounts:

Access it needs
Your code repository and a terminal
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: Small changes in data or random seeds can shift results. Compare the numbers before you trust the pipeline.

More details: full instructions, sources and safeguards

Before you begin

Review pipeline code, data access, execution costs and deployment before scheduled operation.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

Authorized notebook manifest or fictional cell descriptions and pipeline requirements.

Expected data splits, preprocessing order, stage contracts and environment constraints.

A private diagram/review format; no notebook execution, data retrieval, training or scheduled deployment.

Start here

  1. Map supplied notebook-cell descriptions to retrieval, preprocessing, training and evaluation stages.
  2. Identify implicit state, dependency order, data splits and versioned stage inputs/outputs.
  3. Plan equivalence and review checkpoints without retrieving data, running notebooks, training models or deploying.
Advanced prompt availability

Advanced prompt

No accepted companion is available for this record. The original material below retains its original status.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access

Proposed inputs

  1. Name

    Notebook manifest

    Owner

    Authorized data owner

    Minimum scope

    Relevant cells, dependencies and artifact descriptions

    Quality check

    Exclude credentials and identify hidden state

  2. Name

    Pipeline requirements

    Owner

    ML owner

    Minimum scope

    Stage boundaries, data versions and evaluation criteria

    Quality check

    Separate reproducibility goals from production claims

Access and setup — proposed or unknown

Proposed minimum
  1. Use fictional cell descriptions and a pipeline diagram; no notebook execution, data retrieval, training or deployment.

Compatibility unknowns
  1. Current framework versions, data access, orchestration support and runtime compatibility are unknown.

External actions requiring approval
  1. Repository changes, data access, compute spending, persistent integrations and model deployment requires authorization.

Source evidence, attribution & limitations

Full source evidence

Vendor report · Coding tasks

Original task title: Turn a modelling notebook into a reusable ML pipeline

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://claude.com/product/claude-code

Attributed to: Anthropic

Vendor report
Original action type
coding_action
What the source reports
Ramp engineer Anton Biryukov describes giving Claude Code an exploratory notebook containing data retrieval, model training and evaluation, then having it convert that work into a Metaflow pipeline.
Source outcome limits
Actions and outcomes are attributed vendor claims, not an independent reproduction or an execution guarantee.
Evidence attribution caveat
Actions and outcomes are attributed vendor claims, not an independent reproduction or an execution guarantee.
Source approval description
Not specified.
Named tools
Claude Code; notebook; Metaflow
Model or version
Unknown
Publication date
Unknown
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Proposed: validate data residency, reproducibility and model evaluation on approved Canadian datasets.
Recommended approval boundaries
Review pipeline code, data access, execution costs and deployment before scheduled operation.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
A structured ML pipeline derived from the notebook.Suggested; untested.
Tool
Claude CodeSource-named; check current access.
Suggested inputs
Notebook manifest; Pipeline requirementsProposed; access notes below.
Human review
Review pipeline code, data access, execution costs and deployment before scheduled operation.Suggested boundaries; source approvals below.
Setup notes
Use fictional cell descriptions and a pipeline diagram; no notebook execution, data retrieval, training or deployment.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Software engineering · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

Exploratory modelling notebooks are difficult to rerun reliably as shared production work.

Suggested task

Translate notebook data retrieval, training and evaluation steps into a reusable pipeline.

What you could produce

A structured ML pipeline derived from the notebook.

Where these suggestions come from
  • Core problem: Our interpretation of the task
  • Agent job: Our interpretation of the task
  • Expected output: Our interpretation of the task
  • Relevant job roles: Our interpretation of the task
  • Benefit type: Our interpretation of the task
Suggestions and their limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. A data scientist may have an exploratory notebook that works in one session but depends on hidden cell order, local state or undocumented data retrieval. Turning it into a reusable pipeline can preserve those accidents unless the dependencies are made explicit.

  2. This job could prepare a stage-by-stage migration plan with input, training and evaluation boundaries visible. The team can review what must remain equivalent before treating a cleaner structure as a reliable or production-ready modelling workflow.

Why an agent / simpler alternative

Useful judgment

Identify hidden dependencies, separate stages and preserve evaluation intent without silently changing modelling assumptions.

Simpler alternative

Keep a cleaned notebook when the analysis is infrequent and does not need shared orchestration.

Unsuitable when

The task would expose secrets, retrain on unauthorized data or deploy a model without appropriate validation.

Expected deliverable and review checks

Proposed artifact

Pipeline-design candidate with stage contracts, dependencies, versioning and proposed equivalence checks.

Critical checks
  1. Preserve data splits and preprocessing order; expose implicit state; distinguish training artifacts from evaluation evidence.

Missing output evidence

This overlay adds no new output inspection, execution or validation; consult the referenced canonical source outcome limits.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

Invent a notebook outline with out-of-order state and ambiguous preprocessing placement; draft a stage map only.

Acceptance checks
  1. Flag hidden dependencies; preserve evaluation boundaries; train nothing and claim no equivalence.

Stop conditions
  1. Stop if data authority, stage semantics or evaluation requirements are unclear.

Tasks: Build & debugData & analysis

Useful for: Data analystSoftware developer

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Claude CodeIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    A notebook cell relies on an earlier manual variable

    Why it matters

    The pipeline lacks a required input

    Proposed response

    Make the dependency explicit or request the intended value.

  2. Signal

    Refactoring moves preprocessing across the data split

    Why it matters

    Evaluation meaning may change

    Proposed response

    Hold the change for ML review and preserve the original sequence.

Effort and cost — unknown

Setup work
  1. Document notebook assumptions and stage contracts.

Ongoing review
  1. ML reviewers inspect future authorized outputs and equivalence evidence.

Unknowns
  1. Data reproducibility, model validity, compute requirements and migration costs are unknown.

Limits

  1. A pipeline design cannot establish reproducibility, predictive quality or production readiness of an ML model.

Original task overview & interpretation

Vendor report

Turn a modelling notebook into a reusable ML pipeline

Exploratory modelling notebooks are difficult to rerun reliably as shared production work.

Suggested result

A structured ML pipeline derived from the notebook.

What you need: Source-named agent: Claude Code. Suggested inputs: Notebook manifest; Pipeline requirements. Use fictional cell descriptions and a pipeline diagram; no notebook execution, data retrieval, training or deployment. Workflow costs and current compatibility remain unverified.

Review pipeline code, data access, execution costs and deployment before scheduled operation.

Vendor report. BotCurrent has not independently tested this workflow.