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

jupyter-notebook

Skill76k starsChanged 5 months agoMITView on GitHub

Usado quando o utilizador pede para criar, estruturar ou editar Jupyter

  • Installs packages

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

How people change it

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

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

Rules people drop

  1. Use o script auxiliar para evitar criar manualmente o JSON bruto do notebook.dropped by 8 of 8
  2. Use a checklist de passagem final em references/quality-checklist.md.dropped by 8 of 8
  3. Use tmp/jupyter-notebook/ para ficheiros intermédios; elimine quando terminar.dropped by 8 of 8
  4. Use nomes de ficheiro estáveis e descritivos (por exemplo, ablation-temperature.ipynb).dropped by 8 of 8

Rules people add

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

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 criar manualmente o JSON bruto do notebook.

    line 43
  2. Very specific:

    Use a checklist de passagem final em references/quality-checklist.md.

    line 76
  3. Very specific:

    Use tmp/jupyter-notebook/ para ficheiros intermédios.

    line 86
  4. Very specific:

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

    line 88

“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

Competência Jupyter Notebook

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

  • Experimentos e análise exploratória
  • Tutoriais e walkthroughs orientados ao ensino

Prefira os modelos incluídos e o script auxiliar para uma estrutura consistente e menos erros no JSON.

Quando usar

  • Crie um novo .ipynb notebook a partir do zero.
  • Converta notas soltas ou scripts num notebook estruturado.
  • Refatore um notebook existente para que seja mais reprodutível e fácil de ler.
  • Construa experimentos ou tutoriais que serão lidos ou executados por outras pessoas.

Árvore de decisão

  • Se o pedido for exploratório, analítico ou orientado por hipóteses, escolha experiment.
  • Se o pedido for instrucional, passo-a-passo ou dirigido a um público específico, escolha tutorial.
  • Se estiver a editar um notebook existente, trate-o como uma refatoração: preserve a intenção e melhore a estrutura.

Caminho de competências (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 a nível de utilizador instalam-se em $CODEX_HOME/skills (por omissão: ~/.codex/skills).

Workflow

  1. Defina a intenção. Identifique o tipo de notebook: experiment ou tutorial. Registe o objetivo, o público e como se percebe que está "concluído".
  2. Estruture a partir do modelo. Use o script auxiliar para evitar criar 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 pequenos passos executáveis. Mantenha cada célula de código focada num único passo. Adicione pequenas células markdown que expliquem o propósito e o resultado esperado. Evite saídas grandes e ruidosas quando um resumo curto for suficiente.
  2. Aplique o padrão adequado. 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 em vez de reescritas completas. Se tiver de editar o JSON bruto, reveja 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, declare-o explicitamente e indique como validar localmente. Use a checklist de passagem final em references/quality-checklist.md.

Modelos e script auxiliar

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

Script path:

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

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

  • Use tmp/jupyter-notebook/ para ficheiros intermédios; elimine quando terminar.
  • Escreva artefactos finais em output/jupyter-notebook/ quando trabalhar neste repo.
  • Use nomes de ficheiro estáveis e descritivos (por exemplo, ablation-temperature.ipynb).

Dependências (instalar só quando necessário)

Prefira uv para gestão de dependências.

Optional Python packages for local notebook execution:

uv pip install jupyterlab ipykernel

O script de scaffolding incluído usa apenas a biblioteca padrão do Python e não requer dependências extra.

Ambiente

Não há variáveis de ambiente obrigatórias.

Mapa de referência

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

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

Aviso legal: Este documento foi traduzido usando o serviço de tradução por IA Co-op Translator. Embora nos esforcemos por garantir a exatidão, esteja ciente de que traduções automáticas podem conter erros ou imprecisões. O documento original na sua língua nativa deve ser considerado a fonte autoritativa. Para informações críticas, recomenda-se uma tradução profissional realizada por um tradutor humano. Não nos responsabilizamos por quaisquer mal-entendidos ou interpretações incorretas decorrentes da utilização 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.