agentleFS
MicrosoftKnown publishermicrosoft/ai-agents-for-beginners/translations/pt-BR/.agents/skills/jupyter-notebook/SKILL.md

jupyter-notebook

Skill76k starsChanged 5 months agoMITView on GitHub

Crie notebooks Jupyter limpos e reprodutíveis para dois modos principais: Prefira os modelos fornecidos e o script auxiliar para estrutura consistente e menos erros no JSON. As skills no escopo do usuário são instaladas em $CODEX_HOME/skills (padrão: ~/.codex/skills). 2. Estruture a partir do modelo. Use o script auxiliar para evitar escrever manualmente o JSON bruto do notebook. 3. Preencha o notebook com etapas pequenas e executáveis. Mantenha cada célula de código focada em um passo. Adicione células markdown curtas que…

  • Installs packages

11 other projects use a version of this, 7 of them edited; 7 of 7 edited versions we compared changed its rules.

How people change it

7 of 7 edited versions changed its rules, and some changes recur.

Of the 7 edited versions we compared: 7 made changes of their own.

Rules people drop

  1. Use o script auxiliar para evitar escrever manualmente o JSON bruto do notebook.dropped by 7 of 7
  2. Use a lista de verificação da passagem final em references/quality-checklist.md.dropped by 7 of 7
  3. Use tmp/jupyter-notebook/ para arquivos intermediários; exclua quando terminar.dropped by 7 of 7
  4. Use nomes de arquivo estáveis e descritivos (por exemplo, ablation-temperature.ipynb).dropped by 7 of 7

Rules people add

  1. A rule we can't quote: its licence doesn't allow itadded by 7 of 7
  2. A rule we can't quote: its licence doesn't allow itadded by 7 of 7
  3. A rule we can't quote: its licence doesn't allow itadded by 7 of 7
  4. A rule we can't quote: its licence doesn't allow itadded by 7 of 7
  5. A rule we can't quote: its licence doesn't allow itadded by 7 of 7
  6. A rule we can't quote: its licence doesn't allow itadded by 7 of 7
  7. A rule we can't quote: its licence doesn't allow itadded by 7 of 7
  8. A rule we can't quote: its licence doesn't allow itadded by 7 of 7

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about microsoft/ai-agents-for-beginners

The biggest 5 of 88 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 88

