[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6M25FGR43191ADZ6D91JQ":3,"skill-same:01M7F6M25FGR43191ADZ6D91JQ":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M7F6M25FGR43191ADZ6D91JQ","jupyter-live-kernel",null,"Iterative Python via live Jupyter kernel (hamelnb).","chaorenex1\u002Fhermes-home-content","chaorenex1","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F23194925?v=4","01M7F5NA1D1D02R2MEMYQN2NZT","chan chan","01M7F5NA20KTHMTY2015CYM1TZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fdata-science\u002Fjupyter-live-kernel\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\r\nname: jupyter-live-kernel\r\ndescription: \"Iterative Python via live Jupyter kernel (hamelnb).\"\r\nversion: 1.0.0\r\nauthor: Hermes Agent\r\nlicense: MIT\r\nplatforms: [linux, macos, windows]\r\nmetadata:\r\n  hermes:\r\n    tags: [jupyter, notebook, repl, data-science, exploration, iterative]\r\n    category: data-science\r\n---\r\n\r\n# Jupyter Live Kernel (hamelnb)\r\n\r\nGives you a **stateful Python REPL** via a live Jupyter kernel. Variables persist\r\nacross executions. Use this instead of `execute_code` when you need to build up\r\nstate incrementally, explore APIs, inspect DataFrames, or iterate on complex code.\r\n\r\n## When to Use This vs Other Tools\r\n\r\n| Tool | Use When |\r\n|------|----------|\r\n| **This skill** | Iterative exploration, state across steps, data science, ML, \"let me try this and check\" |\r\n| `execute_code` | One-shot scripts needing hermes tool access (web_search, file ops). Stateless. |\r\n| `terminal` | Shell commands, builds, installs, git, process management |\r\n\r\n**Rule of thumb:** If you'd want a Jupyter notebook for the task, use this skill.\r\n\r\n## Prerequisites\r\n\r\n1. **uv** must be installed (check: `which uv`)\r\n2. **JupyterLab** must be installed: `uv tool install jupyterlab`\r\n3. A Jupyter server must be running (see Setup below)\r\n\r\n## Setup\r\n\r\nThe hamelnb script location:\r\n```\r\nSCRIPT=\"$HOME\u002F.agent-skills\u002Fhamelnb\u002Fskills\u002Fjupyter-live-kernel\u002Fscripts\u002Fjupyter_live_kernel.py\"\r\n```\r\n\r\nIf not cloned yet:\r\n```\r\ngit clone https:\u002F\u002Fgithub.com\u002Fhamelsmu\u002Fhamelnb.git ~\u002F.agent-skills\u002Fhamelnb\r\n```\r\n\r\n### Starting JupyterLab\r\n\r\nCheck if a server is already running:\r\n```\r\nuv run \"$SCRIPT\" servers\r\n```\r\n\r\nIf no servers found, start one:\r\n```\r\njupyter-lab --no-browser --port=8888 --notebook-dir=$HOME\u002Fnotebooks \\\r\n  --IdentityProvider.token='' --ServerApp.password='' > \u002Ftmp\u002Fjupyter.log 2>&1 &\r\nsleep 3\r\n```\r\n\r\nNote: Token\u002Fpassword disabled for local agent access. The server runs headless.\r\n\r\n### Creating a Notebook for REPL Use\r\n\r\nIf you just need a REPL (no existing notebook), create a minimal notebook file:\r\n```\r\nmkdir -p ~\u002Fnotebooks\r\n```\r\nWrite a minimal .ipynb JSON file with one empty code cell, then start a kernel\r\nsession via the Jupyter REST API:\r\n```\r\ncurl -s -X POST http:\u002F\u002F127.0.0.1:8888\u002Fapi\u002Fsessions \\\r\n  -H \"Content-Type: application\u002Fjson\" \\\r\n  -d '{\"path\":\"scratch.ipynb\",\"type\":\"notebook\",\"name\":\"scratch.ipynb\",\"kernel\":{\"name\":\"python3\"}}'\r\n```\r\n\r\n## Core Workflow\r\n\r\nAll commands return structured JSON. Always use `--compact` to save tokens.\r\n\r\n### 1. Discover servers and notebooks\r\n\r\n```\r\nuv run \"$SCRIPT\" servers --compact\r\nuv run \"$SCRIPT\" notebooks --compact\r\n```\r\n\r\n### 2. Execute code (primary operation)\r\n\r\n```\r\nuv run \"$SCRIPT\" execute --path \u003Cnotebook.ipynb> --code '\u003Cpython code>' --compact\r\n```\r\n\r\nState persists across execute calls. Variables, imports, objects all survive.\r\n\r\nMulti-line code works with $'...' quoting:\r\n```\r\nuv run \"$SCRIPT\" execute --path scratch.ipynb --code $'import os\\nfiles = os.listdir(\".\")\\nprint(f\"Found {len(files)} files\")' --compact\r\n```\r\n\r\n### 3. Inspect live variables\r\n\r\n```\r\nuv run \"$SCRIPT\" variables --path \u003Cnotebook.ipynb> list --compact\r\nuv run \"$SCRIPT\" variables --path \u003Cnotebook.ipynb> preview --name \u003Cvarname> --compact\r\n```\r\n\r\n### 4. Edit notebook cells\r\n\r\n```\r\n# View current cells\r\nuv run \"$SCRIPT\" contents --path \u003Cnotebook.ipynb> --compact\r\n\r\n# Insert a new cell\r\nuv run \"$SCRIPT\" edit --path \u003Cnotebook.ipynb> insert \\\r\n  --at-index \u003CN> --cell-type code --source '\u003Ccode>' --compact\r\n\r\n# Replace cell source (use cell-id from contents output)\r\nuv run \"$SCRIPT\" edit --path \u003Cnotebook.ipynb> replace-source \\\r\n  --cell-id \u003Cid> --source '\u003Cnew code>' --compact\r\n\r\n# Delete a cell\r\nuv run \"$SCRIPT\" edit --path \u003Cnotebook.ipynb> delete --cell-id \u003Cid> --compact\r\n```\r\n\r\n### 5. Verification (restart + run all)\r\n\r\nOnly use when the user asks for a clean verification or you need to confirm\r\nthe notebook runs top-to-bottom:\r\n\r\n```\r\nuv run \"$SCRIPT\" restart-run-all --path \u003Cnotebook.ipynb> --save-outputs --compact\r\n```\r\n\r\n## Practical Tips from Experience\r\n\r\n1. **First execution after server start may timeout** — the kernel needs a moment\r\n   to initialize. If you get a timeout, just retry.\r\n\r\n2. **The kernel Python is JupyterLab's Python** — packages must be installed in\r\n   that environment. If you need additional packages, install them into the\r\n   JupyterLab tool environment first.\r\n\r\n3. **--compact flag saves significant tokens** — always use it. JSON output can\r\n   be very verbose without it.\r\n\r\n4. **For pure REPL use**, create a scratch.ipynb and don't bother with cell editing.\r\n   Just use `execute` repeatedly.\r\n\r\n5. **Argument order matters** — subcommand flags like `--path` go BEFORE the\r\n   sub-subcommand. E.g.: `variables --path nb.ipynb list` not `variables list --path nb.ipynb`.\r\n\r\n6. **If a session doesn't exist yet**, you need to start one via the REST API\r\n   (see Setup section). The tool can't execute without a live kernel session.\r\n\r\n7. **Errors are returned as JSON** with traceback — read the `ename` and `evalue`\r\n   fields to understand what went wrong.\r\n\r\n8. **Occasional websocket timeouts** — some operations may timeout on first try,\r\n   especially after a kernel restart. Retry once before escalating.\r\n\r\n## Timeout Defaults\r\n\r\nThe script has a 30-second default timeout per execution. For long-running\r\noperations, pass `--timeout 120`. Use generous timeouts (60+) for initial\r\nsetup or heavy computation.\r\n","# Jupyter Live Kernel (hamelnb)\r\n\r\nGives you a **stateful Python REPL** via a live Jupyter kernel. Variables persist\r\nacross executions. Use this instead of `execute_code` when you need to build up\r\nstate incrementally, explore APIs, inspect DataFrames, or iterate on complex code.\r\n\r\n## When to Use This vs Other Tools\r\n\r\n| Tool | Use When |\r\n|------|----------|\r\n| **This skill** | Iterative exploration, state across steps, data science, ML, \"let me try this and check\" |\r\n| `execute_code` | One-shot scripts needing hermes tool access (web_search, file ops). Stateless. |\r\n| `terminal` | Shell commands, builds, installs, git, process management |\r\n\r\n**Rule of thumb:** If you'd want a Jupyter notebook for the task, use this skill.\r\n\r\n## Prerequisites\r\n\r\n1. **uv** must be installed (check: `which uv`)\r\n2. **JupyterLab** must be installed: `uv tool install jupyterlab`\r\n3. A Jupyter server must be running (see Setup below)\r\n\r\n## Setup\r\n\r\nThe hamelnb script location:\r\n```\r\nSCRIPT=\"$HOME\u002F.agent-skills\u002Fhamelnb\u002Fskills\u002Fjupyter-live-kernel\u002Fscripts\u002Fjupyter_live_kernel.py\"\r\n```\r\n\r\nIf not cloned yet:\r\n```\r\ngit clone https:\u002F\u002Fgithub.com\u002Fhamelsmu\u002Fhamelnb.git ~\u002F.agent-skills\u002Fhamelnb\r\n```\r\n\r\n### Starting JupyterLab\r\n\r\nCheck if a server is already running:\r\n```\r\nuv run \"$SCRIPT\" servers\r\n```\r\n\r\nIf no servers found, start one:\r\n```\r\njupyter-lab --no-browser --port=8888 --notebook-dir=$HOME\u002Fnotebooks \\\r\n  --IdentityProvider.token='' --ServerApp.password='' > \u002Ftmp\u002Fjupyter.log 2>&1 &\r\nsleep 3\r\n```\r\n\r\nNote: Token\u002Fpassword disabled for local agent access. The server runs headless.\r\n\r\n### Creating a Notebook for REPL Use\r\n\r\nIf you just need a REPL (no existing notebook), create a minimal notebook file:\r\n```\r\nmkdir -p ~\u002Fnotebooks\r\n```\r\nWrite a minimal .ipynb JSON file with one empty code cell, then start a kernel\r\nsession via the Jupyter REST API:\r\n```\r\ncurl -s -X POST http:\u002F\u002F127.0.0.1:8888\u002Fapi\u002Fsessions \\\r\n  -H \"Content-Type: application\u002Fjson\" \\\r\n  -d '{\"path\":\"scratch.ipynb\",\"type\":\"notebook\",\"name\":\"scratch.ipynb\",\"kernel\":{\"name\":\"python3\"}}'\r\n```\r\n\r\n## Core Workflow\r\n\r\nAll commands return structured JSON. Always use `--compact` to save tokens.\r\n\r\n### 1. Discover servers and notebooks\r\n\r\n```\r\nuv run \"$SCRIPT\" servers --compact\r\nuv run \"$SCRIPT\" notebooks --compact\r\n```\r\n\r\n### 2. Execute code (primary operation)\r\n\r\n```\r\nuv run \"$SCRIPT\" execute --path \u003Cnotebook.ipynb> --code '\u003Cpython code>' --compact\r\n```\r\n\r\nState persists across execute calls. Variables, imports, objects all survive.\r\n\r\nMulti-line code works with $'...' quoting:\r\n```\r\nuv run \"$SCRIPT\" execute --path scratch.ipynb --code $'import os\\nfiles = os.listdir(\".\")\\nprint(f\"Found {len(files)} files\")' --compact\r\n```\r\n\r\n### 3. Inspect live variables\r\n\r\n```\r\nuv run \"$SCRIPT\" variables --path \u003Cnotebook.ipynb> list --compact\r\nuv run \"$SCRIPT\" variables --path \u003Cnotebook.ipynb> preview --name \u003Cvarname> --compact\r\n```\r\n\r\n### 4. Edit notebook cells\r\n\r\n```\r\n# View current cells\r\nuv run \"$SCRIPT\" contents --path \u003Cnotebook.ipynb> --compact\r\n\r\n# Insert a new cell\r\nuv run \"$SCRIPT\" edit --path \u003Cnotebook.ipynb> insert \\\r\n  --at-index \u003CN> --cell-type code --source '\u003Ccode>' --compact\r\n\r\n# Replace cell source (use cell-id from contents output)\r\nuv run \"$SCRIPT\" edit --path \u003Cnotebook.ipynb> replace-source \\\r\n  --cell-id \u003Cid> --source '\u003Cnew code>' --compact\r\n\r\n# Delete a cell\r\nuv run \"$SCRIPT\" edit --path \u003Cnotebook.ipynb> delete --cell-id \u003Cid> --compact\r\n```\r\n\r\n### 5. Verification (restart + run all)\r\n\r\nOnly use when the user asks for a clean verification or you need to confirm\r\nthe notebook runs top-to-bottom:\r\n\r\n```\r\nuv run \"$SCRIPT\" restart-run-all --path \u003Cnotebook.ipynb> --save-outputs --compact\r\n```\r\n\r\n## Practical Tips from Experience\r\n\r\n1. **First execution after server start may timeout** — the kernel needs a moment\r\n   to initialize. If you get a timeout, just retry.\r\n\r\n2. **The kernel Python is JupyterLab's Python** — packages must be installed in\r\n   that environment. If you need additional packages, install them into the\r\n   JupyterLab tool environment first.\r\n\r\n3. **--compact flag saves significant tokens** — always use it. JSON output can\r\n   be very verbose without it.\r\n\r\n4. **For pure REPL use**, create a scratch.ipynb and don't bother with cell editing.\r\n   Just use `execute` repeatedly.\r\n\r\n5. **Argument order matters** — subcommand flags like `--path` go BEFORE the\r\n   sub-subcommand. E.g.: `variables --path nb.ipynb list` not `variables list --path nb.ipynb`.\r\n\r\n6. **If a session doesn't exist yet**, you need to start one via the REST API\r\n   (see Setup section). The tool can't execute without a live kernel session.\r\n\r\n7. **Errors are returned as JSON** with traceback — read the `ename` and `evalue`\r\n   fields to understand what went wrong.\r\n\r\n8. **Occasional websocket timeouts** — some operations may timeout on first try,\r\n   especially after a kernel restart. Retry once before escalating.\r\n\r\n## Timeout Defaults\r\n\r\nThe script has a 30-second default timeout per execution. For long-running\r\noperations, pass `--timeout 120`. Use generous timeouts (60+) for initial\r\nsetup or heavy computation.\r\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":35,"description":7},"Hermes Agent","1.0.0",{"hermes":27},{"tags":28,"category":32},[29,30,31,32,33,34],"jupyter","notebook","repl","data-science","exploration","iterative",[36,37,38],"linux","macos","windows","main","a3f3199bb87ec3c91248f68a39d88527e1847ae9","skills\u002Fdata-science\u002Fjupyter-live-kernel","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content","https:\u002F\u002Fgithub.com\u002Fchaorenex1","https:\u002F\u002Fblog.aduib.com","A programmer whose only hobby in life is coding","2026-10-20 00:34:32",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add chaorenex1\u002Fhermes-home-content --skill jupyter-live-kernel",{"tool":53,"command":54},"bunx","bunx skills add chaorenex1\u002Fhermes-home-content --skill jupyter-live-kernel",{"tool":56,"command":57},"pnpm","pnpm dlx skills add chaorenex1\u002Fhermes-home-content --skill jupyter-live-kernel","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fdata-science\u002Fjupyter-live-kernel\u002FSKILL.md",true,[],[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7F8GF32YD5MBQW2TGSRH1YP","web-retrieval-resilience","Web tools fail or search rules break: repair or fall back.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fweb-retrieval-resilience\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7F8FP46QESQMCZ1KBT3TW3R","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7F8ER6VXHBNVRQBZS7X08SE","verification-loop","Run a six-phase verification of a Claude Code session's work — build, type check, lint, tests with coverage, security grep, and diff review — then produce a PASS\u002FFAIL verification report. Use when verifying work after completing a feature or refactor, before creating a PR, or when quality gates must pass.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7F8E4BQJ38KVQVM3MT20PYV","unreal-world-builder","开放世界与环境专家——精通 UE5 World Partition、Landscape、程序化植被、HLOD 和大规模关卡流式加载，打造无缝开放世界体验","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-world-builder\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7F8D747SQW2FTP7GBSX38BR","unreal-technical-artist","Unreal Engine 视觉管线专家——精通材质编辑器、Niagara 特效、程序化内容生成和 UE5 项目的美术到引擎管线","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-technical-artist\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7F8CKHYJVZVBTN0321J88T2","unreal-systems-engineer","性能与混合架构专家——精通 C++\u002FBlueprint 边界、Nanite 几何体、Lumen GI 和 Gameplay Ability System，面向 AAA 级 Unreal Engine 项目","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-systems-engineer\u002FSKILL.md",[],[]]