| name | obsidian-tracker-project-archive |
| description | Archive, restore, or permanently delete a project. Use when the user invokes /project-archive. |
| version | 0.1.0 |
Converted from Claude Code command /project-archive.
Review and adapt: hooks and MCP tool IDs may need manual mapping for Codex.
Manage project lifecycle: archive, restore, or permanently delete projects.
Input: $ARGUMENTS
Parse action and project name from arguments. If action is not provided, ask the user which action they want: archive, restore, or delete.
Actions
archive
- Call
listProjects (without includeArchived) to show active projects
- If project name not provided, ask user to choose
- Confirm with user before archiving
- Call
archiveProject with the project name
- Report result
restore
- Call
listProjects with includeArchived: true
- Show only archived projects (where
archived: true)
- If no archived projects, inform user and stop
- If project name not provided, ask user to choose
- Call
restoreProject with the project name
- Report result
delete
- Call
listProjects with includeArchived: true
- Show archived projects first (preferred deletion targets)
- If project name not provided, ask user to choose
- Always confirm with explicit warning: this action is irreversible, all data will be lost
- Call
deleteProject with the project name and appropriate fromArchive flag
- Report result