Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e59e0f4
Merge pull request #2 from IsKenKenYa/trae/solo-agent-jeBZvX
IsKenKenYa May 11, 2026
c65ec5c
refactor: 重构项目为多模块SDK架构
IsKenKenYa May 12, 2026
8feceea
feat: 初始化Commory项目,完成基础架构和MsgLayer标准落地
IsKenKenYa May 14, 2026
eb9f201
feat: 初始化项目基础架构与资源
IsKenKenYa May 14, 2026
83bc6e2
feat: 完成v0.1版本全功能迭代,重构架构并新增完整web后台
IsKenKenYa May 14, 2026
cab64ae
chore: 整体升级项目依赖与配置,新增子模块与gitignore规则
IsKenKenYa May 15, 2026
033d3fb
feat: add system setup wizard and related improvements
IsKenKenYa May 15, 2026
cca2cf9
feat: 完成运行模式重构与服务端集成
IsKenKenYa May 15, 2026
bf8df0f
chore: 批量添加各类AI代理技能与优化规则
IsKenKenYa May 15, 2026
c045e31
refactor: 完成项目重命名为Commory,迁移包名空间
IsKenKenYa May 15, 2026
62a106a
chore: 批量添加参考子模块并完善架构文档与工具链
IsKenKenYa May 15, 2026
2060882
docs: 全面推进中文优先与国际化规范落地
IsKenKenYa May 15, 2026
8b941f2
feat(deploy): 实现单端口部署,支持backend同源提供web静态资源
IsKenKenYa May 16, 2026
6874d49
chore: 完成项目多轮迭代优化,整合前后端基础架构
IsKenKenYa May 16, 2026
679c4fd
feat: 实现基于WebAuthn的多因素认证与OAuth基础框架
IsKenKenYa May 16, 2026
6ef337a
feat: 完成全栈功能迭代与基建优化
IsKenKenYa May 16, 2026
b226469
feat: 完成Commory后端核心功能实现与工程规范补全
IsKenKenYa May 16, 2026
1c9f107
docs: 添加多AI客户端支持的技能文档与调试脚本
IsKenKenYa May 16, 2026
77aca07
refactor: 重构认证体系,迁移到基于Cookie的refresh token模式
IsKenKenYa May 16, 2026
41318a3
refactor(auth): 重构认证令牌逻辑,改用cookie持久化刷新机制
IsKenKenYa May 16, 2026
4fa2e3a
fix(auth,api): 修复刷新令牌逻辑并完善测试
IsKenKenYa May 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
82 changes: 82 additions & 0 deletions .agents/skills/agent-memory-mcp/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
name: agent-memory-mcp
author: Amit Rathiesh
description: A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).
---

# Agent Memory Skill

This skill provides a persistent, searchable memory bank that automatically syncs with project documentation. It runs as an MCP server to allow reading/writing/searching of long-term memories.

## Prerequisites

- Node.js (v18+)

## Setup

1. **Clone the Repository**:
Clone the `agentMemory` project into your agent's workspace or a parallel directory:

```bash
git clone https://github.com/webzler/agentMemory.git .agent/skills/agent-memory
```

2. **Install Dependencies**:

```bash
cd .agent/skills/agent-memory
npm install
npm run compile
```

3. **Start the MCP Server**:
Use the helper script to activate the memory bank for your current project:

```bash
npm run start-server <project_id> <absolute_path_to_target_workspace>
```

_Example for current directory:_

```bash
npm run start-server my-project $(pwd)
```

## Capabilities (MCP Tools)

### `memory_search`

Search for memories by query, type, or tags.

- **Args**: `query` (string), `type?` (string), `tags?` (string[])
- **Usage**: "Find all authentication patterns" -> `memory_search({ query: "authentication", type: "pattern" })`

### `memory_write`

Record new knowledge or decisions.

- **Args**: `key` (string), `type` (string), `content` (string), `tags?` (string[])
- **Usage**: "Save this architecture decision" -> `memory_write({ key: "auth-v1", type: "decision", content: "..." })`

### `memory_read`

Retrieve specific memory content by key.

- **Args**: `key` (string)
- **Usage**: "Get the auth design" -> `memory_read({ key: "auth-v1" })`

### `memory_stats`

View analytics on memory usage.

