Introduction¶
In agents like WorkBuddy, each session often loads the entire contents of memory files under .workbuddy/memory/ into the context. Larger files consume more Tokens, resulting in slower responses and higher costs. Manually deleting files or trimming them by guesswork makes it difficult to align with actual billing granularity, and there is often a lack of a mechanism to “load only relevant fragments based on the current task.”
Here we introduce Memory Manager EN on SkillHub. It is designed around the principle of “making the memory entering the context smaller, more accurate, and cheaper,” treating the memory directory as a manageable Token budget object rather than just a standard folder.
What is this¶
Memory Manager EN is positioned as an AI memory accelerator / Token throttle valve, targeting the directory .workbuddy/memory/.
The SkillHub page (@indiv-aakook/memory-manager-en) summarizes the problem in one sentence: sessions load that directory; larger files → more Tokens → higher cost and slower speed; the essence of saving Tokens is to make the memory entering the context more compact and precise. The Skill organizes its capabilities around the “throttle valve” concept.
Publishing and index information (subject to SkillHub display):
- Official Entry: https://api.skillhub.cn/user_98283d0f/memory-manager-en
- Skill Page: https://skillhub.cn/skills/indiv-aakook/memory-manager-en (Page marks version v4.0.6)
- Category: ai-agent; 617 downloads; Platform score metric 99677 (Displayed on SkillHub site, not a 5-star system)
The maintainer corresponds to the SkillHub account user_98283d0f (Page bio: “GEO Enthusiast”).
Core Features¶
The following capabilities are derived from the Skill’s public description; specific subcommands after installation are subject to the SKILL.md distributed with the Skill.
Token Metering & Budgeting¶
- Uses tiktoken for real Token metering (description states this has been a core capability since V3.9; SkillHub listed version is v4.0.6).
- Hard Budget Gate: Automatic over-budget auto-compaction when limits are exceeded.
- Throttle: One-click budget compression.
- Tri-color budget alerts, referencing 7-day average usage.
- Token numbers in the interface and output are marked as estimated to avoid misunderstanding that they are identical to the bill.
Task-Relevance Loading¶
- Supports
--query/--tags: Zero-dependency CJK character bigram + keyword/tag relevance ranking; optional embedding backend. - The goal is to load fragments more relevant to the current task (task-relevance loading) without dumping the entire memory library into the context.
Automation & Programmable Output¶
- Destructive operations provide
--forcefor scripts and CI-style workflows. --jsonsupported for every command, facilitating result parsing by Agents or other tools.
Security & Self-Check¶
- Built-in self-test, including check descriptions for risks like prompt-injection and path-traversal (Protection-oriented capabilities).
Performance¶
- Parallel summary generation (Thread pool).
- Ranked disk signature cache, read-path short-circuiting, and fallback LRU cache.
Experience & Other Fixes¶
- 24 short aliases, interactive progress, and readable size labels.
- Bug fixes (listed in description):
prompt-getno longer crashes when templates are missing;backupsupports passing a workspace parameter.
Installation & Activation¶
SkillHub recommends allowing the Agent to pull the Skill according to the installation documentation, identified as @indiv-aakook/memory-manager-en.
1. Install SkillHub CLI (if not installed)¶
command -v skillhub && skillhub --version
If not installed, you can execute (Full installation, including default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install Memory Manager EN¶
During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized.
skillhub install @indiv-aakook/memory-manager-en --dir <your skills directory>
Common paths (excerpted from SkillHub installation documentation, select according to your actual client):
| Environment | skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under project |
| workbuddy | ~/.workbuddy/skills/ |
After installation, restart or refresh the Skill list according to the requirements of the client being used. For more complete priority source strategies, see: https://skillhub.cn/install/skillhub.md
Typical Usage¶
This Skill is triggered by natural language intent (after enabling in a Skill-supporting Agent, simply issue tasks via conversation). Typical phrases given in the description include:
- Token / Budget:
memory manager,token check,throttle,token trend - Loading & Retrieval:
relevance load,smart load,memory search,memory rank - Maintenance & Analysis:
cache clean,cache reminder,dedup,backup memory,memory analyze,memory report,diagnose - Prompt Templates:
prompt template
For script integration, append --json to the corresponding subcommand; use --force as prompted for confirmation of overwrite-type operations. To tailor memory by task, use --query or --tags to express the current task or tag set.
Specific command names and parameter combinations are subject to the SKILL.md in the installation package; this article does not fabricate CLI names not appearing in public materials.
Use Cases & Notes¶
Suitable for:
- Developers long-term using WorkBuddy /
.workbuddy/memory/who need to control context Tokens, set budget alerts, or view trends. - Scenarios hoping for “relevance load by query/tag” rather than full memory loading.
- Needs for backing up memory, deduplication, cache cleaning, memory analysis reports, and diagnostic operations, with output consumable by programs (
--json).
Not suitable for (Skill’s self-described boundaries):
- General file operations, code analysis, system cleaning, document editing, etc.—should use corresponding tools rather than this Skill.
Notes:
- Token display is estimated; billing is still subject to the model-side bill.
- Automatic compression and operations with
--forcemay rewrite or delete memory content; confirm backup before execution (Skill providesbackup memoryrelated capabilities). - If the optional embedding backend is enabled, you must satisfy its dependencies and network/key configuration yourself (see Skill documentation for details).
Conclusion¶
Memory Manager EN transforms .workbuddy/memory/ from a static directory that “grows larger over time” into a measurable, throttleable, and task-relevance-loadable object. It balances JSON output with security self-checks, making it suitable as an operational Skill for the Agent’s memory layer.
Official URL: https://api.skillhub.cn/user_98283d0f/memory-manager-en
SkillHub Skill Page: https://skillhub.cn/skills/indiv-aakook/memory-manager-en