# Memory Manager

> Handles local persistence of research outputs, intermediate reasoning, and reusable knowledge chunks

- **Type:** Skill
- **Install:** `agentstack add skill-razaib-khan-forgeweave-memory-manager`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Razaib-khan](https://agentstack.voostack.com/s/razaib-khan)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Razaib-khan](https://github.com/Razaib-khan)
- **Source:** https://github.com/Razaib-khan/ForgeWeave/tree/main/src/forgeweave/templates/gemini/.gemini/skills/memory-manager

## Install

```sh
agentstack add skill-razaib-khan-forgeweave-memory-manager
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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

1. Determine the persistence location based on namespace and TUI
2. For save: serialize data to disk at `research/` or `./memory/`
3. For load: deserialize data from its persisted location
4. For search: scan persisted data for matching keys or content
5. 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/` |

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Razaib-khan](https://github.com/Razaib-khan)
- **Source:** [Razaib-khan/ForgeWeave](https://github.com/Razaib-khan/ForgeWeave)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-razaib-khan-forgeweave-memory-manager
- Seller: https://agentstack.voostack.com/s/razaib-khan
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
