Skip to content
Agent use cases

Compress Claude Code context and manage agent skills with tq-forge

To address the high token consumption of resident skill definitions and model compatibility issues in Claude Code, developers built the open-source tool tq-forge. It enables lossless context compression, structured scoring, model compatibility checks, and automated skill generation from user intent, reducing resident tokens from 7,337 to 3,121.

DEV.to #claudecode
Claude Codetq-forge

Added 2026-11-14 · originally published Fri, 13 Nov 2026 16:52:18 +0000


Steps

  1. 1Add the plugin via the Claude Code plugin marketplace using /plugin marketplace add tanishq286/tq-forge, or run via the npm CLI: npx tq-forge install
  2. 2Run the lossless context optimizer with the /savings command to compress resident skill context while keeping MCP servers available
  3. 3Run structured scorer assertions and check model compatibility using /tq-forge-test and /tq-forge-promote
  4. 4Generate or learn skills and 5-file sub-agents from a one-line prompt, documentation page, browser workflow, or technical thread using /tq-forge-skill, /tq-forge-agent, or /tq-forge-learn
Copy-ready prompt
Please help me generate a structured SKILL.md file or a 5-file sub-agent based on the following requirements: [enter your requirements, technical thread, or documentation link], ensuring it features clear reusable steps and model compatibility.
#AI Agent#Claude Code#Token Optimization#Open Source Tool
Create high-quality product demo videos with Claude Code

Combine the open-source tool Screenplay with Claude Code to let AI automatically browse web or desktop applications and write a JSON scene script. Screenplay handles headless browser recording and editing to directly generate MP4 videos featuring smooth cursors, auto-zooming, click effects, and captions.

Clean up unused Claude Code skills to save tokens

The author solved the problem of rapid context bloat and token consumption caused by accidentally triggered features by disabling built-in Claude Code skills and plugins that are never used. This effectively streamlines the session context and prevents unnecessary resource waste.

Troubleshooting and slimming down MCP memory leaks and cache invalidation for AI agents like Claude Code

Addresses the 8MB/16MB crashes, schema bloat, and prompt cache invalidation issues encountered when using the Model Context Protocol (MCP) with tools like Claude Code and OpenAI Codex CLI, utilizing open-source tools for MCP slimming, configuration auditing, and cache miss troubleshooting.

Found this useful? Get daily updates on Telegram or X.

Found this useful? Buy me a coffee ☕

nebu.life is free to use. If it helped you, a small tip keeps it going. Payments go straight to the author's personal account; this site never handles any funds.

Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.

nebu.lifeNebula AI Playbook · Daily AI use cases, prompts and prices

Content is collected daily from public sources and summarized with AI. Every entry links to the original, and copyright stays with the original authors. Spotted an error or a rights issue? Let us know via the contact page.

Last updated 2026-11-14 07:16 (Beijing time)