Memory manager
Skill Razaib-khan/ForgeWeave/src/forgeweave/templates/qwen/.qwen/skills/memory-manager
Behavioral execution framework for AI agents — define deterministic, portable skills & agents across OpenCode, Claude Code, Gemini CLI, and Qwen Code.
npx -y skills add Razaib-khan/ForgeWeave --skill memory-managerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Handles local persistence of research outputs, intermediate reasoning, and reusable knowledge chunks
SKILL.md
2.3 KB, 457 tokens by cl100k_base, as published. Nobody here has run it
Memory Manager
Purpose
Persist and retrieve structured data across sessions — research outputs, intermediate reasoning steps, reusable knowledge chunks, and cache entries. Prevents redundant work by reusing previously computed results when inputs match.
When to Use
- Research results should be saved for future reference
- Intermediate reasoning needs to be persisted for multi-step workflows
- Previously computed results can be reused instead of recomputed
- Debug or trace information needs to be logged
When Not to Use
- The data is ephemeral and only needed for the current response
- The data contains secrets or credentials (use secure storage instead)
- The storage would exceed reasonable size limits
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
operation | enum | Yes | save, load, search, clear |
key | string | Depends | Unique key for the data |
data | object | For save | The data to persist |
namespace | string | No (default: general) | Category for the data |
Expected Outputs
| Output | Description |
|---|---|
| Operation result | Success with location, or loaded data, or search results |
Exact Workflow Steps
- Determine the persistence location based on namespace and TUI
- For save: serialize data to disk at
research/or.<tui>/memory/ - For load: deserialize data from its persisted location
- For search: scan persisted data for matching keys or content
- For clear: remove caches and temporary data
Required Checks
- Saved data is retrievable with the correct key
- Cache entries have expiration or size limits
- No sensitive data is persisted without warning
Failure Modes
| Failure Condition | Response |
|---|---|
| Key not found on load | Report "not found" |
| Storage full | Suggest clearing old entries |
| Serialization fails | Report the unsupported type |
References
| Reference | Path |
|---|---|
| Cache & Store skill | ../cache-store/SKILL.md |
| research/ directory | ./research/ |
Gives 0 of the 12 instructions most memory context skills give in 457 tokens
Counted across 674 of the 847 authors here whose files we hold, read 2026-08-06
- inform the user when setup is completein 21 of 674, across 6 files
- confirm the draft with the user before writingin 21 of 674, across 6 files
- update the agent skills block in place if it existsin 21 of 674, across 6 files
- present findings to the userin 20 of 674, across 5 files
- write the three docs files from seed templatesin 20 of 674, across 5 files
- ask the user about each decision one at a timein 19 of 674, across 4 files
- edit CLAUDE.md if it existsin 18 of 674, across 3 files
- explore current repo statein 18 of 674, across 3 files
- do not overwrite user edits to surrounding sectionsin 18 of 674, across 3 files
- back up the original file before overwritingin 16 of 674, across 8 files
- keep the memory index under 200 linesin 15 of 674
- Provide actionable steps and verificationin 13 of 674, across 2 files
Said here and by no other author read
- determine the persistence location based on namespace and TUI
- serialize data to disk for save operations
- deserialize data for load operations
- scan persisted data for matching keys or content
- remove caches and temporary data for clear operations
- verify saved data is retrievable with the correct key
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.