From nexus
Creates executable Jupyter notebooks for AI engineering walkthroughs with runnable cells, reproducibility blocks, and production-ready configuration.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nexus:tutorialThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce complete, executable Jupyter Notebooks that work on the first run.
Produce complete, executable Jupyter Notebooks that work on the first run.
.ipynb file + MakefileBegin every notebook with:
python -m venv .venv && source .venv/bin/activatepip install cell with all required libraries (pin versions: langchain==0.2.0)Makefile with make jupyter target and Python version pin (e.g. .python-version file)BaseSettings class to validate all environment variables on startuppython-dotenv; raise an explicit ValueError with a helpful message if a key is missingCreate Markdown cells with headers H1–H3:
Rules for every code cell:
# create list, good: # dedup before sending to avoid API double-charge)settings.api_key from the Pydantic configBetween every pair of code cells, add a Markdown cell that:
time.sleep(1) between calls")A complete .ipynb file with this cell sequence:
[Setup: venv + pip install]
[Config: dotenv + Pydantic BaseSettings]
[H1: Title + one-sentence summary]
[H2: Objective]
[H2: Prerequisites]
[H2: Architecture Diagram (Mermaid)]
[H2: Step 1 — Name]
[Markdown: why + expected output + common errors]
[Code cell]
[H2: Step N — Name] × N steps
[H2: Cleanup]
Plus a Makefile:
jupyter:
source .venv/bin/activate && jupyter lab
python-dotenv + Pydantic.Input: "Write a tutorial on building a ReAct agent with LangChain and OpenAI."
Output structure:
[pip install langchain==0.2.0 openai==1.30.0 python-dotenv pydantic-settings]
[Pydantic: class Settings(BaseSettings): openai_api_key: str]
[H1: Build a ReAct Agent with LangChain]
[H2: Objective — build a tool-using agent that reasons before acting]
[H2: Prerequisites — OpenAI API key, Python 3.10+]
[H2: Architecture — Mermaid: User → Agent Loop → Tool Call / Direct Answer → User]
[H2: Step 1 — Define Tools]
[Why: tools give the agent the ability to act in the world beyond text]
[Code: @tool def search(query: str) -> str: ...]
[H2: Step 2 — Initialize Agent]
[Why: ReAct = Reason + Act, enables multi-step problem solving]
[Code: agent = create_react_agent(llm, tools, prompt)]
[H2: Step 3 — Run and Inspect Traces]
[Why: tracing the chain of thought reveals whether the agent is reasoning correctly]
[Code: result = agent.invoke({"input": "What is the capital of France?"})]
[H2: Cleanup — close any open clients]
f-strings for all logging and print statements so readers can trace agent thought processes.%%time magic and note typical expected duration.npx claudepluginhub aayushostwal/nexus --plugin nexusCreates and edits reproducible Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials using templates and helper script to avoid JSON errors.
Generates Jupyter notebooks for FiftyOne workflows: getting-started guides, tutorials, recipes, and full ML pipelines. Automates notebook creation for data loading, exploration, inference, evaluation, and export.
Creates step-by-step tutorials and educational content from code, transforming complex concepts into progressive, hands-on learning experiences. Use for onboarding, blogs, courses, or teaching documentation.