notebook-gardening

notebook-gardening is a skill for Claude Code, Codex from androoAGI/starnet. It costs 39 tokens per session (814 once invoked), scanned A, original, MIT.

A maintenance process for an agent's saved notebook. It finds duplicate, conflicting, unsupported, or outdated beliefs, corrects them with their source, and identifies entries for the owner to delete.

In plain words
What is it for?
Use it to review notebook entries, merge duplicates, trace claims to past conversations, lower trust in unsupported claims, and mark stale or misplaced information.
Why use it?
Incorrect saved information can be recalled later and repeated as if it were true. This process helps keep long-term agent memory trustworthy without silently deleting entries.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review notebook entries, merge duplicates, trace claims to past conversations, lower trust in unsupported claims, and mark stale or misplaced information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/androoagi/starnet/notebook-gardening
About the project

StarNet is a local-first desktop harness for creating AI agents and arranging them in a pixel-art space station whose layout represents their capabilities, permissions, and workflow. It lets people run real model calls and tools through multiple bounded agents, using their own provider keys or accounts and optionally messaging the station through chat services. The catalogue entries are skills that extend or support work performed by StarNet agents.

androoAGI/starnet · 1,468 stars · on GitHub

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 androoAGI/starnet --skill notebook-gardening
Clone the repo
git clone --depth 1 https://github.com/androoAGI/starnet

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/androoagi/starnet/notebook-gardening"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/notebook-gardening.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 814 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.00039 $0.00814
Opus 5.5 $0.00016 $0.00326
Sonnet 5.5 $0.00008 $0.00163
Haiku 4.5 $0.00004 $0.00081

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

Security

Grade A, and why

notebook-gardening 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 12d 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.

skills-catalog/skills/notebook-gardening/SKILL.md · 39 lines

How it starts

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

The notebook is recalled into future runs automatically. A wrong belief in it is worse than a missing one: it gets repeated with confidence until someone notices. Gardening is a correction pass, not tidying for its own sake.

Know your reach. notebook.write corrects an entry in place (the old text is archived, out of active recall). notebook.feedback raises or sinks an entry's trust. Nothing you hold deletes an entry — forgetting is the Commander's, in the agent's Dossier, MEMORY tab. And your notebook is your own; another agent's notes are out of reach.

Method

  1. Read it all (notebook.read with no query). Note the count. For a large notebook, work one topic at a time with query.
  2. Sort each entry into one bucket: keep, merge, correct, stale, or not memory. Not memory = task progress, completed-work logs, ids, facts that go stale within a week, or a procedure (procedures belong in a skill).
  3. Trace the source of anything doubtful. recall_conversation finds where a belief came from in past dialogue: search with query, then read the moment in context with around. A belief with no traceable source and no confirmation is a candidate for sinking, not keeping.
  4. Merge duplicates into the best-worded entry. Rewrite that one with notebook.write using replaceId and its exact current previousBody, so it carries the whole fact. Rate the redundant copies unhelpful with notebook.feedback so they rank below it, and list them for the Commander to forget.
  5. Correct wrong beliefs in place. notebook.write with replaceId + the exact previousBody. Never add a second, contradicting entry with distinct: true — that leaves the wrong one active. If the tool says the memory changed since you read it, read it again and retry.
  6. Write facts, not orders, with their source. "Commander prefers invoices as PDF (said in chat, 2026-09-12)" — declarative, dated, sourced. Not "Always send PDFs": an imperative is re-read later as a standing order.
  7. Scope it right. Project requirements use scope: stream; only preferences that apply across projects are global. Pin only explicit, approved, reusable requirements.
  8. Sink the stale. A belief that was true once but is not now: correct it if you know the new truth; otherwise rate it unhelpful so it fades from recall, and list it for review.
  9. Reward what held up. An entry you checked and found accurate gets helpful.

Read the full file on GitHub · 39 lines

Files

What ships with it

1 file 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. 12d ago First seen · 39 lines · 39 tokens per session scan A 3f12ded04361

Subscribe to this mod's changes

notebook-gardening is a skill published in the GitHub repository androoAGI/starnet (1,468 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 814 once invoked, about $0.0002 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-10-04.

Related

Other skills, from other repositories

context-engineering

Use when designing, reviewing, or debugging how an agent's context window gets filled, pruned, or shared — choosing what loads at boot versus on demand, sizing an install or an always-loaded file, fixing an agent that drifts, repeats itself, or forgets constraints mid-task, planning compaction or summarization…

mvschwarz/openrig · 142 tokens

claude-compaction-restore

Use when a Claude Code session is about to compact, has just compacted, reached its context limit, resumed after /compact, or must rebuild its working picture of a long-running seat from its own restore map, its JSONL transcript and the files it touched.

mvschwarz/openrig · 60 tokens

retiring-and-inheriting-a-seat

Use when you are a sitting agent near your context threshold (85%) and a PLANNED seat transition is due — retire deliberately and hand your seat to a fresh successor primed from a packet, rather than let compaction degrade you. Covers the handover packet, the append-only lineage ledger (one row per tenure)…

mvschwarz/openrig · 145 tokens

knowledge-base

Skill "knowledge-base" from Pinvou/pinvou-agent, covering ima knowledge base, operations, routing rules, examples and file upload guard.

Pinvou/pinvou-agent · 0 tokens

notes

Skill "notes" from Pinvou/pinvou-agent, covering ima notes, operations, write rules, examples and response handling.

Pinvou/pinvou-agent · 0 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens