token-threshold-warn

Measure TASKS.md, HANDOFF.md, and MEMORY.md file sizes against thresholds at session start.

Updated Jul 23, 2025
One-click install
npx skills add https://github.com/ha-giwan1203/GIWANOS_AgentOS --skill token-threshold-warn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: token-threshold-warn
Source: https://github.com/ha-giwan1203/GIWANOS_AgentOS/tree/main/90_%EA%B3%B5%ED%86%B5%EA%B8%B0%EC%A4%80/%EC%8A%A4%ED%82%AC/token-threshold-warn
Command: npx skills add https://github.com/ha-giwan1203/GIWANOS_AgentOS --skill token-threshold-warn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

저장소 문서의 비대화를 사전 감시하여 세션 시작 시 임계치를 초과하는지 경고한다.

Core Features & Use Cases

  • 세션 시작 시 TASKS.md, HANDOFF.md, MEMORY.md의 라인 수와 바이트를 측정하고 임계치를 준수 여부를 보고한다.
  • 메모리 인덱스와 개별 메모리 파일 집계에 대한 경고를 관리하고, 비차단 advisory 경고를 출력한다.
  • 비용 인식/관리 — 세션 누적 비용과 정적 문서 무게의 상관 관계를 보완한다.

Quick Start

Run the token-threshold-warn check at the start of your session to see if any files exceed configured thresholds.

Frequently Asked Questions about token-threshold-warn

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

FAQPage Schema
How do I monitor repository document sizes to prevent context degradation?

Monitor repository document weight by measuring line counts and byte sizes of TASKS.md, HANDOFF.md, and MEMORY.md at session start to emit advisory warnings when thresholds are exceeded.

Why does my session guidance degrade when context documents get too large?

Session guidance degrades when oversized context documents exceed fixed line and byte thresholds, causing the token-threshold-warn check to emit advisory warnings about increased document weight.

Can I check file sizes and line counts without blocking my session?

Yes, you can check file sizes and line counts without blocking your session because the monitoring process deterministically measures documents against fixed thresholds and outputs non-blocking advisory warnings.

What is the best way to set up pre-session document weight alerts?

Set up pre-session document weight alerts by running a check at session start that measures TASKS.md, HANDOFF.md, and MEMORY.md against fixed thresholds, generating advisory warnings for oversized files.

Does document weight monitoring work with memory index files and individual memory entries?

Yes, document weight monitoring works with memory index files and individual memory entries by aggregating file counts and measuring them against fixed thresholds to manage and output advisory warnings.

When should I avoid relying on fixed thresholds for repository document monitoring?

Avoid relying solely on fixed thresholds for repository document monitoring when your workflow requires dynamic context adaptation, as these checks output non-blocking advisory warnings rather than enforcing session blocks.