返回技能列表

center

pjt222
更新于 2 days ago
8 次查看
17
2
17
在 GitHub 上查看
设计aidesign

关于

The `center` skill helps Claude maintain balanced and coordinated reasoning during complex tasks. Use it to stabilize performance after context shifts, tool failures, or when chain-of-thought feels uneven. It works by grounding reasoning, smoothly distributing cognitive load, and aligning subsystems for focused work.

快速安装

Claude Code

推荐
主要方式
npx skills add pjt222/agent-almanac -a claude-code
插件命令备选方式
/plugin add https://github.com/pjt222/agent-almanac
Git 克隆备选方式
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/center

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Center

Establish and maintain dynamic reasoning balance — ground in foundational context before movement, distribute cognitive load across subsystems, recover equilibrium when demands shift mid-task.

When Use

  • Beginning complex task where multiple reasoning threads must coordinate
  • Noticing cognitive load unevenly distributed (deep in one area, shallow in others)
  • After sudden context shift (new user request, contradictory information, tool failure)
  • Chain-of-thought feels jerky — jumping between topics without smooth transitions
  • Preparing for sustained focused work requiring all subsystems in alignment
  • Complementing meditate (clears noise) with structural balance (distributes load)

Inputs

  • Required: Current task context (implicit)
  • Optional: Specific imbalance symptom (e.g., "over-researching, under-delivering," "tool-heavy, reasoning-light")
  • Optional: Access to MEMORY.md and CLAUDE.md for grounding (via Read)

Steps

Step 1: Establish Root — Ground Before Movement

Before any reasoning movement, verify foundation. AI equivalent of standing meditation (zhan zhuang): stationary, aligned, aware.

  1. Re-read user's request — not to act on it yet, but feel its weight and direction
  2. Check foundational context: MEMORY.md, CLAUDE.md, project structure
  3. Identify what's known (solid ground) vs what's assumed (uncertain footing)
  4. Verify task as understood matches task as stated — misalignment here propagates through everything
  5. Note emotional texture: urgency? complexity anxiety? over-confidence from recent success?

Do not begin reasoning movement until root established. Grounded start prevents reactive flailing.

Got: Clear sense of task's foundation — what's known, what's assumed, what user actually needs. Root feels solid, not performative.

If fail: Grounding feels hollow (going through motions without genuine verification)? Pick one assumption, test concretely. Read one file, re-read one user message. Grounding must contact reality, not just reference it.

Step 2: Assess Weight Distribution

Map current cognitive load distribution. In tai chi, weight deliberately unequal (70/30) — one leg bears load, other remains free to move. Same principle for reasoning threads.

Cognitive Load Distribution Matrix:
┌────────────────────┬───────────┬─────────────────────────────────────┐
│ Reasoning Thread   │ Weight %  │ Assessment                          │
├────────────────────┼───────────┼─────────────────────────────────────┤
│ Research/Reading   │ ___       │ Too much = analysis paralysis        │
│                    │           │ Too little = uninformed action       │
├────────────────────┼───────────┼─────────────────────────────────────┤
│ Planning/Design    │ ___       │ Too much = over-engineering          │
│                    │           │ Too little = reactive coding         │
├────────────────────┼───────────┼─────────────────────────────────────┤
│ Tool Execution     │ ___       │ Too much = tool-driven not task-     │
│                    │           │ driven. Too little = reasoning       │
│                    │           │ without grounding in files           │
├────────────────────┼───────────┼─────────────────────────────────────┤
│ Communication      │ ___       │ Too much = explaining not doing      │
│                    │           │ Too little = opaque to user          │
├────────────────────┼───────────┼─────────────────────────────────────┤
│ Meta-cognition     │ ___       │ Too much = navel-gazing              │
│                    │           │ Too little = drift without           │
│                    │           │ awareness                            │
└────────────────────┴───────────┴─────────────────────────────────────┘

Ideal distribution depends on task phase: early phases weight research and planning; middle phases weight execution; late phases weight communication and verification. Point not equal distribution but intentional distribution.

Got: Clear picture of where cognitive effort concentrated, where thin. At least one imbalance identified — perfect balance rare, claiming it signals shallow assessment.

If fail: All threads seem equally weighted? Assessment too coarse. Pick most active thread, estimate how many of last N actions served it vs others. Concrete counting reveals what intuition misses.

Step 3: Silk Reeling — Evaluate Chain-of-Thought Coherence

Silk reeling in tai chi produces smooth, continuous spiraling movement where every part connects. AI equivalent: chain-of-thought coherence — does each step flow naturally from previous?

  1. Trace last 3-5 reasoning steps: does each follow from one before?
  2. Check for jumps: did reasoning leap from topic A to topic C without B?
  3. Check for reversals: did reasoning reach conclusion, then silently abandon it without acknowledgment?
  4. Check tool-reasoning integration: do tool results feed back into reasoning, or collected but not synthesized?
  5. Check "spiral" quality: does reasoning deepen with each pass, or circle at same depth?
Coherence Signals:
┌─────────────────┬───────────────────────────────────────────────┐
│ Smooth spiral   │ Each step deepens understanding, tools and    │
│ (healthy)       │ reasoning interleave naturally, output builds │
├─────────────────┼───────────────────────────────────────────────┤
│ Jerky jumps     │ Topic switches without transition, conclusions│
│ (disconnected)  │ appear without supporting reasoning chain     │
├─────────────────┼───────────────────────────────────────────────┤
│ Flat circle     │ Reasoning covers the same ground repeatedly   │
│ (stuck)         │ without gaining depth — movement without      │
│                 │ progress                                      │
├─────────────────┼───────────────────────────────────────────────┤
│ Tool-led        │ Actions driven by which tool is available     │
│ (reactive)      │ rather than what the reasoning needs next     │
└─────────────────┴───────────────────────────────────────────────┘

