team-shinchan:budget

Manage turn budgets in Team-Shinchan WORKFLOW_STATE.yaml files.

8|2|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/seokan-jeong/team-shinchan --skill team-shinchan-budget
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: team-shinchan:budget
Source: https://github.com/seokan-jeong/team-shinchan/tree/main/skills/budget
Command: npx skills add https://github.com/seokan-jeong/team-shinchan --skill team-shinchan-budget

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide transparent tracking and safe control of turn budgets for active Team-Shinchan workflows so agents cannot exceed allocated turn limits or burn tokens unexpectedly.

Core Features & Use Cases

  • Status Reporting: Read the active WORKFLOW_STATE.yaml and work-tracker to show current total and phase usage, session turns, and status indicators (On Track / WARNING / EXCEEDED).
  • Budget Configuration: Set total or phase turn budgets and ensure a budget section is created if missing.
  • Counter Management: Reset used_total and/or used_phase counters when advancing phases or restarting workflows.
  • Use Case: Before a high-cost planning session, inspect the budget status and increase the phase budget to avoid automatic enforcement stoppages during development.

Quick Start

Use the /team-shinchan:budget command to display the active workflow's budget status or to set and reset total and phase counters.

Frequently Asked Questions about team-shinchan:budget

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

FAQPage Schema
How do I monitor workflow turn budgets to prevent agents from burning tokens unexpectedly?

Monitor workflow turn budgets by reading the active WORKFLOW_STATE.yaml and work-tracker.jsonl events to display current total usage, phase usage, and status indicators like On Track, WARNING, or EXCEEDED. This prevents agents from exceeding allocated turn limits.

How do I set or reset turn budget counters when advancing workflow phases?

Reset turn budget counters by updating the used_total and used_phase values in WORKFLOW_STATE.yaml. This is necessary when advancing phases or restarting workflows so that phase-specific token tracking starts fresh.

What is a turn budget in a YAML workflow state file and when do I need to configure it?

A turn budget in a YAML workflow state file defines the maximum session turns allocated for total and phase-specific execution. You need to configure it before high-cost planning sessions to avoid automatic enforcement stoppages during development.

Can I create a budget section in WORKFLOW_STATE.yaml if one is missing?

Yes, you can create a budget section in WORKFLOW_STATE.yaml if one is missing. The system validates the file and automatically adds the required budget structure with total and phase values to ensure safe control of allocated turn limits.

Why does my workflow stop automatically before finishing the allocated session turns?

Your workflow stops automatically because the used_total or used_phase counters in WORKFLOW_STATE.yaml have reached the configured turn budget limits, triggering an EXCEEDED status to prevent burning tokens unexpectedly.

Does the budget tracker work with any YAML workflow file or only Team-Shinchan workflows?

The turn budget tracker applies specifically to Team-Shinchan workflows. It locates the most recently modified .shinchan-docs/*/WORKFLOW_STATE.yaml and counts current session turns from .shinchan-docs/work-tracker.jsonl events to compute effective usage.