MCPcopy Create free account
hub / github.com/garrytan/gstack / getSkillBudget

Function getSkillBudget

scripts/brain-cache-spec.ts:230–234  ·  view source on GitHub ↗
(skillName: string)

Source from the content-addressed store, hash-verified

228
229/** Returns the per-skill total digest budget in bytes. */
230export function getSkillBudget(skillName: string): number {
231 const budget = SKILL_PREFLIGHT_BUDGET_BYTES[skillName];
232 if (budget == null) throw new Error(`Skill not registered for brain preflight: ${skillName}`);
233 return budget;
234}
235
236/**
237 * Given a write-path identifier (skill name or special token), returns the list

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected