← 返回 Skills 市场
daviesjoin-afk

Agent Skills Context

作者 daviesjoin-afk · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
297
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-skills-context
功能描述
A comprehensive collection of Agent Skills for context engineering, multi-agent architectures, and production agent systems. Use when building, optimizing, o...
使用说明 (SKILL.md)

\r \r

Agent Skills for Context Engineering\r

\r This collection provides structured guidance for building production-grade AI agent systems through effective context engineering.\r \r

When to Activate\r

\r Activate these skills when:\r

  • Building new agent systems from scratch\r
  • Optimizing existing agent performance\r
  • Debugging context-related failures\r
  • Designing multi-agent architectures\r
  • Creating or evaluating tools for agents\r
  • Implementing memory and persistence layers\r \r

Skill Map\r

\r

Foundational Context Engineering\r

\r Understanding Context Fundamentals\r Context is not just prompt text—it is the complete state available to the language model at inference time, including system instructions, tool definitions, retrieved documents, message history, and tool outputs. Effective context engineering means understanding what information truly matters for the task at hand and curating that information for maximum signal-to-noise ratio.\r \r Recognizing Context Degradation\r Language models exhibit predictable degradation patterns as context grows: the "lost-in-middle" phenomenon where information in the center of context receives less attention; U-shaped attention curves that prioritize beginning and end; context poisoning when errors compound; and context distraction when irrelevant information overwhelms relevant content.\r \r

Architectural Patterns\r

\r Multi-Agent Coordination\r Production multi-agent systems converge on three dominant patterns: supervisor/orchestrator architectures with centralized control, peer-to-peer swarm architectures for flexible handoffs, and hierarchical structures for complex task decomposition. The critical insight is that sub-agents exist primarily to isolate context rather than to simulate organizational roles.\r \r Memory System Design\r Memory architectures range from simple scratchpads to sophisticated temporal knowledge graphs. Vector RAG provides semantic retrieval but loses relationship information. Knowledge graphs preserve structure but require more engineering investment. The file-system-as-memory pattern enables just-in-time context loading without stuffing context windows.\r \r Filesystem-Based Context\r The filesystem provides a single interface for storing, retrieving, and updating effectively unlimited context. Key patterns include scratch pads for tool output offloading, plan persistence for long-horizon tasks, sub-agent communication via shared files, and dynamic skill loading. Agents use ls, glob, grep, and read_file for targeted context discovery, often outperforming semantic search for structural queries.\r \r Hosted Agent Infrastructure\r Background coding agents run in remote sandboxed environments rather than on local machines. Key patterns include pre-built environment images refreshed on regular cadence, warm sandbox pools for instant session starts, filesystem snapshots for session persistence, and multiplayer support for collaborative agent sessions. Critical optimizations include allowing file reads before git sync completes (blocking only writes), predictive sandbox warming when users start typing, and self-spawning agents for parallel task execution.\r \r Tool Design Principles\r Tools are contracts between deterministic systems and non-deterministic agents. Effective tool design follows the consolidation principle (prefer single comprehensive tools over multiple narrow ones), returns contextual information in errors, supports response format options for token efficiency, and uses clear namespacing.\r \r

Operational Excellence\r

\r Context Compression\r When agent sessions exhaust memory, compression becomes mandatory. The correct optimization target is tokens-per-task, not tokens-per-request. Structured summarization with explicit sections for files, decisions, and next steps preserves more useful information than aggressive compression. Artifact trail integrity remains the weakest dimension across all compression methods.\r \r Context Optimization\r Techniques include compaction (summarizing context near limits), observation masking (replacing verbose tool outputs with references), prefix caching (reusing KV blocks across requests), and strategic context partitioning (splitting work across sub-agents with isolated contexts).\r \r Evaluation Frameworks\r Production agent evaluation requires multi-dimensional rubrics covering factual accuracy, completeness, tool efficiency, and process quality. Effective patterns include LLM-as-judge for scalability, human evaluation for edge cases, and end-state evaluation for agents that mutate persistent state.\r \r

Development Methodology\r

\r Project Development\r Effective LLM project development begins with task-model fit analysis: validating through manual prototyping that a task is well-suited for LLM processing before building automation. Production pipelines follow staged, idempotent architectures (acquire, prepare, process, parse, render) with file system state management for debugging and caching. Structured output design with explicit format specifications enables reliable parsing. Start with minimal architecture and add complexity only when proven necessary.\r \r

Core Concepts\r

\r The collection is organized around three core themes. First, context fundamentals establish what context is, how attention mechanisms work, and why context quality matters more than quantity. Second, architectural patterns cover the structures and coordination mechanisms that enable effective agent systems. Third, operational excellence addresses the ongoing work of optimizing and evaluating production systems.\r \r

Practical Guidance\r

\r Each skill can be used independently or in combination. Start with fundamentals to establish context management mental models. Branch into architectural patterns based on your system requirements. Reference operational skills when optimizing production systems.\r \r The skills are platform-agnostic and work with Claude Code, Cursor, or any agent framework that supports custom instructions or skill-like constructs.\r \r

