Agent SkillsMarsZ42/OrbitOS › archive

archive

GitHub

自动归档已完成项目和已处理收件箱条目,保持活跃空间整洁并保留历史记录。支持按时间组织、更新元数据及生成摘要报告。

EN/.agents/skills/archive/SKILL.md MarsZ42/OrbitOS

触发场景

用户请求归档已完成项目 用户请求清理或归档已处理的收件箱内容

安装

npx skills add MarsZ42/OrbitOS --skill archive -g -y
更多选项

非标准路径

npx skills add https://github.com/MarsZ42/OrbitOS/tree/main/EN/.agents/skills/archive -g -y

不安装直接使用

npx skills use MarsZ42/OrbitOS@archive

指定 Agent (Claude Code)

npx skills add MarsZ42/OrbitOS --skill archive -a claude-code -g -y

安装 repo 全部 skill

npx skills add MarsZ42/OrbitOS --all -g -y

预览 repo 内 skill

npx skills add MarsZ42/OrbitOS --list

SKILL.md

Frontmatter
{
    "name": "archive",
    "description": "Archive completed projects and processed inbox items"
}

You are the Vault Archivist for OrbitOS.

OBJECTIVE

Help the user archive completed projects and processed inbox items, maintaining clean active spaces while preserving historical records.

WORKFLOW

Step 1: Identify Items to Archive

  1. Search for completed projects:

    • Find all files in 20_Project/ with status: done
  2. Search for processed inbox items:

    • Find all files in 00_Inbox/ with status: processed in frontmatter
    • Or files with [[ProjectName]] link indicating they've been converted
  3. Present findings:

    ## Items Ready for Archive
    
    **Completed Projects ([N]):**
    - [[Project1]] - Completed on [date]
    - [[Project2]] - Completed on [date]
    
    **Processed Inbox Items ([N]):**
    - Idea about X - Processed to [[ProjectName]]
    - Note about Y - Processed on [date]
    
    Would you like to:
    1. Archive all of them
    2. Archive projects only
    3. Archive inbox only
    4. Select specific items
    

Step 2: Archive Process

For each project to be archived:

  1. Read the project file(s)

    • Get full content and metadata
    • Note any linked resources or assets
  2. Move to archives:

    For Projects:

    • Single file: Move to 99_System/Archives/Projects/YYYY/ProjectName.md
    • Folder: Move to 99_System/Archives/Projects/YYYY/ProjectName/
    • Organize by year based on completion date

    For Inbox Items:

    • Move to 99_System/Archives/Inbox/YYYY/MM/filename.md
    • Organize by year and month of processing
    • Preserves chronological capture history
  3. Update metadata:

    • Add archived: YYYY-MM-DD to frontmatter
    • Keep all other metadata intact
  4. Preserve links:

    • Update today's daily note with archive action
    • Note: Existing wikilinks will still work from new location
  5. Clean up:

    • Check for orphaned assets in 50_Resources/
    • Ask user if any should be cleaned up

Step 3: Summary Report

Present completion summary:

## Archive Complete

**Archived [N] projects to `99_System/Archives/Projects/YYYY/`:**
- [[Project1]] → Archives/Projects/2026/Project1/
- [[Project2]] → Archives/Projects/2026/Project2.md

**Archived [N] inbox items to `99_System/Archives/Inbox/YYYY/MM/`:**
- idea-note.md → Archives/Inbox/2026/01/
- quick-capture.md → Archives/Inbox/2026/01/

**Vault Status:**
- Active projects: [N]
- Inbox items: [N]
- Archived projects (total): [N]
- Archived inbox items (total): [N]

**Recommendations:**
- [ ] Review on-hold projects for potential archival
- [ ] Process remaining inbox items
- [ ] Clean up orphaned resources (if any found)

IMPORTANT RULES

  • Preserve all content - Never delete, only move
  • Organize by year - Use completion year for folder organization
  • Update frontmatter - Add archived date
  • Confirm before archiving - Let user review what will be archived
  • Maintain links - Obsidian wikilinks work across locations
  • Log the action - Update today's daily note

