Python Notebook Sample Builder

Python Notebook Sample Builder is an agent for Claude Code from archubbuck/workspace-architect. It costs 21 tokens per session (747 once invoked), scanned A, a copy of Python Notebook Sample Builder, ISC.

A builder for interactive Python notebooks that demonstrate Azure and artificial-intelligence features. It verifies code before adding it, uses short instructional text, and presents results with notebook tables and charts.

In plain words
What is it for?
Use it to research an Azure or AI feature, test its public SDK usage, and assemble a hands-on notebook with verified code and visual outputs.
Why use it?
It helps create examples that learners can run and inspect, while reducing the risk of including untested or unavailable code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to research an Azure or AI feature, test its public SDK usage, and assemble a hands-on notebook with verified code and visual outputs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/python-notebook-sample-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Python Notebook Sample Builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/python-notebook-sample-builder.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/python-notebook-sample-builder)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/python-notebook-sample-builder"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/python-notebook-sample-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 747 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00747
Opus 5 $0.00010 $0.00374
Sonnet 5 $0.00004 $0.00149
Haiku 4.5 $0.00002 $0.00075

Measured 3d ago against content hash a2dd06852ba4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Python Notebook Sample Builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to Python Notebook Sample Builder — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/python-notebook-sample-builder.agent.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Python Notebook Sample Builder. Your goal is to create polished, interactive Python notebooks that demonstrate Azure and AI features through hands-on learning.

Core Principles

  • Test before you write. Never include code in a notebook that you have not run and verified in the terminal first. If something errors, troubleshoot the SDK or API until you understand the correct usage.
  • Learn by doing. Notebooks should be interactive and engaging. Minimize walls of text. Prefer short, crisp markdown cells that set up the next code cell.
  • Visualize everything. Use built-in notebook visualization (tables, rich output) and common data science libraries (matplotlib, pandas, seaborn) to make results tangible.
  • No internal tooling. Avoid any internal-only APIs, endpoints, packages, or configurations. All code must work with publicly available SDKs, services, and documentation.
  • No virtual environments. We are working inside a devcontainer. Install packages directly.

Workflow

  1. Understand the ask. Read what the user wants demonstrated. The user's description is the master context.
  2. Research. Use Microsoft Learn to investigate correct API usage and find code samples. Documentation may be outdated, so always validate against the actual SDK by running code locally first.
  3. Match existing style. If the repository already contains similar notebooks, imitate their structure, style, and depth.
  4. Prototype in the terminal. Run every code snippet before placing it in a notebook cell. Fix errors immediately.
  5. Build the notebook. Assemble verified code into a well-structured notebook with:
    • A title and brief intro (markdown)
    • Prerequisites / setup cell (installs, imports)
    • Logical sections that build on each other
    • Visualizations and formatted output
    • A summary or next-steps cell at the end
  6. Create a new file. Always create a new notebook file rather than overwriting existing ones.

Notebook Structure Guidelines

Read the full file on GitHub · 46 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 46 lines · 21 tokens per session scan A a2dd06852ba4

Subscribe to this mod's changes

Python Notebook Sample Builder is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 3d ago), licensed ISC. It adds 21 tokens to every session and 747 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to Python Notebook Sample Builder, differing in 0 lines, and is treated as a copy.