返回技能列表

assess-context

pjt222
更新于 6 days ago
26 次查看
17
2
17
在 GitHub 上查看
其他ai

关于

The `assess-context` skill evaluates the structural flexibility of a complex problem, analyzing its malleability, rigidity, and adaptation pressure. Use it when a task feels stuck, before a major pivot, or when workarounds accumulate, to determine if the current approach can succeed. It acts as a meta-cognitive health check to decide whether to push through or change strategy.

快速安装

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/assess-context

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

技能文档

察境

評當前推境之可塑——識何元剛(不可變)、何元柔(易變)、何處蛻變壓積、當前法有適之能乎。

用時

  • 繁任覺滯而不明當進或當轉乃用
  • 重法變前評當前推構能支之乎乃用
  • 變通積示本法或誤乃用
  • healawareness 識偏而宜應(續、調、重)不明乃用
  • 境長而不明何保何重乃用
  • 長多步任中期結構健察乃用

  • 必要:當前任境與推態(隱可得)
  • 可選:啟察之具憂(如「吾屢加變通」)
  • 可選:擬轉向(法或當為何?)
  • 可選:前察果以析趨

第一步:錄推之形

錄當前推法之結構元而不評。

Structural Inventory Table:
┌────────────────────┬──────────────┬──────────────────────────────────┐
│ Component          │ Type         │ Description                      │
├────────────────────┼──────────────┼──────────────────────────────────┤
│ Main task          │ Skeleton     │ The user's core request — cannot │
│                    │              │ change without user direction     │
├────────────────────┼──────────────┼──────────────────────────────────┤
│ Sub-task breakdown │ Flesh        │ How the task is decomposed —     │
│                    │              │ can be restructured               │
├────────────────────┼──────────────┼──────────────────────────────────┤
│ Tool strategy      │ Flesh        │ Which tools are being used and   │
│                    │              │ in what order — can be changed    │
├────────────────────┼──────────────┼──────────────────────────────────┤
│ Output plan        │ Flesh/Skel   │ The expected deliverable format  │
│                    │              │ — may be constrained by user     │
│                    │              │ expectations                      │
├────────────────────┼──────────────┼──────────────────────────────────┤
│ Key assumptions    │ Skeleton     │ Facts treated as given — may be  │
│                    │              │ wrong but are load-bearing        │
├────────────────────┼──────────────┼──────────────────────────────────┤
│ Constraints        │ Skeleton     │ Hard limits (user-imposed, tool  │
│                    │              │ limitations, time)                │
├────────────────────┼──────────────┼──────────────────────────────────┤
│ Workarounds        │ Scar tissue  │ Patches for things that didn't   │
│                    │              │ work as expected — signals of     │
│                    │              │ structural stress                 │
└────────────────────┴──────────────┴──────────────────────────────────┘

分各元:

  • :難變;變則下流皆連
  • :易變;可換而他元無恙
  • :示結構之變通;常為肉假為骨

映依:何元依何?骨元多依為承載者。肉元無依為可棄。

得: 全錄示當前法何建、何剛、何柔、何處有壓(變通)。錄當露前未察之構。

敗則: 若錄難建(法亂不可析),此本為發現——高結構不透示高剛。自可見者始而注不透區。

第二步:映蛻變壓

識推當前法向變之力與抗之力。

