← Back to Skills Marketplace
kiwifruit13

AGI记忆模组

by kiwifruit13 · GitHub ↗ · v1.0.10 · MIT-0
cross-platform ⚠ suspicious
197
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install memory-and-context-engineering
Description
用户与模型之间的任何交互行为都可触发;提供Context Engineering五大核心能力(选择、压缩、检索、状态、记忆)及认知模型层支持;作为元技能强制常驻运行
Usage Guidance
This skill is a large, full-featured agent memory system and mostly does what its description says — but treat it as high-impact. Key things to consider before installing: (1) always: true means it will be force-resident and can run on every agent invocation — only install if you understand and accept that. (2) Review credential_manager, encryption, and credential_path logic: check how keys are generated/stored and whether any secrets could be written to disk or exfiltrated. (3) Verify the consent flow in PrivacyManager is actually enforced before any memory persistence occurs (SKILL.md delegates consent presentation to the agent). (4) If you plan to run it, sandbox it (isolated environment, limited file access), set storage_base_path to an audited directory, and ensure Redis/other backends are configured to trusted hosts only. (5) Prefer installing from a known, signed source or request provenance/maintainer details; if you cannot audit the code, do not enable it as always-resident. Providing the maintainer identity, a short audit of credential_manager/encryption code (how keys are stored and rotated), and confirmation that no external endpoints are contacted by default would increase confidence.
Capability Analysis
Type: OpenClaw Skill Name: memory-and-context-engineering Version: 1.0.10 The 'memory-and-context-engineering' skill bundle is a comprehensive and well-architected memory infrastructure for AI agents. It implements a sophisticated four-layer system (Orchestrator, Coordination, Storage, and Infrastructure) designed to manage agent context, cognitive modeling, and long-term memory. Key security features include a PrivacyManager (scripts/privacy.py) for user consent and sensitive data detection, a PermissionBoundaryController (scripts/permission_boundary_controller.py) for access control and data redaction, and a CredentialManager (scripts/credential_manager.py) that utilizes AES-256-GCM encryption for local storage. The code follows modern Python best practices, using Pydantic for data validation and standard libraries for infrastructure (Redis, Tiktoken). No evidence of malicious intent, data exfiltration, or unauthorized execution was found; the 'always: true' resident status is appropriate for its role as a foundational meta-skill.
Capability Tags
cryptorequires-walletrequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description match the included code: many modules implement short/long-term memory, orchestrator, compression, retrieval, encryption, credential manager and privacy. The presence of credential_manager, encryption, and permission_boundary_controller is plausible for a memory system, but those components increase sensitivity and deserve explicit justification; the package does not request any external credentials in registry metadata despite having credential-management code and a credential storage path in SKILL.md.
Instruction Scope
SKILL.md instructs the agent to persist conversation history, capture global state, integrate with agent loops, and set up local storage paths (including a credential storage path). It requires the agent to present and collect user consent but places the responsibility on the agent; this introduces a risk that memory storage could be enabled or misused without an audited consent flow. The instructions also recommend ContextOrchestrator as the unified entrypoint, granting it broad control over memory and state—consistent with purpose but high impact.
Install Mechanism
No install spec in registry (instruction-only), but SKILL.md lists Python dependencies (pydantic, cryptography, redis, tiktoken, mmh3) and gives pip install instructions. Dependencies are plausible for this functionality and come from common PyPI packages; no remote downloads or obscure installers are used in the manifest.
Credentials
The skill declares no required env vars or primary credential, which is conservative. However, the codebase contains a CredentialManager, encryption/key management, Redis adapter, and explicit credential storage paths; these imply it can store and handle secrets locally and connect to external stores if configured. The lack of declared required credentials is not itself malicious but means you should inspect how credentials are created, stored, and protected before use.
Persistence & Privilege
always: true is set and the SKILL.md explicitly describes the skill as a 'meta-skill, forced resident.' A resident memory system with autonomous invocation plus capabilities to capture global agent state, subscribe to events, and persist conversation/state amplifies impact. This persistent presence combined with credential management and state-capture features increases blast radius if misconfigured or malicious.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install memory-and-context-engineering
  3. After installation, invoke the skill by name or use /memory-and-context-engineering
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.10
### 1.0.10 · Major structural upgrade & documentation expansion - Introduced a four-layer architecture with clear separation between control, cognitive, implementation (dual-track), and storage layers; `ContextOrchestrator` as the unified entry point. - Refined "压缩" logic to cover five chain types (causal, logic, operation, narrative, time); added advanced context compression and result fusion strategies. - Added over 30 reference and implementation files, including best practices, troubleshooting, and detailed dual-track/chain logic modules. - Enhanced privacy consent process: explicit agent-side consent handling; clarified process in documentation. - Improved modularity, expandability, and API robustness; updated interfaces for type safety, error handling, and customization. - Expanded and reorganized documentation for architecture, usage examples, API reference, error handling, and integration guides.
v1.0.9
- 添加 GPL-3.0 开源许可证和作者信息,明确版权政策 - 新增默认用户记忆文件 memory_storage/default_user_memory.json - 丰富并细化 SKILL.md 文档说明,新增「Skill 定位」「运行说明」等内容 - 增加 references/architecture_execution_model.md 文档导航,补充执行模型说明 - 优化部分描述与表述,使模块职责、调用关系、集成方式更清晰 - 代码与文档结构细节调整,确保类型安全、入口统一等设计约束
v1.0.8
**Summary:** Major refactor with expanded modularity, new core scripts, enhanced documentation, and improved reference navigation. - Added 15 new script and reference files, including advanced agent loop docs and specialized scripts (e.g., bloom filter, cache management, monitoring, progressive compression, smart allocation). - Removed and replaced 3 legacy files, streamlining type and guide definitions. - Updated and clarified the documentation structure, with detailed capability sections, improved resource indexing, and step-by-step modular usage. - Expanded dependency list (added mmh3) for enhanced performance and new algorithm support. - Consolidated and reorganized all usage steps, unified entrypoints, and bolstered privacy/configuration guidance. - Comprehensive new FAQ and usage notes added for easier onboarding and troubleshooting.
v1.0.7
## 1.0.7 Changelog - Added a new API class reference document at `references/api_class_reference.md`. - No changes to core logic or dependencies. - Documentation improvements only; feature set remains unchanged.
v1.0.6
Version 1.0.6 - Added open source license file (LICENSE) with GNU Affero General Public License v3. - Updated documentation to include license statement at the top. - No changes to functionality or code—documentation and legal/compliance update only.
v1.0.5
- Initial release of agent-memory, providing foundational memory infrastructure for intelligent agents. - Fully implements the five core capabilities of Context Engineering: selection, compression, retrieval, state, and memory management. - Cognitive model layer supports model building, causal chain extraction, knowledge gap identification, retrieval decisions, quality evaluation, state consistency validation, state inference, cross-session linkage, and forgetting mechanism. - Designed as a meta-skill to always run in the background (always: true). - Comprehensive usage instructions and examples provided in the documentation for step-by-step integration.
Metadata
Slug memory-and-context-engineering
Version 1.0.10
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is AGI记忆模组?

用户与模型之间的任何交互行为都可触发;提供Context Engineering五大核心能力(选择、压缩、检索、状态、记忆)及认知模型层支持;作为元技能强制常驻运行. It is an AI Agent Skill for Claude Code / OpenClaw, with 197 downloads so far.

How do I install AGI记忆模组?

Run "/install memory-and-context-engineering" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AGI记忆模组 free?

Yes, AGI记忆模组 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does AGI记忆模组 support?

AGI记忆模组 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AGI记忆模组?

It is built and maintained by kiwifruit13 (@kiwifruit13); the current version is v1.0.10.

💬 Comments