From logseq
Create and use LogSeq templates with dynamic variables for reusable block structures. Use when the user wants to create templates, use dynamic date or time variables, or set up recurring journal structures in LogSeq.
How this skill is triggered — by the user, by Claude, or both
Slash command
/logseq:logseq-templatesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Templates in LogSeq are reusable block structures that can include dynamic variables. They are defined as blocks with the `template` property and inserted via the `/Template` slash command.
Templates in LogSeq are reusable block structures that can include dynamic variables. They are defined as blocks with the template property and inserted via the /Template slash command.
Add the template property directly:
- My Template Name
template:: my-template
template-including-parent:: false
- First child block
- Second child block
- Nested content
| Property | Values | Description |
|---|---|---|
template | String | Name of the template (used for lookup) |
template-including-parent | true / false | Whether to include the parent block when inserting |
When template-including-parent:: false (recommended for most cases), only the child blocks are inserted. When true or omitted, the parent block and all children are inserted.
/ in any blockThe template content is copied into the current location with dynamic variables resolved.
Dynamic variables use <% variable %> syntax. They resolve to actual values at the moment of insertion.
| Variable | Syntax | Resolves To |
|---|---|---|
| Today | <% today %> | [[2025-01-15]] (today's journal link, format depends on config) |
| Yesterday | <% yesterday %> | [[2025-01-14]] |
| Tomorrow | <% tomorrow %> | [[2025-01-16]] |
| Current time | <% time %> | 22:44 (HH:MM format) |
| Current page | <% current page %> | [[Current Page Name]] |
LogSeq supports NLP date parsing in template variables:
<% last friday %> Resolves to last Friday's journal link
<% next monday %> Resolves to next Monday's journal link
<% last week %> Resolves to last week's date
<% in two days %> Resolves to the date 2 days from now
- Weekly Planning
template:: weekplan
template-including-parent:: false
- ## Week of <% today %>
- **Goals**
- TODO Goal 1
- TODO Goal 2
- TODO Goal 3
- **Schedule**
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- **Review** (due <% next friday %>)
- What went well?
- What to improve?
- Key learnings
- Meeting Notes Template
template:: meeting
template-including-parent:: false
- ## Meeting: <% current page %> — <% today %> <% time %>
- **Attendees**
-
- **Agenda**
-
- **Discussion**
-
- **Action Items**
- TODO
- **Next Meeting**
-
- Daily Journal
template:: daily
template-including-parent:: false
- ## <% today %>
- **Morning Review**
- How am I feeling?
- Top 3 priorities:
- TODO Priority 1
- TODO Priority 2
- TODO Priority 3
- **Work Log**
-
- **Evening Reflection**
- What did I accomplish?
- What did I learn?
- Grateful for:
- Project Template
template:: project-kickoff
template-including-parent:: false
- tags:: [[project]], [[active]]
status:: planning
start-date:: <% today %>
- ## Objectives
-
- ## Key Results
- TODO KR1
- TODO KR2
- TODO KR3
- ## Timeline
- Start: <% today %>
- Milestone 1:
- Milestone 2:
- Target completion:
- ## Resources
-
- ## Notes
-
- Quick Capture
template:: capture
template-including-parent:: false
- **Captured** <% today %> <% time %>
source::
tags::
-
Use a simple query to list all templates in your graph:
{{query (property template)}}
template-including-parent:: false for most templates — avoids inserting the template definition block itselftemplate-including-parent:: false may not properly set page-level properties when inserted as the first block[[Templates]] page to keep all templates discoverablenpx claudepluginhub jluo41/logseq-skills --plugin logseqSearches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.