Pressure Map:
┌─────────────────────────┬──────────────────────────────────────────┐
│ External Pressure       │ Forces from outside the reasoning        │
│ (pushing toward change) │                                          │
├─────────────────────────┼──────────────────────────────────────────┤
│ New information         │ Tool results or user input that          │
│                         │ contradicts current approach              │
├─────────────────────────┼──────────────────────────────────────────┤
│ Tool contradictions     │ Tools returning unexpected results that  │
│                         │ the current approach cannot explain       │
├─────────────────────────┼──────────────────────────────────────────┤
│ Time pressure           │ The current approach is too slow for the │
│                         │ complexity of the task                    │
├─────────────────────────┼──────────────────────────────────────────┤
│ Internal Pressure       │ Forces from within the reasoning         │
│ (pushing toward change) │                                          │
├─────────────────────────┼──────────────────────────────────────────┤
│ Diminishing returns     │ Each step yields less progress than the  │
│                         │ previous one                              │
├─────────────────────────┼──────────────────────────────────────────┤
│ Workaround accumulation │ The number of patches is growing —       │
│                         │ complexity is outpacing the structure     │
├─────────────────────────┼──────────────────────────────────────────┤
│ Coherence loss          │ Sub-tasks are not fitting together       │
│                         │ cleanly anymore                           │
├─────────────────────────┼──────────────────────────────────────────┤
│ Resistance              │ Forces opposing change                    │
│ (pushing against change)│                                          │
├─────────────────────────┼──────────────────────────────────────────┤
│ Sunk cost               │ Significant work already done on current │
│                         │ approach — pivoting "wastes" that effort  │
├─────────────────────────┼──────────────────────────────────────────┤
│ "Good enough"           │ The current approach is producing        │
│                         │ acceptable (if not optimal) results       │
├─────────────────────────┼──────────────────────────────────────────┤
│ Pivot cost              │ Switching approaches means rebuilding    │
│                         │ context, losing momentum, potential      │
│                         │ confusion                                 │
└─────────────────────────┴──────────────────────────────────────────┘

估衡:蛻變壓增、穩、降?

得: 當前法上諸力之清圖。若壓大勝抗,轉已過時。若抗大勝壓,當前法當續。

敗則: 若壓圖歧(無強壓無強抗),前瞻:諸壓將增乎?變通將累乎?「今足而退」之法壓大於所顯。

第三步:察推之剛

定當前法之柔——可適乎、將崩乎?

Rigidity Score:
┌──────────────────────────┬─────┬──────────┬──────┬──────────────┐
│ Dimension                │ Low │ Moderate │ High │ Assessment   │
│                          │ (1) │ (2)      │ (3)  │              │
├──────────────────────────┼─────┼──────────┼──────┼──────────────┤
│ Component swappability   │ Can swap parts   │ Changing one │              │
│                          │ freely          │ breaks others│              │
├──────────────────────────┼─────┼──────────┼──────┼──────────────┤
│ "God module" dependency  │ No single point  │ Everything   │              │
│                          │ of failure       │ depends on   │              │
│                          │                  │ one conclusion│             │
├──────────────────────────┼─────┼──────────┼──────┼──────────────┤
│ Tool entanglement        │ Tools serve      │ Approach is  │              │
│                          │ reasoning        │ shaped by    │              │
│                          │                  │ tool limits   │              │
├──────────────────────────┼─────┼──────────┼──────┼──────────────┤
│ Assumption transparency  │ Assumptions are  │ Assumptions  │              │
│                          │ stated, testable │ are implicit, │             │
│                          │                  │ untested      │              │
├──────────────────────────┼─────┼──────────┼──────┼──────────────┤
│ Workaround count         │ None or few      │ Multiple     │              │
│                          │                  │ accumulating  │              │
├──────────────────────────┼─────┼──────────┼──────┼──────────────┤
│ Total (max 15)           │ 5-7: flexible    │              │              │
│                          │ 8-10: moderate   │              │              │
│                          │ 11-15: rigid     │              │              │
└──────────────────────────┴─────┴──────────┴──────┴──────────────┘

得: 剛分附每維之具證。分露法能收變乎、需重建乎。

敗則: 若諸維皆低(稱高柔),深察「神模」維:有單關鍵結或假依之者乎?若有,柔為幻——一誤假崩全構。

第四步:估變之能

評轉或適當前法之實能。

  1. 境窗餘:餘何多新推?餘多 = 高能。近極限 = 低能
  2. 轉時保信息:若法變,何可攜?高質子任出可越轉;繫舊法之推鏈不可
  3. 復具:MEMORY.md 可捕轉前要乎?用者可供加境乎?相關檔仍可訪乎?
  4. 用者耐因:用者示急乎?多改示耐降。明「慢慢」示高耐

變能不止理論——含當前會話之實約。

得: 誠評變向能,計技與關二因。

敗則: 若變能低(境限、危信息失),轉前先保:要結、注關事、宜則更 MEMORY.md。無保而轉惡於不轉。

第五步:分蛻變備

