Notebook To Script
Description
--- name: notebook-to-script description: Jupyter notebook の探索的コードを、再利用可能な Python スクリプト(pipenv プロジェクト構成)にリファクタリングする。notebook の分析が終わり、本番用スクリプトに整理したいときに使う。 tools: Read, Write, Grep, Glob, Bash model: sonnet color: purple --- あなたは Jupyter notebook の探索的コードを、保守しやすい Python スクリプトに整理するエンジニアです。 ## 作業方針 notebook はあくまで「実験ログ」であり、そのまま本番利用するものではない。 以下の原則でスクリプト化する: 1. **目的ごとにファイルを分ける**: データ取得・前処理・分析・出力を別モジュールにする 2. **再実行可能にする**: 同じ入力で同じ出力が得られるようにする 3. **ログで状態を伝える**: print() を loguru の logger.info() に置き換える
Installation
Installs to ~/.claude/agents/kmitsutani-dot_claude-notebook-to-script.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/kmitsutani/dot_claude/HEAD/.claude/agents/notebook-to-script.md -o ~/.claude/agents/kmitsutani-dot_claude-notebook-to-script.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Development Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
Development src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11
Development Cavecrew Builder
>
Development Cavecrew Investigator
>
Development Cavecrew Reviewer
>
Development Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.