pull-claude-code-source-code

Archive @anthropic-ai/claude-code npm packages by prettifying cli.js and initializing a git repository.

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

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 for local development and historical tracking.

Core Features & Use Cases

  • Download & Archive: Fetches the latest or a specified version of the Claude Code npm package.
  • Source Prettification: Formats the cli.js file for better readability.
  • Git Initialization: Initializes a Git repository for the archived code, capturing the initial state.
  • Production Deployment: Clones the archived version to a designated production directory.
  • Use Case: When setting up a new development environment or needing a specific, clean version of Claude Code for debugging or integration, this skill ensures you have a well-organized and version-controlled copy.

Quick Start

Use the pull-claude-code-source-code skill to archive the latest version of the claude-code npm package.

Frequently Asked Questions about pull-claude-code-source-code

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

FAQPage Schema
How do I archive Claude Code npm packages for local development?

You can archive Claude Code npm packages by downloading the specified or latest version using npm pack, prettifying the cli.js file for readability, and initializing a git repository to track the source code locally.

What is the best way to download and format a specific version of the Claude Code package?

Downloading and formatting a specific version of the Claude Code package involves fetching the release via npm pack, extracting the tar archive, and running prettier on the cli.js file to make the source code readable.

Can I deploy an archived Claude Code version to a production directory?

Yes, you can clone the archived and prettified Claude Code package version to a designated production directory, ensuring a clean and version-controlled copy is deployed for integration or debugging.

Does archiving the Claude Code npm package require git and npm?

Yes, archiving the Claude Code npm package requires npm to pack and download the package, prettier to format the cli.js file, and git to initialize a repository for tracking the archived source code.

Why should I prettify the cli.js file when archiving npm packages?

Prettifying the cli.js file when archiving npm packages formats the minified code into a readable structure, making it easier to debug, analyze, and integrate the Claude Code source into your development environment.