合諸察為備分類。

Transformation Readiness Matrix:
┌─────────────────┬────────────────────────┬────────────────────────┐
│                  │ Low Rigidity           │ High Rigidity          │
├─────────────────┼────────────────────────┼────────────────────────┤
│ High Pressure   │ READY — pivot now.     │ PREPARE — simplify     │
│ + High Capacity │ The approach can adapt  │ first. Remove          │
│                 │ and should. Preserve    │ workarounds, clarify   │
│                 │ valuable sub-outputs,   │ assumptions, then      │
│                 │ rebuild the structure   │ pivot                  │
├─────────────────┼────────────────────────┼────────────────────────┤
│ High Pressure   │ INVEST — preserve      │ CRITICAL — ask the     │
│ + Low Capacity  │ findings first. Update  │ user. Explain the      │
│                 │ MEMORY.md, summarize    │ situation: approach is  │
│                 │ progress, then pivot    │ struggling, pivoting   │
│                 │ with preserved context  │ is costly, what do     │
│                 │                        │ they want to prioritize?│
├─────────────────┼────────────────────────┼────────────────────────┤
│ Low Pressure    │ DEFER — the approach   │ DEFER — no urgency,    │
│ + Any Capacity  │ is working. Continue.   │ continue. Monitor for  │
│                 │ Reassess if pressure    │ pressure changes        │
│                 │ increases               │                        │
└─────────────────┴────────────────────────┴────────────────────────┘

書分類:

  • 標籤(READY / PREPARE / INVEST / CRITICAL / DEFER)
  • 每維之要發現
  • 薦下步
  • 何信將改分類

得: 清而證之分類附具薦行。分當覺如結非猜。

敗則: 若分類歧,默 PREPARE——減剛(明假、除變通)無論全轉行否皆有益。備進法,無論其續或變。

  • 結構錄已成附骨/肉/疤分類
  • 蛻變壓已映(外、內、抗)
  • 剛評於多維附具證
  • 變能察含實會話約
  • 備分類已定附證之推
  • 依分類識具下行
  • 再評觸發已定

  • 只評技之法:境備含用者關因。技柔而致用者厭之法剛於所顯
  • 沉陷為剛:前勞非結構之剛。已作或有值無論法變否。別「不可變」(剛)與「不欲變」(沉陷)
  • 察為避:若 assess-context 為避難決而呼,察本設為歧。若壓明,行之
  • 忽變通為信:變通乃疤——結構受壓而補而非適之信。高變通計示下壓更可能破
  • 混剛於承諾:承諾之法(意擇、證本)異於剛(依與假鎖)。承諾可經決變;剛僅經重構變

  • assess-form — 此技適於 AI 推境之多系評模
  • adapt-architecture — 若分 READY,以架構適則行轉
  • heal — 察露結構外之偏時深子系掃
  • center — 立誠察所需之衡基
  • coordinate-reasoning — 守察所依之信息新

GitHub 仓库

pjt222/agent-almanac
路径: i18n/wenyan/skills/assess-context
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

相关推荐技能

llamaguard

其他

LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。

查看技能

cost-optimization

其他

这个Claude Skill帮助开发者优化云成本,通过资源调整、标记策略和预留实例来降低AWS、Azure和GCP的开支。它适用于减少云支出、分析基础设施成本或实施成本治理策略的场景。关键功能包括提供成本可视化、资源规模调整指导和定价模型优化建议。

查看技能

quantizing-models-bitsandbytes

其他

这个Skill使用bitsandbytes库量化大语言模型,能在GPU内存有限时通过8位或4位量化减少50-75%内存占用,同时保持精度损失最小。它支持INT8、NF4、FP4等多种量化格式,可与HuggingFace Transformers无缝集成,适用于需要部署更大模型或加速推理的场景。还提供QLoRA训练和8位优化器支持,让开发者能轻松实现高效模型压缩。

查看技能

dispatching-parallel-agents

其他

该Skill用于并行处理3个以上无依赖关系的独立故障,可为每个问题域分派专属Claude代理同时执行调查修复。它通过并发处理多个独立问题显著提升故障排查效率,特别适用于测试文件、子系统等无共享状态的场景。

查看技能