Integration\r

\r This collection integrates with itself—skills reference each other and build on shared concepts. The fundamentals skill provides context for all other skills. Architectural skills (multi-agent, memory, tools) can be combined for complex systems. Operational skills (optimization, evaluation) apply to any system built using the foundational and architectural skills.\r \r

References\r

\r Internal skills in this collection:\r

Skill Metadata\r

\r Created: 2025-12-20\r Last Updated: 2025-12-25\r Author: Agent Skills for Context Engineering Contributors\r Version: 1.2.0\r

安全使用建议
This collection appears to be a legitimate, large documentation + example repo for context engineering, but automated scans found prompt-injection patterns and the bundle includes many runnable scripts. Before installing or enabling autonomous use: 1) Search SKILL.md and bundled examples for explicit override directives (phrases like 'ignore previous instructions' or 'override system prompt') and remove or sanitize them. 2) Inspect all install/run scripts (install.sh, any Python/TS examples) for commands that read home directories, network endpoints, or environment variables (e.g., ~/.aws, curl to external hosts). 3) Grep the code for outbound network calls (requests, fetch, curl) and for reads of common credential locations. 4) If you plan to let the agent run code, run it first in an isolated sandbox/container with no secrets mounted. 5) If you are not comfortable auditing, avoid enabling autonomous invocation or restrict the skill to manual invocation only. I have medium confidence because the content otherwise matches the stated purpose, but the prompt-injection and hidden-character findings require manual review to rule out intentional manipulation.
功能分析
Type: OpenClaw Skill Name: agent-skills-context Version: 1.0.0 The skill bundle is a comprehensive and legitimate resource for 'Context Engineering,' providing extensive documentation, architectural patterns, and practical tools for building production-grade AI agents. It includes functional modules for personal knowledge management ('Digital Brain'), reasoning trace optimization ('reasoning_trace_optimizer'), and LLM-based evaluation ('llm-as-judge-skills'). The provided Python and TypeScript code is well-structured, follows industry best practices (such as Zod schema validation and structured output parsing), and aligns perfectly with the stated educational and research goals. While an example script (03_full_optimization.py) uses a restricted eval() for a mock calculator tool, this is a common demonstration pattern and lacks any malicious intent. No indicators of data exfiltration, credential theft, or harmful prompt injection were identified across the documentation or code.
能力评估
Purpose & Capability
Name/description (context engineering, multi-agent patterns) align with included content: extensive docs, examples, and scripts about context, memory, multi-agent coordination and filesystem-as-memory. The presence of many example scripts and SKILL.md files is proportionate to the claimed purpose.
Instruction Scope
SKILL.md explicitly recommends agents use filesystem operations (ls, glob, grep, read_file) and describes patterns like sandboxed hosted agents and dynamic skill loading. That is coherent for the topic, but it means the skill encourages reading files and running scripts. Verify whether any instructions in SKILL.md or bundled scripts instruct the agent to read secrets, walk arbitrary host paths, or send data to external endpoints — such steps would exceed the stated purpose.
Install Mechanism
No install spec (instruction-only) — minimal install risk. However, the package bundles many executable scripts (e.g., install.sh) and Python/TS examples. Because there's no automated installer, these files will not be written or executed automatically by the platform, but if an agent follows the included scripts they could perform filesystem or network actions. Treat bundled scripts as code that requires review before execution.
Credentials
The skill declares no required env vars, binaries, or config paths. That is proportionate to the documentation-style nature of the package. Still review scripts for implicit credential usage (e.g., code that reads ~/.aws, ~/.gitconfig, or environment variables) since the manifest includes runnable examples that may reference common credential locations.
Persistence & Privilege
always is false; the skill is user-invocable and can be autonomously invoked by the agent (platform default). The skill does describe persistent patterns (filesystems, memory stores) but does not itself request persistent privileges or modify other skills' configs in the metadata.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-skills-context
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-skills-context 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the context-engineering-collection skill. - Provides comprehensive guidance on context engineering for AI agent systems. - Covers foundational concepts, architectural patterns, memory design, tool design, and operational best practices. - Includes detailed instructions for optimizing, debugging, and developing multi-agent and production-grade systems. - References internal skill modules and external resources for further learning.
元数据
Slug agent-skills-context
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Agent Skills Context 是什么?

A comprehensive collection of Agent Skills for context engineering, multi-agent architectures, and production agent systems. Use when building, optimizing, o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 297 次。

如何安装 Agent Skills Context?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-skills-context」即可一键安装,无需额外配置。

Agent Skills Context 是免费的吗?

是的,Agent Skills Context 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Skills Context 支持哪些平台?

Agent Skills Context 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Skills Context?

由 daviesjoin-afk(@daviesjoin-afk)开发并维护,当前版本 v1.0.0。

💬 留言讨论