obsidian-brieflisted
Install: claude install-skill chuckplayer/claude-agent-pack
# Obsidian Brief
Synthesize recent Obsidian notes for the current project into a concise context
brief — what was built, decisions made, and open threads — without requiring a
search query. Designed to be run at the start of a session or before `/implement`.
## Step 1 — Check configuration
Read `OBSIDIAN_VAULT_PATH` from the environment:
- Bash: `bash -c 'echo $OBSIDIAN_VAULT_PATH'`
- PowerShell: `$env:OBSIDIAN_VAULT_PATH`
If empty, stop gracefully:
> "OBSIDIAN_VAULT_PATH is not set — skipping context brief. Configure it via
> `install.sh` or add it to `~/.claude/settings.json` under the `env` key."
Also read:
- `OBSIDIAN_PROJECTS_FOLDER` (empty string if unset)
- `CLAUDE_PROJECT_DIR` (or fall back to current working directory)
## Step 2 — Determine scope and date range
**Project slug:** basename of `CLAUDE_PROJECT_DIR` (or cwd), lowercase,
non-alphanumeric chars replaced with hyphens, max 30 characters.
**Effective folder:**
```
effective_folder = OBSIDIAN_PROJECTS_FOLDER || "Claude/Projects"
project_base = <OBSIDIAN_VAULT_PATH>/<effective_folder>/<project_slug>
```
**Date range:** default 14 days. If the user passed an argument (e.g., `30d`,
`7d`, `60d`), parse the number. Compute `cutoff_date = today − N days` in
`YYYY-MM-DD` format.
## Step 3 — Find recent notes
Use Glob to collect all `.md` files under `<project_base>/`. Then filter to
files modified on or after `cutoff_date`. On macOS/Linux, create a reference
file and use `find -newer`:
```bash
touch -