Context Block¶
Collect and render native context sources plus explicitly enabled compatibility sources. Obsidian, Obsidian wellness/tasks, Day Planner, and Datacore sources are skipped before cache or collector access when Obsidian is opted out; filesystem Vault and provider-neutral Calendar remain independent. Supports per-source depth, target-date windows, max-chars budgets, Markdown or JSON, and cache reuse.
Skill name: context_block
Category: context
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
custom |
dict |
No | Per-source ad-hoc params forwarded to each source's collect(). |
depth |
str |
No | brief |
exclude |
list |
No | Source names to drop from the default set. |
format |
str |
No | markdown (default) or json. |
max_age_seconds |
int |
No | Use cached fetch if younger than this. None (default) = always fresh. 0 = use any cached. |
max_chars |
int |
No | Rendering budget. Truncates respecting section boundaries when possible. |
per_source_depth |
dict |
No | {source: depth} overrides for individual sources. |
sources |
list |
No | Source names to include. Default: all registered sources permitted by feature preferences. |
target_date |
str |
No | YYYY-MM-DD. Default: today (no time window shift). |
window_days |
int |
No | Window size around target_date (default 1). |