This skill generates or updates a note’s description frontmatter by selecting summary or meta mode based on content type to boost discoverability.
npx playbooks add skill nweii/agent-stuff --skill set-note-description
Generate a description property for $ARGUMENTS and write it to the note's YAML frontmatter.
If no note is specified, ask which note to summarize before proceeding.
---
Act as a markdown file analysis assistant. Read the note and generate a description for discoverability. Either follow any specified mode or intelligently select based on content type.
If the user specifies a mode, use it. Otherwise, select based on content type:
These are documents where the _insights or events_ are the value—you likely won't re-read the whole thing, you need the crystallized takeaway or memory anchor.
These are documents you _retrieve by need_—you're searching for something that solves a problem or answers a question, not recalling what you concluded.
Evaluate what the document _fundamentally is_ (rather than looking at individual sentences to infer purpose). If signals conflict, default to the document's primary purpose:
Recalling _what happened_ or _what was discussed_.
Knowing _when to employ_ this tool.
Captures point-in-time realizations and personal insights.
Structural artifact defining the scope or requirements of a topic or project.
Surfaces the _actual conclusions_ without reading the doc.
Defining the collection's scope is more useful here than summarizing each link.
---
Hybrid documents (e.g., daily log containing a reusable process):
Default to the document's _primary purpose_. A daily log with an incidental process note is still a daily log—use summary and mention the process as a notable item. If the process becomes valuable enough, it should be extracted to its own note.
Meeting notes:
Use summary. Focus on decisions, action items, and key discussion points—not "Notes from the Q3 planning meeting. Use when..."
Book/article notes:
Specs, briefs, proposals:
Use meta. These are structural documents—readers need to know what problem space they address, not a summary of their conclusions.
Stubs and placeholders:
Use meta. Describe intended purpose: "Placeholder for API authentication documentation. Use when documenting the auth flow."
Content that defies categorization:
Default to summary. Capturing what's actually there is more useful than a vague meta-description of ambiguous content.
---
In a sentence or two, summarize what the content says or what happened: the crystallized takeaways, plus the concrete names, events, and small details that anchor recall. For exploratory content, capture the main themes.
Keep it plain and light. Lead with the thing itself, not an evaluative or framing opener ("Productive morning…", "A day spent…"). Trim articles and filler at the word level, but keep plain sentences over dense semicolon-stacked fragments. Avoid connective adverbs ("followed by", "then", "however") and narrative arc (causation, resolution); capture the essence, not exhaustive detail.
For periodic notes:
"Timeline padding 20-30% prevents Acme Corp delays; upfront alignment with Sarah's team saves more time than detailed technical planning.""Struggling to delegate Marcus's onboarding—equate doing it myself with caring; reframe delegation as trust-building.""Shopify integration through the morning; afternoon lost to an AWS outage and a family appointment. Kleppmann reading surfaced gaps in distributed systems."---
Describe what this document IS—type, purpose, scope—plus when to reference it. Follow the What + When pattern:
[Document type/topic] [scope or focus]. Use when [explicit trigger conditions].
Be specific about trigger conditions. "Use when relevant" is useless; "Use when debugging authentication failures or onboarding new backend engineers" is searchable.
For periodic notes in meta mode (rare, but possible if requested): focus on domains, projects, or themes as searchable anchors.
"Guide to vault metadata conventions and Base file integration. Use when designing folder structure, troubleshooting queries, or onboarding to the knowledge system.""Template for project retrospectives with prompts for timeline, collaboration, and technical debt. Use when closing out projects or preparing team retros.""Reading list on distributed systems with progress notes. Use when selecting next technical reading or recommending resources to others.""Spec for Shopify inventory sync covering error handling and retry logic. Use when implementing inventory features or debugging sync failures."---
Fit the length to what the note holds: as a soft default, aim for roughly 150–250 characters (a sentence or two), and go well under for a simple or sparse note — never pad to fill space. Treat that as a starting point and adjust to the note and to how the user works with descriptions in their own system. Stay well under 1024 characters; avoid paragraph length.
Add or update the description property in the YAML frontmatter at this position:
description: "your summary here"For periodic notes:
When summarizing a parent note (like a periodic weekly note) that links to component child notes (like daily notes) via properties like related or body links:
description properties in their frontmatterThis creates hierarchical abstraction where each level captures the essence of its component parts.
Note: Some expected child notes (like a specific daily note) may not exist — that simply means one may not have been created for that period.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.