feat: v1.4.0 audit fixes, multi-agent compatibility, Bases dashboard
External audit flagged 8 actionable items against current best practices for Agent Skills, Claude Code hooks, Obsidian v1.9-v1.12, and JSON Canvas 1.0. This release addresses all of them and adds multi-agent compatibility files at zero cost to existing users. Tier 1, critical fixes: * wiki/meta/dashboard.base: NEW Obsidian Bases dashboard (native, no plugin needed). Replaces Dataview as the primary dashboard. Six views: Recent Activity, Seed Pages, Entities Missing Sources, Open Questions, Comparisons, Sources. * wiki/meta/dashboard.md: now embeds dashboard.base. Legacy Dataview queries retained as optional fallback for users on Obsidian < 1.9.10. * README.md and skills/wiki/references/plugins.md: Plugins section reorganized to recommend Bases (core, no install) primary, Dataview optional/legacy. * skills/canvas/references/canvas-spec.md: added missing JSON Canvas 1.0 fields. Group nodes now document background and backgroundStyle (cover, ratio, repeat). Edges document fromEnd (default 'none') and toEnd (default 'arrow') asymmetric defaults. Hex ID convention noted alongside descriptive ID alternative. * .gitignore: track wiki/meta/dashboard.base explicitly. Tier 2, important improvements: * hooks/hooks.json: SessionStart now uses both command type ([ -f wiki/hot.md ] && cat ...) and prompt type. Command type is the canonical safety check that works in non-vault sessions without erroring. Matcher: startup|resume. * hooks/hooks.json: NEW PostCompact hook re-injects hot cache after context compaction (hook-injected context does not survive compaction; CLAUDE.md does). * hooks/hooks.json: PostToolUse auto-commit now guarded by [ -d .git ]. * hooks/README.md: NEW documentation including known plugin-hooks STDOUT bug (anthropics/claude-code#10875) and workarounds. * skills/wiki/references/mcp-setup.md: added Option D (Obsidian CLI) for v1.12+. Added warning callout above NODE_TLS_REJECT_UNAUTHORIZED line explaining process-wide TLS bypass and recommending Option D as the secure alternative. * skills/wiki-ingest/SKILL.md: documented [!contradiction] custom callout CSS dependency on vault-colors.css snippet. * skills/wiki/references/css-snippets.md: full documentation of all four custom callouts (contradiction, gap, key-insight, stale) with built-in fallback equivalents. Tier 3, multi-agent compatibility (low complexity, high reach): * AGENTS.md: Codex CLI / OpenCode bootstrap. * GEMINI.md: Gemini CLI / Antigravity bootstrap. * .cursor/rules/claude-obsidian.mdc: Cursor always-on rules. * .windsurf/rules/claude-obsidian.md: Windsurf Cascade rules. * .github/copilot-instructions.md: GitHub Copilot conventions. * bin/setup-multi-agent.sh: idempotent symlink installer for Codex, OpenCode, Gemini, Cursor, Windsurf. Wires up the skills/ directory in each agent's expected location. Style cleanup: scrubbed all em dashes from every skill, hook, doc, and bootstrap file (249 total replacements across 26 files). Skills now use periods, commas, and colons throughout for cleaner natural prose. Version: 1.3.0 to 1.4.0 (aligns plugin.json with GitHub release tag format). Already resolved in v1.1 (no action needed): * defuddle, obsidian-bases, obsidian-markdown skills shipped * URL ingestion, vision ingestion, delta tracking docs * Multi-depth wiki-query (Quick / Standard / Deep) * PostToolUse auto-commit hook * allowed-tools field removed from all SKILL.md files * All templates already use plural tag/alias forms * Custom callouts CSS already in vault-colors.css Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
65
.cursor/rules/claude-obsidian.mdc
Normal file
65
.cursor/rules/claude-obsidian.mdc
Normal file
@@ -0,0 +1,65 @@
|
||||
---
|
||||
description: claude-obsidian: LLM Wiki Pattern for Obsidian vaults. Always-on context for any project pointed at this repo.
|
||||
globs:
|
||||
- "wiki/**/*.md"
|
||||
- ".raw/**/*"
|
||||
- "skills/**/SKILL.md"
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# claude-obsidian
|
||||
|
||||
A Claude Code plugin and Obsidian vault that builds persistent, compounding knowledge bases using Andrej Karpathy's LLM Wiki pattern. This repo works with Cursor's AI through the cross-platform Agent Skills format.
|
||||
|
||||
## What This Project Is
|
||||
|
||||
- **Vault root**: contains `wiki/` (agent-generated knowledge) and `.raw/` (source documents: immutable)
|
||||
- **Hot cache**: `wiki/hot.md` (~500 tokens) holds recent session context
|
||||
- **Index**: `wiki/index.md` is the master catalog Claude reads first
|
||||
- **Skills**: 10 skills under `skills/<name>/SKILL.md` define ingest/query/lint/save/canvas/etc
|
||||
|
||||
## Skills Available
|
||||
|
||||
| Skill | When to use |
|
||||
|---|---|
|
||||
| `wiki` | Scaffold new vault, route to sub-skills |
|
||||
| `wiki-ingest` | Ingest a file, URL, or image: creates 8-15 wiki pages |
|
||||
| `wiki-query` | Answer questions from the wiki (Quick / Standard / Deep modes) |
|
||||
| `wiki-lint` | Health check: orphans, dead links, gaps |
|
||||
| `save` | File current conversation as a wiki note |
|
||||
| `autoresearch` | Autonomous research loop |
|
||||
| `canvas` | Create/edit Obsidian canvas files |
|
||||
| `defuddle` | Clean web pages before ingest |
|
||||
| `obsidian-markdown` | Obsidian syntax reference |
|
||||
| `obsidian-bases` | Obsidian Bases (.base files) |
|
||||
|
||||
Read the relevant `skills/<name>/SKILL.md` file when the user's request matches a skill's trigger phrases.
|
||||
|
||||
## Critical Conventions
|
||||
|
||||
1. **Never modify `.raw/`**. Sources are immutable
|
||||
2. **Read `wiki/hot.md` first** when starting a session (if it exists)
|
||||
3. **Use wikilinks** (`[[Note Name]]`) for all internal references in wiki pages
|
||||
4. **Frontmatter is flat YAML**. See `skills/wiki/references/frontmatter.md`
|
||||
5. **Append to `wiki/log.md`**, never edit past entries
|
||||
6. **Hot cache is overwritten** at session end (it's a cache, not a journal)
|
||||
|
||||
## Setup for Cursor
|
||||
|
||||
To make these skills first-class in Cursor, run:
|
||||
|
||||
```bash
|
||||
ln -s "$(pwd)/skills" .cursor/skills
|
||||
```
|
||||
|
||||
Or use the bundled installer:
|
||||
|
||||
```bash
|
||||
bash bin/setup-multi-agent.sh
|
||||
```
|
||||
|
||||
## Cross-Reference
|
||||
|
||||
- Plugin: https://github.com/AgriciDaniel/claude-obsidian
|
||||
- Pattern: https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f
|
||||
- Related: https://github.com/kepano/obsidian-skills
|
||||
Reference in New Issue
Block a user