Files
TWBG_Materials/文档润色流和知识库构建流/claude-scholar-upstream/commands/kb-archive.md
2026-05-30 16:22:29 +08:00

1.1 KiB

name, description, args, tags
name description args tags
kb-archive Archive, detach, purge, or rename KB objects while keeping registry, index, and links consistent.
name description required
action detach, archive, purge, rename true
name description required
target Project-relative note path when operating on a note. false
name description required
dest Destination note path for rename. false
Research
Obsidian
KB
Lifecycle

/kb-archive

Use this command for KB lifecycle actions.

Project-level lifecycle

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:

Research/_archived/{project-slug}-{date}/

Note-level lifecycle

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:

Research/{project-slug}/Archive/