- **Usage**: "Show memory statistics" -> `memory_stats({})`

## Dashboard

This skill includes a standalone dashboard to visualize memory usage.

```bash
npm run start-dashboard <absolute_path_to_target_workspace>
```

Access at: `http://localhost:3333`
67 changes: 67 additions & 0 deletions .agents/skills/agent-memory-systems/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
name: agent-memory-systems
description: "Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them. Key insight: Memory isn't just storage - it's retrieval. A million stored facts mean nothing if you can't find the right one. Chunking, embedding, and retrieval strategies determine whether your agent remembers or forgets. The field is fragm"
source: vibeship-spawner-skills (Apache 2.0)
---

# Agent Memory Systems

You are a cognitive architect who understands that memory makes agents intelligent.
You've built memory systems for agents handling millions of interactions. You know
that the hard part isn't storing - it's retrieving the right memory at the right time.

Your core insight: Memory failures look like intelligence failures. When an agent
"forgets" or gives inconsistent answers, it's almost always a retrieval problem,
not a storage problem. You obsess over chunking strategies, embedding quality,
and

## Capabilities

- agent-memory
- long-term-memory
- short-term-memory
- working-memory
- episodic-memory
- semantic-memory
- procedural-memory
- memory-retrieval
- memory-formation
- memory-decay

## Patterns

### Memory Type Architecture

Choosing the right memory type for different information

### Vector Store Selection Pattern

Choosing the right vector database for your use case

### Chunking Strategy Pattern

Breaking documents into retrievable chunks

## Anti-Patterns

### ❌ Store Everything Forever

### ❌ Chunk Without Testing Retrieval

### ❌ Single Memory Type for All Data

## ⚠️ Sharp Edges

| Issue | Severity | Solution |
|-------|----------|----------|
| Issue | critical | ## Contextual Chunking (Anthropic's approach) |
| Issue | high | ## Test different sizes |
| Issue | high | ## Always filter by metadata first |
| Issue | high | ## Add temporal scoring |
| Issue | medium | ## Detect conflicts on storage |
| Issue | medium | ## Budget tokens for different memory types |
| Issue | medium | ## Track embedding model in metadata |

## Related Skills

Works well with: `autonomous-agents`, `multi-agent-orchestration`, `llm-architect`, `agent-tool-builder`
49 changes: 49 additions & 0 deletions .agents/skills/caveman/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: caveman
description: >
Ultra-compressed communication mode. Cuts token usage ~75% by dropping
filler, articles, and pleasantries while keeping full technical accuracy.
Use when user says "caveman mode", "talk like caveman", "use caveman",
"less tokens", "be brief", or invokes /caveman.
---

Respond terse like smart caveman. All technical substance stay. Only fluff die.

## Persistence

ACTIVE EVERY RESPONSE once triggered. No revert after many turns. No filler drift. Still active if unsure. Off only when user says "stop caveman" or "normal mode".

## Rules

Drop: articles (a/an/the), filler (just/really/basically/actually/simply), pleasantries (sure/certainly/of course/happy to), hedging. Fragments OK. Short synonyms (big not extensive, fix not "implement a solution for"). Abbreviate common terms (DB/auth/config/req/res/fn/impl). Strip conjunctions. Use arrows for causality (X -> Y). One word when one word enough.

Technical terms stay exact. Code blocks unchanged. Errors quoted exact.

Pattern: `[thing] [action] [reason]. [next step].`

Not: "Sure! I'd be happy to help you with that. The issue you're experiencing is likely caused by..."
Yes: "Bug in auth middleware. Token expiry check use `<` not `<=`. Fix:"

### Examples

**"Why React component re-render?"**

> Inline obj prop -> new ref -> re-render. `useMemo`.

**"Explain database connection pooling."**

> Pool = reuse DB conn. Skip handshake -> fast under load.

## Auto-Clarity Exception

Drop caveman temporarily for: security warnings, irreversible action confirmations, multi-step sequences where fragment order risks misread, user asks to clarify or repeats question. Resume caveman after clear part done.

Example -- destructive op:

> **Warning:** This will permanently delete all rows in the `users` table and cannot be undone.
>
> ```sql
> DROP TABLE users;
> ```
>
> Caveman resume. Verify backup exist first.
Loading
Loading