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.
npx skills add gpsaggese/helpers --skill notebook.fix_logginggit clone --depth 1 https://github.com/gpsaggese/helpersWrote 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.
[](https://agentmods.dev/skills/gpsaggese/helpers/notebook.fix_logging)<a href="https://agentmods.dev/skills/gpsaggese/helpers/notebook.fix_logging"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/notebook.fix_logging/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gpsaggese/helpers/notebook.fix_logging"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/notebook.fix_logging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00010 | $0.00446 |
| Opus 5.5 | $0.00004 | $0.00178 |
| Sonnet 5.5 | $0.00002 | $0.00089 |
| Haiku 4.5 | $0.00001 | $0.00045 |
Grade A, and why
notebook.fix_logging 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 yesterday.
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.
What it actually says
Goal
-
Implement the instructions in
.claude/skills/notebook.rules.mdunder## Use Standard Template Structure -
Use the structure from
.claude/templates/notebook.template.pyfor notebook initialization -
Use
display -
The local utility
*_utils.pyshould have a function likeimport helpers.hnotebook as hnotebo def init_loggers(notebook_log: logging.Logger) -> None: """ Wire the notebook logger into the utils logger. :param notebook_log: logger owned by the notebook """ hnotebo.init_loggers(notebook_log, utils_log=_LOG)hnotebo.init_loggers()already callsconfig_notebook(), initializeshdbgat INFO level, and redirects the notebook and utils loggers to print- For a third-party logger (e.g.,
causalml), redirect it insideinit_loggers()withhnotebo.set_logger_to_print():hnotebo.set_logger_to_print(logging.getLogger("causalml"))
-
The last setup cell in the notebook calls
utils.init_loggers(_LOG), notlogging.basicConfig()orhdbg.init_logger()
Workflow
Sync Notebook
- At the end, sync the paired
.pyfile with Jupytext following the conventions in# Code Architecture and Responsibility->## Utilities vs. Notebook Responsibilitiesin.claude/skills/notebook.rules.md
Conventions
- Always follow the conventions and guidelines in
.claude/skills/notebook.rules.md
Verification
- Confirm the notebook init cell matches
.claude/templates/notebook.template.py - Confirm
utils.init_loggers()is called and log messages print in the notebook - Confirm the
.ipynband paired.pyfile are in sync via Jupytext
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.
- yesterday First seen · 56 lines · 10 tokens per session scan A a35b4e587d5f
notebook.fix_logging is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 10 tokens to every session and 446 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.
notebook.fix_logging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| notebook.fix_logginggpsaggese/helpers | Skill | 158 | today | Apache-2.0 | A | 10 | Claude Code |
| content-hash-cache-patternaffaan-m/ECC | Skill | 299k | today | MIT | A | 30 | Claude Code, Kiro |
| python-releaseComposioHQ/composio | Skill | 31k | today | MIT | A | 53 | Claude Code, Codex |
| python-cli-ops0xDarkMatter/claude-mods | Skill | 79 | today | MIT | A | 35 | Claude Code |
| python-projectmajiayu000/spellbook | Skill | 290 | 3d ago | MIT | C | 43 | Claude Code, Codex |
| temp-file-python-analysisfabioc-aloha/Alex_Skill_Mall | Skill | 5 | today | MIT | A | 14 | Claude Code, Codex |
| uv-workflowbahayonghang/my-ai-cli-toolkit | Skill | 17 | 9d ago | MIT | A | 57 | Claude Code |