claude-code-archiver

Download, prettify, and archive @anthropic-ai/claude-code npm packages with git history.

2|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/tankygranny05/agent-box --skill claude-code-archiver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-archiver
Source: https://github.com/tankygranny05/agent-box/tree/main/agent-box/seed/codex-skills/claude-code-archiver
Command: npx skills add https://github.com/tankygranny05/agent-box --skill claude-code-archiver

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of downloading, prettifying, and archiving specific versions of the @anthropic-ai/claude-code npm package, ensuring a clean and version-controlled history.

Core Features & Use Cases

  • Automated Downloading: Fetches the latest or a specified version of the @anthropic-ai/claude-code package from npm.
  • Code Prettification: Formats the cli.js file for better readability and consistency.
  • Git Archiving: Initializes a Git repository for the archived code, including a standardized initial commit message.
  • Production Deployment: Facilitates cloning the archived version to a designated production directory.
  • Use Case: When a new version of Claude Code is released, use this Skill to quickly download, format, and store it with proper version control for future reference or deployment.

Quick Start

Use the claude-code-archiver skill to download and archive the latest version of the claude-code npm package.

Frequently Asked Questions about claude-code-archiver

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

FAQPage Schema
How do I archive npm packages for local version control and deployment?

To archive npm packages for version control, you can download a specified version, prettify the JavaScript code for readability, and initialize a Git repository with a standardized commit history. This ensures deterministic code archiving for future deployment.

How do I prettify cli.js files after downloading an npm package?

Prettifying cli.js files after downloading an npm package involves formatting the code for better readability and consistency. The archive skill applies code prettification automatically during the download process to maintain a clean codebase.

Does the archiving process support specific npm package versions for deterministic deployment?

Yes, the archiving process supports deterministic deployment by allowing you to fetch a specific version of the npm package. It downloads the targeted release and stores it in a local archive with proper Git history for version management.

Can I use Git to manage version history for archived JavaScript code?

Yes, you can use Git to manage version history for archived JavaScript code. The archiving process initializes a Git repository for the downloaded package, including a standardized initial commit message to track changes and prepare for production deployment.

What is the best way to set up a new Claude Code version in a local archive?

The best way to set up a new Claude Code version in a local archive is to download the package from npm, prettify the cli.js file, and initialize Git history. This process ensures the code is formatted and version-controlled for production deployment.