darc

Archive Task and Recording archives when predefined thresholds are reached.

4|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/ssdiwu/diwu-workflow --skill darc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: darc
Source: https://github.com/ssdiwu/diwu-workflow/tree/main/skills/darc
Command: npx skills add https://github.com/ssdiwu/diwu-workflow --skill darc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

归档管理的双轨机制为 Task 归档与 Recording 归档提供可控、可追溯的流程,避免活跃工作流被杂乱数据干扰,同时确保 archive 行为可审计、可回溯。

Core Features & Use Cases

  • 双轨归档:Task 归档(Done/Cancelled)与 Recording 归档(session 文件)分离管理,降低活跃数据量。
  • 基于阈值的自动化触发与手动执行的安全门控,确保归档在可控范围内发生。
  • 产物生成与留痕:归档产物以 JSON/MD 形式保存,支持回溯与审计。

Quick Start

通过 /darc 手动触发或在检测到阈值时执行归档,开始归档流程并产出相应的归档产物。

Frequently Asked Questions about darc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I archive completed tasks and session recordings without automatic deletion?

Dual-track archival prevents automatic deletion by separating Task and Recording archives, applying threshold triggers, and enforcing manual execution as a safety gate before any archival action occurs.

What is dual-track archive management for workflow tasks?

Dual-track archive management separates Task archives (Done/Cancelled) from Recording archives (session files) to reduce active data clutter. It generates JSON/MD artifacts for auditable and traceable retention.

How do I manually trigger task and recording archival when thresholds are reached?

Trigger task and recording archival manually via the /darc command when predefined thresholds are reached. This manual execution model ensures full control over the archival process instead of silent automation.

Can I audit and trace archived workflow session files?

You can audit and trace archived workflow session files through generated JSON and MD archival artifacts. These output files provide a verifiable record of archived data for full traceability.

Does manual execution prevent silent archival of active workflow data?

Manual execution prevents silent archival of active workflow data by enforcing explicit stop hooks and manual confirmation. This ensures no task or recording is archived without direct user intervention.

Why do I need manual confirmation for threshold-based task archival?

Manual confirmation for threshold-based task archival is needed to prevent automatic deletion or silent data movement. It acts as a safety gate, ensuring archival happens only within a controlled scope.