fetch-tcl-source

Download and extract Tcl source versions into a local tmp/ directory.

59|6|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/bitwisecook/tcl-lsp --skill fetch-tcl-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fetch-tcl-source
Source: https://github.com/bitwisecook/tcl-lsp/tree/main/.claude/skills/fetch-tcl-source
Command: npx skills add https://github.com/bitwisecook/tcl-lsp --skill fetch-tcl-source

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the downloading and extraction of Tcl source code versions, providing essential test suites and library files for development and analysis without needing to bundle them directly.

Core Features & Use Cases

  • Versioned Downloads: Fetches specific Tcl source trees (8.4, 8.5, 8.6, 9.0) from SourceForge.
  • Targeted Extraction: Extracts only the tests/ and library/ directories using sparse checkout for efficiency.
  • Idempotent Operation: Skips downloads for versions already present in the tmp/ directory.
  • Use Case: Before running scripts that capture reference test results or bytecode, use this Skill to ensure the necessary Tcl source files are available.

Quick Start

Use the fetch-tcl-source skill to download the Tcl 8.6 source code.

Frequently Asked Questions about fetch-tcl-source

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

FAQPage Schema
How do I download Tcl source code for specific versions like 8.6 or 9.0?

Downloading Tcl source code for versions 8.4, 8.5, 8.6, and 9.0 involves fetching targeted trees from SourceForge and extracting them into a local tmp/ directory for testing and development use.

What is the best way to get only the tests and library directories from the Tcl source?

Getting only the tests and library directories from the Tcl source uses git sparse-checkout for efficient, targeted extraction, ensuring you retrieve essential files without downloading the entire repository structure.

Does the Tcl source download process skip versions that are already present?

Yes, the Tcl source download process is idempotent, meaning it automatically skips downloading versions that are already present in the local tmp/ directory to save time and bandwidth.

When do I need to fetch Tcl source code for my development workflow?

You need to fetch Tcl source code before running scripts that capture reference test results or bytecode, ensuring the necessary test suites and library files are available locally for analysis.

Can I use sparse checkout to retrieve Tcl test suites from the GitHub repository?

Yes, sparse checkout is utilized to efficiently retrieve the tests/ and library/ directories directly from the tcltk/tcl GitHub repository, providing essential test suites for development.

Why does my Tcl source extraction only include the tests and library folders?

Tcl source extraction only includes the tests and library folders because it uses targeted extraction via sparse checkout, specifically designed to provide essential test suites and library files without unnecessary overhead.