Commit Graph

12 Commits

Author SHA1 Message Date
Daniel
2f4798e3fe chore: apply Anthropic best practices to all skills (v1.4.2)
- Add `allowed-tools` frontmatter to all 10 SKILL.md files for tool pre-approval
- Soften kepano/obsidian-skills dependency in 4 skills (canvas, obsidian-bases, obsidian-markdown, wiki-ingest) — now recommends if installed, doesn't require
- Soften banana-claude dependency in canvas skill
- Improve trigger descriptions for defuddle (+4 phrases) and obsidian-markdown (+5 phrases)
- Remove docs/superpowers/plans/ (contained private paths)
- Gitignore claude-obsidian-archive/ and _attachments/
- Bump version to 1.4.2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 16:28:02 +03:00
Daniel
6bab904d13 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>
2026-04-08 17:52:03 +03:00
Daniel
9fced764f3 fix: audit cleanup — untrack personal files, fix stale comment, add audit plan
- Untrack Cosmic Brain Clean.gif + Cosmic Brain Cover.png (personal assets)
- Untrack Welcome.md (Obsidian personal file)
- Add gitignore rules for Welcome.md and Cosmic Brain*.gif/png
- Fix vault-colors.css comment: cosmic-brain → claude-obsidian
- Add docs/superpowers/plans/2026-04-07-full-repo-audit.md

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 16:21:25 +03:00
Daniel
3cd1031989 security: remove skool-hub private assets from repo
Removes all 41 skool-hub images from tracking, cleans all canvas
and workspace.json references. Adds _attachments/images/skool-hub/
to .gitignore. History purge follows.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 15:47:41 +03:00
Daniel
8c1e3488fb fix: remove accidentally committed scratch files + tighten .gitignore
Removes: video files, scratch canvases, Nate Herk transcript,
personal images dropped in vault root.
Adds gitignore rules to prevent recurrence.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 15:14:08 +03:00
Daniel
5632763da6 chore: sync Obsidian state + fix .gitignore gaps
Modified files (Obsidian saved state):
  appearance.json       — CSS snippets enabled (Obsidian confirmed)
  community-plugins.json — Excalidraw + Banners enabled (Obsidian confirmed)
  graph.json            — Obsidian reset on close (expected)
  workspace.json        — welcome.canvas added as first tab by Obsidian
  README.md             — cover GIF header preserved by Obsidian
  welcome.canvas        — user added Cosmic Brain GIF at top

.gitignore additions:
  ????-??-??.md    — daily notes from Calendar plugin (personal)
  Excalidraw/      — user Excalidraw drawings (personal, not vault content)
  Untitled.canvas  — unnamed scratch canvases
  Claude SEO*.gif/png — personal brand assets in vault root
2026-04-07 13:54:26 +03:00
Daniel
339396e447 feat: Excalidraw + Banner plugins + ITS CSS snippets
Plugins installed:
  obsidian-excalidraw-plugin
    manifest.json + styles.css tracked in git
    main.js (8MB) excluded from git — downloaded by setup-vault.sh on first run
  obsidian-banners
    manifest.json + main.js + styles.css all tracked (148KB, acceptable)

CSS Snippets (ITS Theme by SlRvb):
  ITS-Dataview-Cards.css  — transforms TABLE queries into visual card grids
    Usage: use backtick-dataview-cards instead of backtick-dataview above query
  ITS-Image-Adjustments.css — fine-grained image sizing in notes
    Usage: caption images with |100 or wrap in image-adjustments callout

Config updates:
  community-plugins.json — added obsidian-excalidraw-plugin, obsidian-banners
  appearance.json        — added ITS-Dataview-Cards + ITS-Image-Adjustments snippets
                           (vault-colors preserved)
  .gitignore             — added excalidraw main.js exclusion rule

setup-vault.sh — step 5: auto-downloads Excalidraw main.js if missing
  curl from GitHub releases/latest, skips if already present

Canvas updates (Obsidian saved state):
  welcome.canvas — user added Cosmic Brain GIF at top
  main.canvas    — user added brand assets to Wiki Pages zone
  Wiki Map.canvas — Obsidian format normalised
2026-04-07 13:48:28 +03:00
Daniel
daf01dee72 feat: main.canvas as default workspace view
workspace.json — Obsidian saved state with main.canvas as active tab
  - Active leaf: wiki/canvases/main.canvas (opened when vault loads)
  - Contains user's canvas: title card, General zone, Wiki Pages zone
  - Nodes: logo, LLM Wiki Pattern note, insight text card + user additions