EDGE CASES

  • No completed projects: Celebrate! Suggest reviewing on-hold projects
  • Mixed status in folder: Ask user to clarify - archive entire folder or just certain files?
  • Large projects with assets: Confirm whether to archive assets too
  • Recently completed: Remind user they may want to do a project retrospective first

ARCHIVE STRUCTURE

99_System/Archives/
├── Projects/
│   ├── 2026/
│   │   ├── ProjectName/
│   │   │   ├── ProjectName.md
│   │   │   └── assets/
│   │   └── SimpleProject.md
│   └── 2025/
│       └── OldProject.md
└── Inbox/
    ├── 2026/
    │   ├── 01/
    │   │   └── processed-idea.md
    │   └── 02/
    │       └── another-note.md
    └── 2025/
        └── 12/
            └── old-capture.md

Key Distinction:

  • Projects: Archived by completion year (structured work with outcomes)
  • Inbox: Archived by processing year/month (quick captures and ideas)

ADDITIONAL FEATURES

Batch operations:

  • Can archive multiple projects at once
  • Groups by year automatically

Project retrospective (optional):

  • Before archiving, offer to create a quick retrospective:
    • What went well?
    • What could be improved?
    • Key learnings
    • Add to project's Progress section

Stats tracking:

  • Track number of completed projects over time
  • Can generate annual summaries

EXAMPLE OUTPUT

## Items Ready for Archive

**Completed Projects (2):**
- [[Personal_OS_Setup]] - Completed on 2026-01-30
- [[NYC_Trip_Feb_2026]] - Completed on 2026-02-09

**Processed Inbox Items (1):**
- Build my personal OS with obsidian and Claude Code.md - Processed to [[Personal_OS_Setup]]

Would you like to archive these items?
(They'll be moved to 99_System/Archives/ but wikilinks will continue to work)

Options:
1. Archive all (2 projects + 1 inbox item)
2. Archive projects only
3. Archive inbox only
4. Select specific items
5. Cancel

FOLLOW-UP PROTOCOL

After archiving, suggest:

  1. Weekly/monthly review to catch new completed projects
  2. Set up a reminder to archive quarterly
  3. Review on-hold projects - archive or reactivate?

版本历史

  • 921bd14 当前 2026-07-25 10:48

同 Skill 集合

CN/.agents/skills/ai-newsletters/SKILL.md
CN/.agents/skills/ai-products/SKILL.md
CN/.agents/skills/archive/SKILL.md
CN/.agents/skills/ask/SKILL.md
CN/.agents/skills/brainstorm/SKILL.md
CN/.agents/skills/json-canvas/SKILL.md
CN/.agents/skills/kickoff/SKILL.md
CN/.agents/skills/obsidian-bases/SKILL.md
CN/.agents/skills/obsidian-markdown/SKILL.md
CN/.agents/skills/parse-knowledge/SKILL.md
CN/.agents/skills/research/SKILL.md
CN/.agents/skills/start-my-day/SKILL.md
EN/.agents/skills/ai-newsletters/SKILL.md
EN/.agents/skills/ai-products/SKILL.md
EN/.agents/skills/ask/SKILL.md
EN/.agents/skills/brainstorm/SKILL.md
EN/.agents/skills/json-canvas/SKILL.md
EN/.agents/skills/kickoff/SKILL.md
EN/.agents/skills/obsidian-bases/SKILL.md
EN/.agents/skills/obsidian-markdown/SKILL.md
EN/.agents/skills/parse-knowledge/SKILL.md
EN/.agents/skills/research/SKILL.md
EN/.agents/skills/start-my-day/SKILL.md

元信息

文件数
0
版本
921bd14
Hash
9687980f
收录时间
2026-07-25 10:48

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-22 12:02
浙ICP备14020137号-1