Talked about on GitHub, Bluesky and Hacker News (88 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 35

30 more on Bluesky

On Hacker News · 3

Used with

Projects with it also use setup-matt-pocock-skills, triage and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AWSSkill

    setup-matt-pocock-skills

    Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

    Also in 3 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 4 projects that use this

  • AWSSkill

    prototype

    Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

    Also in 3 projects that use this

  • MicrosoftSkill

    grill-with-docs

    Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.

    Also in 3 projects that use this

  • VercelSkill

    find-skills

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

    Also in 3 projects that use this

  • +4 more from aws

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use o script auxiliar para evitar escrever manualmente o JSON bruto do notebook.

    line 39
  2. Very specific:

    Use a lista de verificação da passagem final em references/quality-checklist.md.

    line 72
  3. Very specific:

    Use tmp/jupyter-notebook/ para arquivos intermediários.

    line 82
  4. Very specific:

    Use nomes de arquivo estáveis e descritivos (por exemplo, ablation-temperature.ipynb).

    line 84

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Habilidade de Jupyter Notebook

Crie notebooks Jupyter limpos e reprodutíveis para dois modos principais:

  • Experimentos e análise exploratória
  • Tutoriais e guias voltados ao ensino

Prefira os modelos fornecidos e o script auxiliar para estrutura consistente e menos erros no JSON.

Quando usar

  • Crie um novo notebook .ipynb do zero.
  • Converta anotações ou scripts brutos em um notebook estruturado.
  • Refatore um notebook existente para torná-lo mais reprodutível e fácil de ler rapidamente.
  • Crie experimentos ou tutoriais que serão lidos ou executados novamente por outras pessoas.

Árvore de decisão

  • Se a solicitação for exploratória, analítica ou orientada por hipótese, escolha experiment.
  • Se a solicitação for instrucional, passo a passo ou direcionada a um público específico, escolha tutorial.
  • Ao editar um notebook existente, trate-o como uma refatoração: preserve a intenção e melhore a estrutura.

Caminho de habilidade (definir uma vez)

export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export JUPYTER_NOTEBOOK_CLI="$CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py"

As skills no escopo do usuário são instaladas em $CODEX_HOME/skills (padrão: ~/.codex/skills).

Fluxo de trabalho

  1. Defina a intenção. Identifique o tipo de notebook: experiment ou tutorial. Registre o objetivo, o público e o que significa 'concluído'.
  2. Estruture a partir do modelo. Use o script auxiliar para evitar escrever manualmente o JSON bruto do notebook.
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
  1. Preencha o notebook com etapas pequenas e executáveis. Mantenha cada célula de código focada em um passo. Adicione células markdown curtas que expliquem o propósito e o resultado esperado. Evite saídas grandes e ruidosas quando um resumo breve resolve.
  2. Aplique o padrão correto. Para experimentos, siga references/experiment-patterns.md. Para tutoriais, siga references/tutorial-patterns.md.
  3. Edite com segurança ao trabalhar com notebooks existentes. Preserve a estrutura do notebook; evite reordenar células, a menos que isso melhore a narrativa de cima para baixo. Prefira edições direcionadas a reescritas completas. Se for necessário editar o JSON bruto, revise references/notebook-structure.md primeiro.
  4. Valide o resultado. Execute o notebook de cima para baixo quando o ambiente permitir. Se a execução não for possível, informe isso explicitamente e explique como validar localmente. Use a lista de verificação da passagem final em references/quality-checklist.md.

Modelos e script auxiliar

  • Os modelos ficam em assets/experiment-template.ipynb e assets/tutorial-template.ipynb.
  • O script auxiliar carrega um modelo, atualiza a célula de título e grava um notebook.

Caminho do script:

  • $JUPYTER_NOTEBOOK_CLI (instalado por padrão: $CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py)

Convenções de arquivos temporários e de saída

  • Use tmp/jupyter-notebook/ para arquivos intermediários; exclua quando terminar.
  • Grave artefatos finais em output/jupyter-notebook/ ao trabalhar neste repositório.
  • Use nomes de arquivo estáveis e descritivos (por exemplo, ablation-temperature.ipynb).

Dependências (instale apenas quando necessário)

Prefira uv para gerenciamento de dependências.

Pacotes Python opcionais para execução local de notebooks:

uv pip install jupyterlab ipykernel

O script de scaffold fornecido usa apenas a biblioteca padrão do Python e não requer dependências extras.

Ambiente

Nenhuma variável de ambiente obrigatória.

Mapa de referências

  • references/experiment-patterns.md: estrutura de experimento e heurísticas.
  • references/tutorial-patterns.md: estrutura de tutorial e fluxo de ensino.
  • references/notebook-structure.md: formato do JSON do notebook e regras para edição segura.
  • references/quality-checklist.md: lista de verificação final de validação.

<!-- CO-OP TRANSLATOR DISCLAIMER START -->

Isenção de responsabilidade: Este documento foi traduzido usando o serviço de tradução por IA Co-op Translator. Embora nos esforcemos para alcançar precisão, esteja ciente de que traduções automatizadas podem conter erros ou imprecisões. O documento original em seu idioma nativo deve ser considerado a fonte autoritativa. Para informações críticas, recomenda-se a tradução profissional realizada por tradutores humanos. Não nos responsabilizamos por quaisquer mal-entendidos ou interpretações incorretas decorrentes do uso desta tradução.

<!-- CO-OP TRANSLATOR DISCLAIMER END -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.