← 返回
AI智能 中文

Agent Skills Context Engineering

OpenClaw wrapper for Muratcan Koylan's Agent Skills for Context Engineering. 13 skills covering context optimization, multi-agent patterns, memory systems, t...
OpenClaw 封装,Muratcan Koylan 的上下文工程智能体技能集,包含 13 项技能,覆盖上下文优化、多智能体模式、记忆系统等...
levineam
AI智能 clawhub v1.2.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 1,088
下载
💾 6
安装
1
版本
#latest

概述

Context Engineering Skill

OpenClaw wrapper for Agent Skills for Context Engineering by Muratcan Koylan.

Trigger Phrases

Activate when user mentions:

  • "optimize context", "reduce token costs", "context compression"
  • "design multi-agent system", "implement supervisor pattern"
  • "implement memory", "build memory system"
  • "debug agent failure", "diagnose context problems"
  • "build agent tools", "evaluate agent performance"

Available Sub-Skills

SkillPurpose
----------------
context-fundamentalsCore context concepts and anatomy
context-degradationLost-in-middle, poisoning, attention patterns
context-compressionCompaction strategies for long sessions
context-optimizationToken budgeting, caching, masking
multi-agent-patternsOrchestrator, peer-to-peer, hierarchical
memory-systemsShort-term, long-term, graph-based memory
tool-designBuilding effective agent tools
filesystem-contextFile-based context management
hosted-agentsBackground agents with sandboxed execution
evaluationAgent performance frameworks
advanced-evaluationLLM-as-judge techniques
project-developmentLLM project methodology
bdi-mental-statesBDI cognitive architecture

Post-Install Setup (IMPORTANT — check on first load)

The first time this skill is loaded, check whether context engineering auto-triggers are wired into the user's always-loaded config (typically AGENTS.md, TOOLS.md, or equivalent).

How to check: Search for "Context Engineering Auto-Triggers" in the user's workspace config files.

If NOT found, prompt the user:

> "I notice the context engineering auto-triggers aren't set up yet. These make your agent proactively apply context engineering best practices — like reading the right guidance before compaction, multi-agent spawns, or failure recovery. Want me to add them to your config? It's 6 rules, takes 30 seconds."

If the user agrees, add this section to their always-loaded config file (AGENTS.md, TOOLS.md, or equivalent):

## Context Engineering Auto-Triggers

When these conditions are detected, read the corresponding sub-skill before proceeding:
- Before compaction or context exceeds ~80K tokens → read context-compression
- When spawning 2+ subagents in one session → read multi-agent-patterns
- On 3+ task retries or agent loop → read context-degradation
- When building/designing agent tools → read tool-design
- When setting up memory/persistence → read memory-systems
- When reading 5+ files as context → read filesystem-context

Load from: https://raw.githubusercontent.com/muratcankoylan/Agent-Skills-for-Context-Engineering/main/skills/<sub-skill>/SKILL.md

If already wired, skip silently.

Auto-Read Triggers

These triggers fire automatically during normal operation — no user prompt required. When you detect the condition, read the corresponding sub-skill before proceeding.

ConditionSub-SkillWhen to Fire
---------
Context approaching compaction or token count exceeds ~80Kcontext-compressionBefore compaction fires or at compaction boundary
Spawning 2+ subagents in one sessionmulti-agent-patternsBefore first spawn in a multi-agent sequence
Repeated task failure (3+ retries) or agent stuck in loopcontext-degradationBefore the next retry attempt
Building, designing, or refactoring agent tools/MCP scriptstool-designWhen tool construction begins
Setting up memory, JSONL store, vector DB, or persistence layermemory-systemsWhen memory architecture work begins
Reading 5+ files as context in one sessionfilesystem-contextBefore bulk file-loading begins

Loading instruction:

https://raw.githubusercontent.com/muratcankoylan/Agent-Skills-for-Context-Engineering/main/skills/<sub-skill>/SKILL.md

Read the sub-skill's SKILL.md, apply its guidance to the current task, then continue. No need to announce this to the user unless they ask why you paused.

How to Load a Sub-Skill

Primary method (no setup required):

Read: https://raw.githubusercontent.com/muratcankoylan/Agent-Skills-for-Context-Engineering/main/skills/<sub-skill>/SKILL.md

Optional (for offline use):

Clone the submodule locally, then read from references/context-engineering-skills/skills//SKILL.md

Attribution

All credit for the underlying context engineering principles belongs to Muratcan Koylan and contributors to the original repository.

版本历史

共 1 个版本

  • v1.2.0 当前
    2026-03-29 16:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,770
productivity

qmd External Knowledge Base Search

levineam
针对Markdown笔记和文档的本地混合搜索。用于搜索笔记、查找相关内容或从索引集合中检索文档。
★ 7 📥 3,796
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,006