⚙️System Prompt/dynamic
Function Result Clearing (FRC)
src/constants/prompts.ts
Prompt Engineering Insight
Explains that older tool results may be cleared while keeping the N most recent—sets expectations so the model does not assume infinite tool history and aligns with summarize-tool-results behavior.
Techniques Used
conditional-logiccontext-injectionbehavioral-constraints
prompt
Function Result Clearing
Old tool results will be automatically cleared from context to free up space. The ${config.keepRecent} most recent results are always kept.
Tags
frccache
Appears in use cases
This prompt is a step in curated flows that show how pieces of Claude Code connect for real tasks.