garden-recall

garden-recall is a skill for Claude Code from khou/gardenkit. It costs 66 tokens per session (902 once invoked), scanned A, original, MIT.

A search tool for a personal notes vault: a folder of Markdown files under /garden/. It finds relevant notes, reads the best matches, and returns answers with citations to the source files.

In plain words
What is it for?
Use it for questions about previous decisions, ongoing projects, past work, or any information that may already be stored in the vault. It also runs automatically when a session starts.
Why use it?
It avoids opening and searching many notes by hand when you need to recover an earlier decision or check the state of past work.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Good fit Use it for questions about previous decisions, ongoing projects, past work, or any information that may already be stored in the vault. It also runs automatically when a session starts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khou/gardenkit/garden-recall
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 khou/gardenkit --skill garden-recall
Clone the repo
git clone --depth 1 https://github.com/khou/gardenkit

Made for: Claude Code.

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-recall

README.md
[![agentmods](https://agentmods.dev/badge/skills/khou/gardenkit/garden-recall.svg)](https://agentmods.dev/skills/khou/gardenkit/garden-recall)
Your own site
<a href="https://agentmods.dev/skills/khou/gardenkit/garden-recall"><img src="https://agentmods.dev/badge/skills/khou/gardenkit/garden-recall.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 902 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.00066 $0.00902
Opus 5 $0.00033 $0.00451
Sonnet 5 $0.00013 $0.00180
Haiku 4.5 $0.00007 $0.00090

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

Security

Grade A, and why

garden-recall 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-recall/SKILL.md · 80 lines

How it starts

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

garden-recall

Pulls relevant notes from ~/garden/ for a query. Used by the SessionStart hook automatically; can also be invoked explicitly.

How

  1. Identify search terms from the query. Include synonyms and related concepts.

  2. Grep the vault for matches:

    grep -ril "<term>" ~/garden --include="*.md" | head -20
    
  3. Skim summaries first (cheap pass). For each candidate, read just the frontmatter to get title + summary: + updated::

    for f in <candidate-files>; do
      awk '/^---$/{n++; if(n==2) exit} n==1' "$f"
      echo "FILE: $f"
      echo "---"
    done
    

    Notes ship with a one-sentence summary: field for exactly this purpose. Decide which 3–5 are worth opening in full based on summaries alone.

  4. Rank candidates by relevance:

    • Summary directly answers the query > summary tangentially related
    • Exact match in title (frontmatter or H1) > body match
    • Recent updated: > older
    • Files in decisions/ and projects/ > generic notes/
  5. Read the top 3–5 files in full. Only the ones the summary pass flagged as worth the tokens.

  6. Follow links one hop when top hits reference unread notes that look on-topic. Use the typed edges in frontmatter to prune:

    • supersedes: [X] → if the query is about current state, skip X (it's been replaced). If the query is historical, X is exactly what to read.
    • depends-on: [X] → follow X only if the query is about prerequisites or root cause.
    • contradicts: [X] → always show both sides; surface the tension to the user.
    • derived-from: [X] → follow X only if the user wants source material or provenance.
    • part-of: [X] → X is the parent; read it for broader context. Sibling splits (other notes with the same part-of) may be relevant too.
    • Plain [[wiki-links]] in the body → skim summary first, then decide.

    For reverse-direction lookups ("what supersedes this?" / "what depends on this?"), grep:

    grep -rl "^supersedes:.*<note-name>" ~/garden --include="*.md"
    

Read the full file on GitHub · 80 lines

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 · 80 lines · 66 tokens per session scan A 82f453311898

Subscribe to this mod's changes

garden-recall is a skill published in the GitHub repository khou/gardenkit (4 stars, last pushed 3mo ago), licensed MIT. It adds 66 tokens to every session and 902 once invoked, about $0.0003 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.