Skip to content

/kb-init

Force scaffold refresh when the project already exists.

From plugin
claude-scholar
5.5k65 skills6 agents65 commands5 hooks
Install
> /plugin marketplace add Galaxy-Dawn/claude-scholar
> /plugin install claude-scholar@claude-scholar

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/kb-init

Context preview

What this command does when you run it.

Force scaffold refresh when the project already exists.

Command definition

kb-init.md
name: kb-init
description: Initialize or rebuild a vault-first, project-scoped Obsidian KB under Research/{project-slug}/ for the current repository.
args:
  - name: project
    description: Optional project name. Defaults to the repository name.
    required: false
  - name: vault_path
    description: Absolute Obsidian vault path. Defaults to OBSIDIAN_VAULT_PATH.
    required: false
  - name: force
    description: Force scaffold refresh when the project already exists.
    required: false
    default: false
tags: [Research, Obsidian, KB]

/kb-init

Use the new KB scaffold under `Research/{project-slug}/`.

Run

python3 "${CLAUDE_PLUGIN_ROOT}/skills/obsidian-project-kb-core/scripts/project_kb.py" bootstrap \
  --cwd "$PWD" \
  --vault-path "$vault_path"

If `project` is provided, add:

--project-name "$project"

If `force=true`, add:

--force

Verify

The scaffold must contain:

Research/{project-slug}/
  00-Hub.md
  01-Plan.md
  02-Index.md
  Sources/*
  Knowledge/
  Experiments/
  Results/Reports/
  Writing/
  Daily/
  Maps/
  Archive/
  _system/

It must also keep repo-local `.claude/project-memory/*` as runtime binding metadata only.

Ships withclaude-scholar

Semi-automated research assistant for academic research and software development. Supports Claude Code, Codex CLI, Kimi Code CLI, and OpenCode across ideation, coding, experiments, writing, and publication.

Get the whole plugin, auto-invoked

Other commands on claude-scholar.