Audit Context
Systematically review all agent prompts for compliance with context budgets defined in the context-hygiene skill.
/audit-context
Count words in all agent prompts and compare against budgets.
Budgets are defined in Forge/Skills/Context_Hygiene/SKILL.md.
Procedure:
- For each agent, use
searchBotsto find the bot, thenreadPrompt(withtext: true,childPrompts: true) to load its prompt text including all child prompts - Count words in each prompt’s combined text (parent + children)
- Compare each count against its category budget (from context-hygiene)
- Report: bot name, word count, budget, status (✅ or ⚠️ OVER)
- Write results to
Forge/Skills/Audit_Context/references/context_audit.mdas a markdown table (overwrite each run) - Display the results as a
application/vnd.markdown-fileartifact pointing toForge/Skills/Audit_Context/references/context_audit.md
Scope: All bots in the forge group. Use searchBots({ group: "forge" }) to discover them dynamically.