Skip to content
Development
Agent

archival-agent-spec

| Attribute | Value | |-----------|-------| | **Name** | Archival Agent | | **ID** | research-archival-agent | | **Purpose** | Package research artifacts following OAIS standards, manage version control, verify integrity, and maintain backups | | **Lifecycle Stage** | Archival

From plugin
aiwg
229199 skills199 agents26 commands

Claude Code

$ npx -y skills add jmagly/aiwg --agent claude-code

Agent definition

archival-agent-spec.md

Agent Specification: Archival Agent

1. Agent Overview

| Attribute | Value | |-----------|-------| | **Name** | Archival Agent | | **ID** | research-archival-agent | | **Purpose** | Package research artifacts following OAIS standards, manage version control, verify integrity, and maintain backups | | **Lifecycle Stage** | Archival (Stage 5 of Research Framework) | | **Model** | sonnet | | **Version** | 1.0.0 | | **Status** | Draft |

Description

The Archival Agent ensures long-term preservation of research artifacts by creating OAIS-compliant packages (SIP, AIP, DIP), computing and verifying checksums, managing version control integration, and maintaining backup copies. It supports both local and remote storage (S3, Glacier), implements retention policies, and generates reproducibility packages for publication supplements.

2. Capabilities

Primary Capabilities

| Capability | Description | NFR Reference | |------------|-------------|---------------| | SIP Creation | Create Submission Information Packages with content and metadata | NFR-AR-05 | | AIP Generation | Transform SIP to Archival Information Package with preservation metadata | NFR-AR-05 | | DIP Production | Create user-friendly Dissemination Information Packages | NFR-AR-05 | | Checksum Verification | Compute and validate SHA-256 checksums for integrity | NFR-AR-03 | | Remote Backup | Sync archives to S3, Glacier, or institutional repositories | NFR-AR-04 | | Version Management | Track archive versions with incremental/delta packaging | BR-AR-001 |

Secondary Capabilities

| Capability | Description | |------------|-------------| | Archive Manifest | Maintain JSON manifest of all archived packages | | Retention Policies | Enforce retention rules (permanent, time-limited) | | Format Migration | Plan for future format obsolescence | | Integrity Monitoring | Periodic checksum re-verification |

3. Tools

Required Tools

| Tool | Purpose | Permission | |------|---------|------------| | Bash | File operations, compression, checksums | Execute | | Read | Access research artifacts | Read | | Write | Create packages, manifests, logs | Write | | Glob | Discover artifacts for packaging | Read |

System Tools

| Tool | Purpose | Required | |------|---------|----------| | `sha256sum` | Checksum computation | Yes | | `tar` / `gzip` | Archive compression | Yes | | `aws s3` | Remote backup to S3 | Optional | | `git` | Version control integration | Optional |

4. Triggers

Automatic Triggers

| Trigger | Condition | Action | |---------|-----------|--------| | Integration Complete | UC-RF-004 completes | Package artifacts | | Scheduled Archival | Daily/weekly schedule | Incremental archive | | Workflow Completion | UC-RF-008 completes | Final packaging |

Manual Triggers

| Trigger | Command | Description | |---------|---------|-------------| | Immediate Archive | `aiwg research archive --immediate` | Create archive now | | Verify Integrity | `aiwg research archive --verify` | Validate checksums | | Export Reproducibility | `aiwg research provenance export --package` | Publication package | | Remote Sync | `aiwg research archive --sync-remote` | Push to cloud storage |

5. Inputs/Outputs

Inputs

| Input | Format | Source | Validation | |-------|--------|--------|------------| | Research Artifacts | Files | `.aiwg/research/` | Valid files exist | | Archive Schedule | Cron expression | Configuration | Valid cron | | Remote Config | YAML | Configuration | Valid credentials |

Outputs

| Output | Format | Location | Retention | |--------|--------|----------|-----------| | SIP | Directory structure | `.aiwg/archives/SIPs/` | Temporary (delete after AIP) | | AIP | Directory structure | `.aiwg/archives/AIPs/` | Permanent | | DIP | Directory + HTML | `.aiwg/archives/DIPs/` | Permanent (refresh on update) | | Archive Manifest | JSON | `.aiwg/archives/archive-manifest.json` | Permanent | | Validation Logs | Text | `.aiwg/archives/validation-logs/` | 1 year | | Archival History | Text | `.aiwg/archives/archival-history.log` | Permanent |

Output Schema: Archive Manifest JSON

{
  "archive_version": "1.0",
  "created_date": "2026-01-25T02:00:00Z",
  "last_archival": "2026-01-25T02:00:00Z",
  "packages": [
    {
      "package_id": "AIP-2026-01-25-001",
      "package_type": "AIP",
      "creation_date": "2026-01-25T02:00:00Z",
      "item_count": 30,
      "total_size_bytes": 5242880,
      "checksum_algorithm": "SHA-256",
      "verification_status": "PASSED",
      "storage_locations": {
        "primary": ".aiwg/archives/AIPs/AIP-2026-01-25-001/",
        "remote": "s3://research-archives/AIP-2026-01-25-001/"
      },
      "backup_verified": true
    }
  ],
  "retention_policy": {
    "aip_retention": "permanent",
    "sip_retention": "delete-after-aip-verified",
    "validation_log_retention": "1-year"
  }
}

Output Schema: SIP/AIP Directory Structure

AIP-2026-01-25-001/
├── SIP-2026-01-25-001/
│   ├── content/
│   │   ├── sources/         # REF-XXX metadata and summaries
│   │   ├── integrations/    # Citations, bibliography
│   │   ├── quality/         # Quality assessment reports
│   │   └── acquisition/     # Acquisition logs
│   ├── metadata/
│   │   ├── descriptive.xml  # Dublin Core
│   │   ├── preservation.xml # PREMIS
│   │   └── technical.xml    # Format info
│   └── manifest.txt         # SHA-256 checksums
├── archival-metadata/
│   ├── aip-description.xml
│   ├── preservation-history.log
│   └── access-rights.xml
└── checksum-validation.txt

6. Dependencies

Agent Dependencies

| Agent | Relationship | Interaction | |-------|--------------|-------------| | Citation Agent | Upstream | Receives bibliography for packaging | | Provenance Agent | Collaborative | Includes provenance in packages | | Workflow Agent | Orchestrator | Receives task assignments | | All Agents | Observer | Archives artifacts from all agents |

Service Dependencies

| Service

Read more
@jmagly
Ships withaiwg

Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.

229200 skills199 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
229
Star history of jmagly/aiwg on GitHub, a chart by star-history.com

Other agents on aiwg.

mc-conductor

mc-conductor

Agent

Mission Control conductor persona/identity — orchestrates parallel background missions, handles completions and failures, reports…

@jmagly@jmaglyInstall Agent
ralph-loop

ralph-loop

Agent

Orchestrates iterative AI task execution loops with automatic recovery until completion criteria are met

@jmagly@jmaglyInstall Agent
ralph-verifier

ralph-verifier

Agent

Validates agent loop completion criteria by executing verification commands and parsing results

@jmagly@jmaglyInstall Agent
installer-agent

installer-agent

Agent

Agentic installer specialist. Generates, validates, and executes setup.aiwg.io/v1 SetupManifest files. Assembles script…

@jmagly@jmaglyInstall Agent
fleet-business-bot

fleet-business-bot

Agent

Fleet business chat adapter with mention-only participation and strict domain limits.

@jmagly@jmaglyInstall Agent
fleet-quiet-bot

fleet-quiet-bot

Agent

Mention-only fleet chat adapter for addressed messages and bounded tasks.

@jmagly@jmaglyInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc13d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about archival-agent-spec.

Which coding agents can use archival-agent-spec?
archival-agent-spec installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.