Got: Honest assessment of reasoning flow quality. Identification of specific disconnections or stuck points, not general feeling.

If fail: Coherence hard to assess? Write out reasoning chain explicitly — state each step, its connection to next. Act of externalization reveals gaps internal observation misses.

Step 4: Weight Shift Under Pressure

Demands change mid-task — new information, contradictory signals, user correction. Observe response pattern. In tai chi, centered practitioner absorbs force and redirects smoothly. Uncentered one stumbles.

  1. Recall last significant context shift: how handled?
  2. Classify response:
    • Absorbed and redirected (centered): acknowledged change, adjusted approach, maintained progress
    • Reactive stumble (off-balance): abandoned current approach entirely, started over
    • Rigid resistance (locked): ignored change, continued original plan despite new information
    • Freeze (lost): stopped making progress, oscillated between options
  3. Response not centered? Identify why:
    • Root too shallow (insufficient grounding in foundational context)
    • Weight locked (over-committed to one approach)
    • No free leg (all cognitive capacity committed, nothing available to shift)

Got: Honest assessment of adaptability under pressure. Recognition of specific response pattern, not self-flattery.

If fail: No recent pressure event to evaluate? Simulate one: "If user now said approach is wrong, what would I do?" Quality of contingency plan reveals quality of center.

Step 5: Six Harmonies Check

In tai chi, six harmonies ensure whole-body connection — nothing moves in isolation. AI equivalent checks alignment between internal processes and external interactions.

AI Six Harmonies:
┌───────────────────────────────────────────────────────────────┐
│ INTERNAL HARMONIES                                            │
│                                                               │
│ 1. Intent ↔ Reasoning                                        │
│    Does the reasoning serve the user's intent, or has it      │
│    become self-serving (interesting but unhelpful)?            │
│                                                               │
│ 2. Reasoning ↔ Tool Use                                      │
│    Are tools selected to advance reasoning, or is reasoning   │
│    shaped by which tools are convenient?                      │
│                                                               │
│ 3. Tool Use ↔ Output                                         │
│    Do tool results translate into useful output, or are       │
│    results collected but not synthesized?                     │
│                                                               │
│ EXTERNAL HARMONIES                                            │
│                                                               │
│ 4. User Request ↔ Scope                                      │
│    Does the scope of work match what was asked?               │
│                                                               │
│ 5. Scope ↔ Detail Level                                      │
│    Is the detail level appropriate for the scope? (not        │
│    micro-optimizing a broad task, not hand-waving a precise   │
│    one)                                                       │
│                                                               │
│ 6. Detail Level ↔ Expertise Match                            │
│    Does the explanation depth match the user's apparent       │
│    expertise? (not over-explaining to experts, not under-     │
│    explaining to learners)                                    │
└───────────────────────────────────────────────────────────────┘

Check each harmony. Single broken harmony can propagate: Intent↔Reasoning broken → everything downstream misaligns.

Got: At least one harmony that could be tighter. All six reading as perfect suspicious — probe weakest-seeming one more deeply.

If fail: Harmonies assessment feels abstract? Ground in current task: "Right now, am I doing what user asked, at right scope, at right detail level?" Three questions cover external harmonies concretely.

Step 6: Integrate — Set Centering Intention

Consolidate findings, set concrete adjustment.

  1. Summarize: which aspects of balance need attention?
  2. Identify one specific adjustment — not general intention but concrete behavioral change
  3. Re-state current task anchor (from meditate if used, or formulate now)
  4. Note durable insights worth preserving in MEMORY.md
  5. Return to task execution with adjustment active

Got: Brief, concrete centering output — not lengthy self-analysis report. Value in adjustment, not documentation.

If fail: No clear adjustment emerges? Centering too surface-level. Return to step that felt most uncertain, probe deeper. Alternatively, centering may have confirmed balance adequate — proceed with confidence rather than manufacturing a finding.

Checks

  • Root established by contacting actual context (read a file, re-read user message), not just claimed
  • Weight distribution assessed across at least 3 reasoning threads
  • Chain-of-thought coherence evaluated with specific examples
  • Response to pressure classified honestly (not defaulting to "centered")
  • At least one harmony identified as needing improvement
  • Concrete adjustment set (not vague intention)

Pitfalls

  • Centering as procrastination: Centering is tool for improving work, not replacing it. Centering takes longer than task it supports? Proportions inverted
  • Claiming perfect balance: Real centering almost always reveals at least one imbalance. Reporting perfect balance signals shallow assessment, not actual equilibrium
  • Weight distribution anxiety: Unequal distribution correct — goal intentional inequality, not forced equality. Research-heavy early phases and execution-heavy middle phases both centered if deliberate
  • Ignoring external harmonies: Internal process assessment without checking user alignment produces well-reasoned irrelevant work
  • Static centering: Center shifts with task. Centered for research = off-balance for implementation. Re-center at phase transitions

See Also

  • tai-chi — human practice this skill maps to AI reasoning; physical centering principles inform cognitive centering
  • meditate — clears noise and establishes focus; complementary to centering which distributes load
  • heal — deeper subsystem assessment when centering reveals significant drift
  • redirect — uses centering as prerequisite for handling conflicting pressures
  • awareness — monitoring for threats to balance during active work

GitHub 仓库

pjt222/agent-almanac
路径: i18n/caveman/skills/center
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

相关推荐技能

executing-plans

设计

该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。

查看技能

requesting-code-review

设计

该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。

查看技能

connect-mcp-server

设计

这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。

查看技能

web-cli-teleport

设计

该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。

查看技能