first commit

This commit is contained in:
2026-06-11 03:33:14 +08:00
commit 5f555bf342
599 changed files with 142347 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
---
name: kb-archive
description: Archive, detach, purge, or rename KB objects while keeping registry, index, and links consistent.
args:
- name: action
description: detach, archive, purge, rename
required: true
- name: target
description: Project-relative note path when operating on a note.
required: false
- name: dest
description: Destination note path for rename.
required: false
tags: [Research, Obsidian, KB, Lifecycle]
---
# /kb-archive
Use this command for KB lifecycle actions.
## Project-level lifecycle
```bash
python3 "${CLAUDE_PLUGIN_ROOT}/skills/obsidian-project-kb-core/scripts/project_kb.py" lifecycle --cwd "$PWD" --mode "$action"
```
Project archive means moving the whole project to:
```text
Research/_archived/{project-slug}-{date}/
```
## Note-level lifecycle
```bash
python3 "${CLAUDE_PLUGIN_ROOT}/skills/obsidian-project-kb-core/scripts/project_kb.py" note-lifecycle --cwd "$PWD" --mode "$action" --note "$target"
```
If `action=rename`, also pass `--dest "$dest"`.
Note archive means moving a canonical note into:
```text
Research/{project-slug}/Archive/
```