用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill archive命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | archive |
| description | Archive completed task/spec work to ./.gtd/archive/ |
| argument-hint | [task_name] |
| disable-model-invocation | true |
Core responsibilities:
Flow: Verify Exists → Create Archive → Move Files → Clean Up
**Task name:** $ARGUMENTS (if not provided, ask user which task to archive)Source:
./.gtd/<task_name>/ — Task work to archiveDestination:
./.gtd/archive/<task_name>-{timestamp}/ — Archived task workFiles to archive:
Only archive when task is complete or abandoned.
Keep all files for future reference and learning.
After archiving, task folder is removed to keep .gtd/ clean.
If no argument provided, ask user:
Which task would you like to archive?
Available tasks:
- {task 1}
- {task 2}
Verify ./.gtd/<task_name>/ exists:
if [ ! -d "./.gtd/<task_name>" ]; then
echo "Error: Task '<task_name>' not found"
exit 1
fi
Generate archive name with timestamp:
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
ARCHIVE_DIR="./.gtd/archive/<task_name>-${TIMESTAMP}"
mkdir -p "./.gtd/archive"
Move entire task folder to archive:
mv "./.gtd/<task_name>" "${ARCHIVE_DIR}"
Commit the archive:
git add ./.gtd/archive/
git commit -m "chore: archive task <task_name> to {task_name}-${TIMESTAMP}"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GTD ► TASK ARCHIVED ✓
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Task: {task_name}
Archived to: ./.gtd/archive/{task_name}-{timestamp}/
Phases archived: {count}
Files archived: {count}
Task folder removed from ./.gtd/
─────────────────────────────────────────────────────
<forced_stop> STOP. The workflow is complete. Do NOT automatically run the next command. Wait for the user. </forced_stop>