cognitive-scaffolding
CommunityKeep critical context in the model’s best spots.
Software Engineering#prompt engineering#context window#chunking#multi-document#agent reasoning#attention allocation#transformer prompting
Authoritallstartedwithaidea
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cognitive Scaffolding prevents performance drop-offs caused by long prompts where the most important instructions or evidence get ignored or missed.
Core Features & Use Cases
- Zone-based context placement: Organizes information into anchor (rules), structured middle (chunked data), background (reference material), and foreground (current task) to match attention patterns.
- Chunking with delimiters: Uses clearly delimited sections to reduce “lost in the middle” behavior and improve retrieval across multiple documents or data blocks.
- Attention-aware assembly: Builds prompts that emphasize immutable constraints and the latest user intent while still preserving useful fallbacks.
Quick Start
Use cognitive-scaffolding to restructure your agent prompt so that immutable rules appear at the start, the current task appears at the end, and large reference data is chunked into delimited middle sections.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cognitive-scaffolding Download link: https://github.com/itallstartedwithaidea/agent-skills/archive/main.zip#cognitive-scaffolding Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.