Token导航 LogoToken导航

Agent Skill · 待分类

archive-increments(归档增量)

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

archive-increments 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为可写文件;许可证为 MIT,暂无第三方扫描结果,按安装量在待分类类的 11,209 个 Skill 里排第 11,127。

总安装 155周安装 17GitHub Stars 127下载 140核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:archive-increments(归档增量)
来源仓库:https://github.com/anton-abyzov/specweave
仓库路径:skills/archive-increments
安装命令:
npx skills add https://github.com/anton-abyzov/specweave --skill archive-increments
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/anton-abyzov/specweave --skill archive-increments

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

用于智能管理 .specweave/increments/ 文件夹的增量归档。采用 10-10-10 规则:保留最近 10 个活跃增量,10 天后自动归档。提供增量分类存储和历史版本管理能力。archive-increments 属于待分类类 Skill,可作为该场景下的辅助能力补充。

安装需指定 GitHub 仓库路径,使用时需确认文件系统权限。涉及文件操作时应注意操作原子性和回滚机制。

来源仓库内路径:skills/archive-increments

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/anton-abyzov/specweave --skill archive-increme…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要可写文件,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

archive-increments 怎么安装?

在终端执行 npx skills add https://github.com/anton-abyzov/specweave --skill archive-increments。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

archive-increments 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

archive-increments 需要什么权限?

权限级别是可写文件。该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

archive-increments 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

archive-increments 用的人多吗?

公开数据是累计安装 155 次,近一周安装 17 次,下载 140 次,GitHub 127 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

archive-increments 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
archive-increments

归档增量 · 本页

155127可写文件MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Increment Archive Manager

Expert at keeping the .specweave/increments/ folder clean and organized through intelligent archiving.

Core Knowledge

Archiving Philosophy

The 10-10-10 Rule:

  • 10 Active: Keep last 10 increments readily accessible
  • 10 Days: Archive increments inactive for >10 days
  • 10 Seconds: Archive operation should take <10 seconds

Archive Structure

.specweave/increments/
├── 0023-0032 (Active)          ← Last 10 increments
├── _archive/                   ← Completed/old increments
│   ├── 0001-0022              ← Historical increments
│   └── 0029                   ← Abandoned experiments
└── _abandoned/                 ← Failed/obsolete increments

Smart Detection Rules

Never Archive
  • Active increments (status: active)
  • Paused increments (status: paused) - may resume
  • Recent increments (last 10 by default)
  • Increments with open GitHub/JIRA/ADO issues
  • Increments with uncommitted changes
Always Archive
  • Completed >60 days ago
  • No activity >30 days (and status: completed)
  • Superseded increments (replaced by newer version)
  • Failed experiments (after confirmation)
Smart Grouping
  • Release groups: Archive all v0.7.x after v0.8.0 ships
  • Feature groups: Archive related increments together
  • Time-based: Quarter/month-based archiving

Usage Patterns

Keep Workspace Clean

# Interactive archiving - prompts for confirmation
/sw:archive-increments

# Keep only last 5 increments
/sw:archive-increments --keep-last 5

# Archive all completed increments
/sw:archive-increments --archive-completed

Prepare for Release

# Archive all pre-release increments
/sw:archive-increments --pattern "v0.7"

# Archive by date range
/sw:archive-increments --older-than 30d

Restore from Archive

# List archived increments
/sw:archive-increments --list-archived

# Restore specific increment
/sw:archive-increments --restore 0015

Configuration

Default Settings

{
  "archiving": {
    "keepLast": 10,              // Keep last 10 increments
    "autoArchive": false,        // Manual by default
    "archiveAfterDays": 60,      // Archive after 60 days
    "preserveActive": true,      // Never archive active
    "archiveCompleted": false    // Manual control
  }
}

Aggressive Cleanup

{
  "archiving": {
    "keepLast": 5,               // Minimal workspace
    "autoArchive": true,         // Auto-archive on completion
    "archiveAfterDays": 14,      // Archive after 2 weeks
    "archiveCompleted": true     // Auto-archive completed
  }
}

Archive Statistics

Current State Analysis

When asked about archiving, I analyze:

  • Number of active increments
  • Age of oldest active increment
  • Total size of increments folder
  • Number of completed increments
  • External sync status

Recommendations

Based on analysis, I suggest:

  • Overcrowded (>20 active): Archive all but last 10
  • Stale (many >30 days old): Archive by age
  • Post-release: Archive previous version increments
  • Large size (>100MB): Archive largest completed increments

Safety Features

Pre-Archive Checks

  1. Metadata validation: Check increment status
  2. External sync: Verify no open issues
  3. Git status: Check for uncommitted changes
  4. Dependencies: Check if referenced by active increments
  5. User confirmation: Show what will be archived

Archive Operations

  • Atomic moves: Use fs.move with overwrite protection
  • Preserve structure: Maintain full increment structure
  • Update references: Fix links in living docs
  • Reversible: Easy restore from archive
  • Audit trail: Log all archive operations

Smart Suggestions

When to Archive

  • After major release: Archive all pre-release increments
  • Quarterly cleanup: Archive increments >3 months old
  • Before new project phase: Archive previous phase work
  • Low disk space: Archive largest completed increments

Archive Patterns

  • By version: --pattern "v0.7" (all v0.7.x increments)
  • By feature: --pattern "auth|login" (auth-related)
  • By date: --older-than 30d (time-based)
  • By status: --archive-completed (all completed)

Integration Points

Status Line

  • Shows "23-32 (10 active, 22 archived)" format
  • Warns when >15 active increments
  • Suggests archiving when appropriate

Increment Commands

  • /sw:done can trigger auto-archive
  • /sw:status shows archive statistics
  • /sw:next considers archived increments

Living Docs

  • Archive preserves living docs references
  • Restore updates living docs links
  • Archive included in docs statistics

Best Practices

  1. Regular Cleanup: Archive monthly or after releases
  2. Keep Recent: Always keep last 5-10 increments
  3. Preserve Active: Never force-archive active work
  4. Group Related: Archive feature groups together
  5. Document Reasons: Add archive notes for context

Quick Reference

# Archive old increments
/sw:archive-increments --older-than 30d

# Keep workspace minimal
/sw:archive-increments --keep-last 5

# Archive after release
/sw:archive-increments --pattern "pre-release"

# Restore for reference
/sw:archive-increments --restore 0015

# Check archive stats
/sw:archive-increments --stats

Project-Specific Learnings

Before starting work, check for project-specific learnings:

# Check if skill memory exists for this skill
cat .specweave/skill-memories/archive-increments.md 2>/dev/null || echo "No project learnings yet"

Project learnings are automatically captured by the reflection system when corrections or patterns are identified during development. These learnings help you understand project-specific conventions and past decisions.

平台分布

Claude Code

30.65%
按下载量换算43

Antigravity

21.76%
按下载量换算30

Cursor

17.05%
按下载量换算24

Gemini CLI

12.02%
按下载量换算17

OpenCode

8.56%
按下载量换算12

Codex

3.81%
按下载量换算5

安全审计

暂无安全审计结果可展示。

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills