garden-capture

garden-capture is a skill for Claude Code, Codex from khou/gardenkit. It costs 80 tokens per session (438 once invoked), scanned A, original, MIT.

A skill for saving a thought, decision, lesson, or fact as a raw note in a garden vault inbox. A scheduled gardener later sorts these notes into permanent files.

In plain words
What is it for?
Use it when the user asks to capture, remember, save, or add something to the garden.
Why use it?
It keeps captured information in one place while requiring the user to explicitly approve each saved note.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/khou/gardenkit/garden-capture
Any agent
npx skills add khou/gardenkit --skill garden-capture
Clone the repo
git clone --depth 1 https://github.com/khou/gardenkit

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 garden-capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/khou/gardenkit/garden-capture.svg)](https://agentmods.dev/skills/khou/gardenkit/garden-capture)
Your own site
<a href="https://agentmods.dev/skills/khou/gardenkit/garden-capture"><img src="https://agentmods.dev/badge/skills/khou/gardenkit/garden-capture.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00080 $0.00438
Opus 5 $0.00040 $0.00219
Sonnet 5 $0.00016 $0.00088
Haiku 4.5 $0.00008 $0.00044

Measured 5d ago against content hash 4b5ddc1fd57c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

garden-capture 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 5d 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-capture/SKILL.md · 49 lines

What it actually says

garden-capture

Drops a raw capture into ~/garden/inbox/. The gardener (scheduled) processes inbox files into properly-filed atomic notes.

When to use

Only when the user explicitly invokes capture. Triggers: "capture this", "save that", "for the garden", "remember X", or equivalents.

If you notice something in conversation that seems noteworthy but the user didn't ask to capture, do not write to inbox/. Suggest it inline ("worth capturing?") and let the user decide. The vault is the user's, and they want explicit control over what goes in.

How

  1. Compose a short markdown file with this structure:
---
type: capture
created: <YYYY-MM-DD>
source: <session | manual | conversation>
---

# <one-line summary>

<the content: keep it raw, gardener will refine>

Context: <project | person | topic if known>
  1. Filename: ~/garden/inbox/<YYYY-MM-DD>-<slug>.md. Slug = first 5–7 words of the summary, lowercased, hyphenated.

  2. Write the file. Don't edit anything else in the vault: that's the gardener's job.

  3. Tell the user one line: "Captured to inbox as <filename>."

Multiple captures

If the user dumps several distinct things at once, write each as a separate inbox file. One concept per file.

Don't

  • Don't file directly into notes/, decisions/, etc.: that's gardener territory.
  • Don't add wiki-links speculatively. Gardener handles linking.
  • Don't ask for permission for routine captures. Just write.
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. 5d ago First seen · 49 lines · 0 tokens per session scan A 4b5ddc1fd57c

Subscribe to this mod's changes

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