system2-attention
System 2 attention mechanisms for deliberate, slow reasoning in transformer architectures.
Profile →npx skills add majiayu000/claude-skill-registry --skill system2-attention-plurigrid-asi-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# System 2 Attention Skill: Deliberate Reasoning Validation **Status**: ✅ Production Ready **Trit**: -1 (MINUS - validator/constraint) **Color**: #2626D8 (Blue) **Principle**: Filter noise via deliberate re-attention **Frame**: Two-stage attention with explicit reasoning --- ## Overview **System 2 Attention** (S2A) validates and filters transformer attention by regenerating context deliberately. Standard attention (System 1) is fast but susceptible to sycophancy and irrelevant context. S2A re-attends after explicit reasoning. 1. **Context regeneration**: LLM rewrites context removing irrelevant info 2. **Two-pass attention**: Fast then deliberate 3. **Sycophancy reduction**: Filter opinion-seeking noise 4. **Factual grounding**: Anchor to verified facts ## Core Pattern ``` S2A(x, context): # System 1: fast pattern matching context_filtered = LLM("Extract only relevant facts from: {context}") # System 2: deliberate reasoning on clean context return LLM(x, context=context_filtered) ``` ```python def system2_attention(query: str, context: str, model) -> str: # Stage 1: Regenerate context (remove sycophantic/irrelevant) filter_prompt = f"""Given the context below, extract only the obje
- Overview
- Core Pattern
- Key Concepts
- 1. Context Filtering
- 2. Two-Pass Architecture
- 3. Factual Grounding Validator
- Commands
- Integration with GF(3) Triads
- Related Skills
Apply S2A filtering just s2a-filter context.txt query.txt Measure sycophancy reduction just s2a-sycophancy-test model responses/ Validate factual grounding just s2a-grounding response.txt facts.txt
What does the system2-attention skill do?
System 2 attention mechanisms for deliberate, slow reasoning in transformer architectures.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill system2-attention-plurigrid-asi-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.