Jupyter 笔记本创建与编辑
jupyter-notebook
当用户要求为实验、调查或教程创建、搭建脚手架或修改 Jupyter 笔记本(`.ipynb`)时使用;优先使用捆绑的模板,并运行辅助脚本 `new_notebook.py` 来创建一个干净的起始笔记本。
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 8.0w
- Forks
- 2.6w
01 前言 Front Matter
- name
- jupyter-notebook
- description
- ഉപയോക്താവ് പരീക്ഷണങ്ങൾ, അന്വേഷണങ്ങൾ, അല്ലെങ്കിൽ ട്യൂട്ടോറിയലുകൾക്കുള്ള Jupyter നോട്ട്ബുക്കുകൾ (`.ipynb`) സൃഷ്ടിക്കാൻ, സ്കാഫോൾഡ് ചെയ്യാൻ, അല്ലെങ്കിൽ തിരുത്താൻ ആവശ്യപ്പെടുമ്പോൾ ഉപയോഗിക്കുക; ബണ്ടിൽ ചെയ്ത ടെംപ്ലേറ്റുകൾ പ്രാഥമ്യം നൽകുക, കൂടാതെ ശുദ്ധമായ ആരംഭ നോട്ട്ബുക്ക് സൃഷ്ടിക്കാൻ സഹായി സ്ക്രിപ്റ്റ് `new_notebook.py` ഓടിക്കുക.
02 资源文件 10
- 参考文档agents/proposer-lite.md4.4 KB
- 参考文档agents/synthesizer-lite.md8.0 KB
- 资产文件assets/experiment-template.ipynb4.7 KB
- 资产文件assets/tutorial-template.ipynb4.7 KB
- 参考文档references/experiment-patterns.md3.8 KB
- 参考文档references/notebook-structure.md3.2 KB
- 参考文档references/proposal-format-lite.md4.8 KB
- 参考文档references/quality-checklist.md3.8 KB
- 参考文档references/tutorial-patterns.md3.6 KB
- 参考文档references/workflow.md14.9 KB
03 SKILL.md 正文
Jupyter Notebook കഴിവ്
രണ്ട് പ്രധാന രീതികൾക്കായി ശുദ്ധവും പുനരുത്പാദനയോഗ്യവുമായ Jupyter നോട്ട്ബുക്കുകൾ സൃഷ്ടിക്കുക:
- പരീക്ഷണങ്ങളും പര്യവേക്ഷണ വിശകലനവും
- ട്യൂട്ടോറിയലുകളും അധ്യയനമാധ്യമമായ വഴി-നടപടികളും
സ്ഥിരമായ ഘടനക്കും JSON പിശകുകൾ കുറയ്ക്കുന്നതിനും ബണ്ടിൽ ചെയ്ത ടെംപ്ലേറ്റുകളും സഹായകരമായ സ്ക്രിപ്റ്റും മുൻഗണന നൽകുക.
ഉപയോഗിക്കേണ്ടപ്പോൾ
- നിലംതുറന്നുതന്നെ ഒരു പുതിയ
.ipynbനോട്ട്ബുക്ക് സൃഷ്ടിക്കുക. - സൂക്ഷ്മമല്ലാത്ത കുറിപ്പുകൾ അല്ലെങ്കിൽ സ്ക്രിപ്റ്റുകൾ ഘടനയുള്ള നോട്ട്ബുക്കായി പരിവർത്തനം ചെയ്യുക.
- നിലവിലുള്ള നോട്ട്ബുക്ക് പുനർരൂപപ്പെടുത്തുകയും അത് കൂടുതൽ പുനരുത്പാദനയോഗ്യവും സരളമായി പരിശോധിക്കാവുന്നതുമായതും ചെയ്യുക.
- മറ്റുള്ളവർ വായിക്കുകയോ വീണ്ടും പ്രവർത്തിപ്പിക്കുകയോ ചെയ്യാൻ ഉദ്ദേശിച്ച പരീക്ഷണങ്ങൾ അല്ലെങ്കിൽ ട്യൂട്ടോറിയലുകൾ നിർമിക്കുക.
തീരുമാനം വൃക്ഷം
- അഭ്യർത്ഥന പര്യവേക്ഷണാത്മകമോ വിശകലനപരമോ ഹൈപ്പോത്തസിസ്-ചാലിതമോ ആയാൽ,
experimentതിരഞ്ഞെടുക്കുക. - അഭ്യർത്ഥന നിർദ്ദേശപരമോ ഘട്ടം-വഴികാട്ടിയോ അല്ലെങ്കിൽ പ്രത്യേക പ്രേക്ഷകരെ ലക്ഷ്യമാക്കിയതായെങ്കിൽ,
tutorialതിരഞ്ഞെടുക്കുക. - നിലവിലുള്ള നോട്ട്ബുക്ക് എഡിറ്റ് ചെയ്യുകയാണെങ്കിൽ, അത് റിഫാക്ടർ ആയി കാണുക: ഉദ്ദേശം നിലനിർത്തുകയും ഘടന മെച്ചപ്പെടുത്തുകയും ചെയ്യുക.
സ്കിൽ പാത്ത് (ഒരു പ്രാവശ്യം ക്രമീകരിക്കുക)
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export JUPYTER_NOTEBOOK_CLI="$CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py"
User-scoped skills install under $CODEX_HOME/skills (default: ~/.codex/skills).
Workflow
-
Lock the intent. Identify the notebook kind:
experimentortutorial. Capture the objective, audience, and what "done" looks like. -
Scaffold from the template. Use the helper script to avoid hand-authoring raw notebook JSON.
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
--kind experiment \
--title "Compare prompt variants" \
--out output/jupyter-notebook/compare-prompt-variants.ipynb
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
--kind tutorial \
--title "Intro to embeddings" \
--out output/jupyter-notebook/intro-to-embeddings.ipynb
-
Fill the notebook with small, runnable steps. Keep each code cell focused on one step. Add short markdown cells that explain the purpose and expected result. Avoid large, noisy outputs when a short summary works.
-
Apply the right pattern. For experiments, follow
references/experiment-patterns.md. For tutorials, followreferences/tutorial-patterns.md. -
Edit safely when working with existing notebooks. Preserve the notebook structure; avoid reordering cells unless it improves the top-to-bottom story. Prefer targeted edits over full rewrites. If you must edit raw JSON, review
references/notebook-structure.mdfirst. -
Validate the result. Run the notebook top-to-bottom when the environment allows. If execution is not possible, say so explicitly and call out how to validate locally. Use the final pass checklist in
references/quality-checklist.md.
Templates and helper script
- Templates live in
assets/experiment-template.ipynbandassets/tutorial-template.ipynb. - The helper script loads a template, updates the title cell, and writes a notebook.
Script path:
$JUPYTER_NOTEBOOK_CLI(ഇൻസ്റ്റാൾ ചെയ്ത ഡീഫോൾട്ട്:$CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py)
Temp and output conventions
- Use
tmp/jupyter-notebook/for intermediate files; delete when done. - Write final artifacts under
output/jupyter-notebook/when working in this repo. - Use stable, descriptive filenames (for example,
ablation-temperature.ipynb).
Dependencies (install only when needed)
Prefer uv for dependency management.
Optional Python packages for local notebook execution:
uv pip install jupyterlab ipykernel
The bundled scaffold script uses only the Python standard library and does not require extra dependencies.
Environment
No required environment variables.
Reference map
references/experiment-patterns.md: പരീക്ഷണ ഘടനയും നയങ്ങളും.references/tutorial-patterns.md: ട്യൂട്ടോറിയൽ ഘടനയും പഠന പ്രവാഹവും.references/notebook-structure.md: നോട്ട്ബുക്ക് JSON ശൈലിയും സുരക്ഷിത എഡിറ്റിംഗ് നിയമങ്ങളും.references/quality-checklist.md: അവസാന പരിശോധനം നടത്താനുളള ചെക്ലിസ്റ്റ്.
<!-- CO-OP TRANSLATOR DISCLAIMER START --> ഉത്തരവാദിത്വ മോചനം: ഈ പ്രമാണം AI പരിഭാഷാ സേവനമായ Co-op Translator ഉപയോഗിച്ച് പരിഭാഷപ്പെടുത്തിയതാണ്. നാം കൃത്യതയിലേക്ക് ശ്രമിച്ചിരിക്കുകയും ചെയ്തതായിരുന്നാലും, യന്ത്രപരിഭാഷകളിൽ പിശകുകൾക്കും അസത്യതകൾക്കും വഴിവെക്കാനുള്ള സാധ്യതയുണ്ടെന്ന് ദയവായി ശ്രദ്ധിക്കുക. അടിസ്ഥാന ഭാഷയിലുള്ള മൂല പ്രമാണം പ്രാമാണികമായ ഉറവിടമായാണ് കണക്കാക്കേണ്ടത്. നിർണായകമായ വിവരങ്ങൾക്ക് പ്രൊഫഷണൽ മാനവ പരിഭാഷおすすめ (സുചിപ്പിക്കുന്നു). ഈ പരിഭാഷ ഉപയോഗിച്ചതിൽ നിന്നുണ്ടാകുന്ന ഏതെങ്കിലും തെറ്റിദ്ധാരണകളോ തെറ്റായ വ്യാഖ്യാനങ്ങളോ സംബന്ധിച്ചുള്ള ഉത്തരവാദിത്തം ഞങ്ങളിലില്ല. <!-- CO-OP TRANSLATOR DISCLAIMER END -->
04 同仓库更多 Skills
测试课程示例
testing-course-samples
暂无简介
Microsoft 文档查询
microsoft-docs
暂无简介
本地 AI 智能体
local-ai-agents
暂无简介
Jupyter 笔记本创建与编辑
jupyter-notebook
当用户要求创建、搭建或编辑 Jupyter 笔记本(`.ipynb`)用于实验、探索或教学时使用;优先使用随附模板并执行辅助脚本 `new_notebook.py` 来生成一个干净的起始笔记本。
可扩展智能体部署
deploying-scalable-agents
暂无简介
Azure OpenAI 迁移至 Responses API
azure-openai-to-responses
暂无简介