artifact-type-tailored-context

Official

Compress artifacts for judges.

Authorclosedloop-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill efficiently compresses large artifact files to fit within token budgets, ensuring that critical information is preserved without overwhelming the AI's context window.

Core Features & Use Cases

  • Tiered Summarization: Applies different compression strategies based on artifact size and type (code diffs, JSON, logs, markdown).
  • Token Budget Enforcement: Guarantees output stays within specified token limits, using hard truncation when necessary.
  • Use Case: When evaluating a large code diff, this Skill can summarize method bodies while preserving function signatures, making the diff reviewable within Claude's context limits.

Quick Start

Use the artifact-type-tailored-context skill to compress the file 'large_log.txt' with a token budget of 2000.

Dependency Matrix

Required Modules

count_tokens.py

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: artifact-type-tailored-context
Download link: https://github.com/closedloop-ai/claude-plugins/archive/main.zip#artifact-type-tailored-context

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.