workspace-visual.json — updated default tab order
  - Tab 1 (default): wiki/canvases/main.canvas
  - Tab 2: projects/visual-vault/design-ideas.canvas
  - Tab 3: wiki/Wiki Map.canvas
  - Tab 4: Graph view
  - Right sidebar: Calendar + Thino + Backlinks (open)

wiki/canvases/main.canvas — first real canvas with user content
  - General zone: logo-pro.png, LLM Wiki Pattern note, insight text
  - Wiki Pages zone: Cosmic Brain cover + GIFs (user additions)

.gitignore — added patterns for personal files Obsidian drops in root
2026-04-07 13:40:00 +03:00
Daniel
fd979d8c3a fix: track plugin data.json files + unblock gitignore exception
calendar/data.json:
  - shouldConfirmBeforeCreate: false
  - localeOverride: en-GB
  - weekStart: monday
  - showNoteIndicator: true
  - showWeeklyNote: false

thino/data.json: full UI config with daily save mode, list view

.gitignore updated:
  .obsidian/plugins/*/data.json  (still blocks API keys, sync tokens, etc)
  !calendar/data.json            (exception — safe config, no secrets)
  !thino/data.json               (exception — safe config, no secrets)

Future users now get full plugin configuration out of the box.
2026-04-07 12:43:58 +03:00
Daniel
8286bf1944 feat: visual reference vault — Calendar, Thino, design-ideas canvas
Plugins installed:
- Calendar (en-GB, Monday start, note indicators)
- Thino (quick memos, daily save mode)
- community-plugins.json enables both

Visual canvas (projects/visual-vault/design-ideas.canvas):
- 8 labeled zones stacked vertically with 100px gaps
- Zone: Logos & Icons — logo-pro, 6x square icons, portrait (9:16)
- Zone: Archive Concepts — 3x early-era 16:9 covers
- Zone: Pro Cover Variants — pro-cover-10
- Zone: Brand Identity — hub-cover, classroom-start-here
- Zone: Skill Covers — seo, blog, repurpose, wp-mcp, seo-update
- Zone: Event Covers — blog-day, seo-day, qa-day
- Zone: April 2026 About Page — 3x bg 2752x1536, 5x slot 1280x720
- Style Reference Card — all format dimensions, palette, visual rules
- All nodes pixel-perfect sized from actual image dimensions

Images (41 files, 29MB):
- Copied to _attachments/images/skool-hub/
- Exact dimensions used for canvas node sizing

workspace-visual.json:
- Main: design-ideas.canvas (default) + Wiki Map + Graph view tabs
- Left: file-explorer, search, bookmarks
- Right: Calendar + Thino + Backlinks (OPEN, not collapsed)
- Switch to it: quit Obsidian, cp workspace-visual.json workspace.json, reopen

bin/setup-vault.sh updated with visual layout switch instructions

Note: _attachments/images/ is NOT gitignored (images are intentional)
      Comment out the line in .gitignore to exclude them for leaner forks
2026-04-07 12:39:25 +03:00
Daniel
f597342479 feat: ship workspace.json + setup-vault.sh for zero-config user experience
Users who clone the repo now get the full setup automatically:

- workspace.json tracked in git (removed from .gitignore)
  - Opens with Wiki Map canvas as default view
  - Graph view pre-configured: path:wiki filter, 5 color groups, proper physics
  - Obsidian reads this on first open before any state reset occurs

- bin/setup-vault.sh — one-time setup script
  - Writes correct graph.json (filter + colors)
  - Writes app.json (excludes plugin dirs from graph)
  - Writes appearance.json (enables vault-colors CSS)
  - Prints clear next-step instructions
  - Usage: bash bin/setup-vault.sh

- README updated: Option 1 now shows clone + setup.sh as recommended path
  - Clear explanation of what the script does
  - 2-minute setup flow vs manual configuration

Result: users clone, run setup.sh, open Obsidian — done.
Graph shows only wiki pages, color-coded, no noise.
2026-04-07 12:33:01 +03:00
Daniel
4dc6ff3b32 chore: sync vault to ~/cosmic-brain (Obsidian-registered path) 2026-04-07 12:05:18 +03:00