garden-tending

garden-tending is a skill for Claude Code from linxule/memex-plugin. It costs 131 tokens per session (12,850 once invoked), scanned A, original, MIT.

A knowledge-garden maintenance skill for organizing a vault of project notes, topics, and links.

In plain words
What is it for?
It checks vault health, condenses memos into project.md overviews, creates or merges cross-project topics, fixes broken links, archives outdated notes, and extends topic trails.
Why use it?
It helps prevent notes from becoming outdated, disconnected, or difficult to search. It also turns scattered project memos into clearer project overviews.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd $(memex path 2>/dev/null) && uv run scripts/obsidian_cli.py status.

Part of the memex plugin — 5 skills, 3 commands, 5 hooks shipped together

Good fit It checks vault health, condenses memos into project.md overviews, creates or merges cross-project topics, fixes broken links, archives outdated notes, and extends topic trails.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/linxule/memex-plugin
agentmods
npx agentmods add skills/linxule/memex-plugin/garden-tending

Made for: Claude Code.

Or install memex, the plugin that ships this one along with the rest of its 5 skills, 3 commands, 5 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 garden-tending

README.md
[![agentmods](https://agentmods.dev/badge/skills/linxule/memex-plugin/garden-tending.svg)](https://agentmods.dev/skills/linxule/memex-plugin/garden-tending)
Your own site
<a href="https://agentmods.dev/skills/linxule/memex-plugin/garden-tending"><img src="https://agentmods.dev/badge/skills/linxule/memex-plugin/garden-tending.svg" alt="Measured on agentmods" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,850 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00131 $0.12850
Opus 5 $0.00066 $0.06425
Sonnet 5 $0.00026 $0.02570
Haiku 4.5 $0.00013 $0.01285

Measured 7d ago against content hash 15e898f4cdba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

garden-tending 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 7d 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/garden-tending/SKILL.md · 961 lines

How it starts

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

Knowledge Garden Tending

Current State

Index: !sqlite3 "$(memex path --index 2>/dev/null)" "SELECT (SELECT COUNT(*) FROM fts_content) || ' docs, ' || (SELECT COUNT(*) FROM chunks) || ' chunks indexed'" 2>/dev/null || echo "(index unavailable)"

Projects (undigested / total / last condensed): !for d in $(memex path 2>/dev/null)/projects/*/; do name=$(basename "$d"); total=$(ls "$d/memos/"*.md 2>/dev/null | wc -l | tr -d ' '); digested=$(grep -m1 'memos_digested:' "$d/_project.md" 2>/dev/null | cut -d: -f2 | tr -d ' '); condensed=$(grep -m1 'condensed:' "$d/_project.md" 2>/dev/null | cut -d: -f2 | tr -d ' '); lines=$(wc -l < "$d/_project.md" 2>/dev/null | tr -d ' '); if [ -z "$digested" ] && [ "${lines:-0}" -gt 40 ]; then echo "- $name: MAINTAINED (${total} memos, ${lines}-line overview, no memos_digested — add it)"; else undigested=$((total - ${digested:-0})); [ "$undigested" -lt 0 ] && undigested=0; echo "- $name: ${undigested} undigested (${total} total), condensed: ${condensed:-never}"; fi; done 2>/dev/null || echo "(no projects found)"

Existing topics (use [[?name]] for anything NOT in this list): !ls $(memex path 2>/dev/null)/topics/*.md 2>/dev/null | xargs -I{} basename {} .md | sort | tr '\n' ' ' || echo "(no topics found)"

Path Setup

The memex CLI handles vault path resolution automatically. For Obsidian CLI and dreamer commands not yet wrapped, prefix with cd $(memex path 2>/dev/null) &&.

Core Principle

Memos are ore. Project overviews are metal. Topics are the connective tissue. Trails are the narrative arc. The vault is a living knowledge graph, not an archive. Garden tending is the practice of keeping it alive: distilling memos into overviews, connecting ideas across projects, pruning dead links, growing new topics where patterns emerge, and extending trails where understanding evolves.

Read the full file on GitHub · 961 lines

Files

What ships with it

2 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. 7d ago First seen · 961 lines · 131 tokens per session scan A 15e898f4cdba

Subscribe to this mod's changes

garden-tending is a skill published in the GitHub repository linxule/memex-plugin (7 stars, last pushed 10d ago), licensed MIT. It adds 131 tokens to every session and 12,850 once invoked, about $0.0007 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-08-31.

Related

Other skills, from other repositories

superbrain-distill

Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.

m3talux/superbrain · 36 tokens

superbrain-recall

Search the user's SuperBrain second-brain vault. Use whenever the user references past work, prior decisions, "how did we", "did we already", earlier sessions, a project's history, or anything that may already be recorded — before answering from scratch.

m3talux/superbrain · 56 tokens

memento

Capture durable knowledge from the current work session into Memento Vault. Use when the user asks to remember, save, capture, or record decisions, discoveries, bug fixes, or reusable patterns.

sandsower/memento-vault · 41 tokens

inception

Run or preview Memento Vault consolidation. Use when the user asks to consolidate, find patterns, run inception, preview clusters, or synthesize cross-session themes.

sandsower/memento-vault · 35 tokens

continue-work

Use when the user says "continue", "pick up where I left off", "what was I working on", or similar. Also use when starting a session and memory has pending work.

sandsower/memento-vault · 41 tokens

concierge

Search Memento Vault for day-to-day recall, past decisions, discoveries, implementation history, and prior session context. Use when the user asks "do you remember", "have we seen", "what did we decide", "what did we learn", "where was this implemented", "find prior context", "check memory", "search the vault", or any…

sandsower/memento-vault · 87 tokens