lab-notebook

lab-notebook is a skill for Claude Code from davistroy/claude-marketplace. It costs 104 tokens per session (5,023 once invoked), scanned A, original, MIT.

A structured project log for experiments, system changes, benchmarks, debugging, and decisions. It combines dated experiment notes, architecture decision records, and postmortems, which explain what happened after a failure or incident.

In plain words
What is it for?
Use it to initialize a lab notebook, add experiment entries, check open actions and decisions, and archive older entries while preserving the record.
Why use it?
Important decisions and test results are easy to lose or remember incorrectly. This makes changes traceable and requires the work to be documented as it happens.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the personal-plugin plugin — 29 skills, 23 commands, 10 agents, 2 hooks shipped together

Good fit Use it to initialize a lab notebook, add experiment entries, check open actions and decisions, and archive older entries while preserving the record.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davistroy/claude-marketplace/lab-notebook
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.

Any agent
npx skills add davistroy/claude-marketplace --skill lab-notebook
Clone the repo
git clone --depth 1 https://github.com/davistroy/claude-marketplace

Made for: Claude Code.

Or install personal-plugin, the plugin that ships this one along with the rest of its 29 skills, 23 commands, 10 agents, 2 hooks.

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 lab-notebook

README.md
[![agentmods](https://agentmods.dev/badge/skills/davistroy/claude-marketplace/lab-notebook/github.svg)](https://agentmods.dev/skills/davistroy/claude-marketplace/lab-notebook)
Your own site
<a href="https://agentmods.dev/skills/davistroy/claude-marketplace/lab-notebook"><img src="https://agentmods.dev/badge/skills/davistroy/claude-marketplace/lab-notebook/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.

agentmods 80×15 button for lab-notebook

Your own site · 80×15
<a href="https://agentmods.dev/skills/davistroy/claude-marketplace/lab-notebook"><img src="https://agentmods.dev/badge/skills/davistroy/claude-marketplace/lab-notebook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,023 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 original No closer match found 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.00104 $0.05023
Opus 5 $0.00052 $0.02511
Sonnet 5 $0.00021 $0.01005
Haiku 4.5 $0.00010 $0.00502

Measured 8d ago against content hash 915ca039230c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

lab-notebook 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 8d 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.

plugins/personal-plugin/skills/lab-notebook/SKILL.md · 339 lines

How it starts

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

Lab Notebook

Establish mandatory, structured experiment logging for a project. Once initialized, every system modification, benchmark, configuration change, build attempt, and debugging step MUST be logged in LAB_NOTEBOOK.md — no exceptions.

The notebook combines three proven documentation patterns:

  • Scientific lab notebook — hypothesis-driven entries with environment context and reproducibility
  • Architecture Decision Records — decisions with alternatives considered and lifecycle tracking
  • Incident postmortem — blameless failure analysis, action items, and "what went well"

Input

Arguments: $ARGUMENTS

Supported arguments:

  • init — Full initialization: discover prior work, create LAB_NOTEBOOK.md, inject CLAUDE.md rules
  • entry "title" — Add a new numbered entry to an existing notebook
  • status — Show notebook health: entries, staleness, open action items, active decisions
  • rotate — Archive the oldest experiment entries to docs/archive/ once the log grows large, keeping the living sections and recent entries. Preserves every decision (a move, never a delete).
  • No arguments — Same as init if no notebook exists, same as status if one does

Phase 0: Self-Invocation Confirmation

This skill can be model-invoked, and every mode except status writes to the projectinit creates LAB_NOTEBOOK.md and injects binding rules into CLAUDE.md; entry appends; rotate moves entries into docs/archive/. None of that may happen unasked.

If you are invoking this skill on your own initiative — because the work looks experimental, a benchmark is starting, or the user said something like "I keep losing track of what I tried" — rather than the user typing /lab-notebook, confirm first with AskUserQuestion:

{
  "questions": [
    {
      "question": "Set up a lab notebook for this project?",
      "header": "Notebook",
      "multiSelect": false,
      "options": [
        {
          "label": "Yes, initialize it",
          "description": "Creates LAB_NOTEBOOK.md and adds logging rules to CLAUDE.md that make an entry a precondition for every system-modifying action"
        },
        {
          "label": "No, not now",
          "description": "Nothing is written; you can run /lab-notebook yourself at any time"
        }
      ]
    }
  ]
}

Read the full file on GitHub · 339 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 339 lines · 104 tokens per session scan A 915ca039230c

Subscribe to this mod's changes

lab-notebook is a skill published in the GitHub repository davistroy/claude-marketplace (5 stars, last pushed 5d ago), licensed MIT. It adds 104 tokens to every session and 5,023 once invoked, about $0.0005 per session on Opus 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-09-04.