- Home
- Skills
- Business & Operations
- myagent-storage-architecture
More screenshots
Works with the AI Agents you already use
Myagent Storage Architecture
by SHITANGHAI
Local-first project archive for AI agents. One JSONL index as the single source of truth, generated markdown views, one-command search, zero dependencies. Node 18+.
$9
myagent-storage-architecture
Example session with this skill installed
Find any existing projects related to "automation" in my local archive and show the details for the most relevant one.
- Read your context and instructions
- Compiled the myagent-storage-architecture
Result
The archive returned 2 projects related to "automation". The most relevant one is doc-pipeline.
| ID | Status | Project | Path | Why it exists |
|---|---|---|---|---|
| P01 | active | doc-pipeline | projects/doc-pipeline | Built after a 200-file batch took a weekend by hand |
| P02 | active | market-pulse | projects/market-pulse | Third-party APIs only keep the present; history has to be kept yourself |
Details: doc-pipeline (P01)
- One-liner: Batch parse invoices and resumes into structured JSON with a local model.
- Aliases: pdf, json, batch, local-model
- Structure: Docs 2 files (intro.txt, log.txt), Artifacts 1 file (README.txt)
Next steps
- Before changing this project, read the "why" in
Docs/intro.txt- do not rename or restructure by folder name alone - To look for something else:
node bin/find.mjs <keyword>- aliases and ports both hit
Connects securely to your tools. The creator never sees your data.
About this skill
Stop letting your AI agent get lost in a sea of scattered files and stale indexes. When project folders multiply and manual documentation falls out of sync, agents waste context window and tokens "blindly" searching for where things live. This skill provides a rigid, local-first storage architecture that enforces a single source of truth for your entire knowledge base.
What it does
- Single Source of Truth maintains one
db.jsonlindex as the authoritative record, preventing stale documentation. - Auto-Generated Views rebuilds markdown index pages and project entry points from the JSONL data automatically.
- Weighted Search provides a
findcommand that queries names, keywords, descriptions, and paths without a full directory crawl. - Rigid Folder Schema enforces a
记录(docs) and实现(artifacts) split for every project to ensure consistent agent navigation. - Zero-Dependency Tooling ships with Node scripts for indexing, searching, and serving a browser-based UI locally.
How it works
- Initialize the Root by creating the mandatory folder structure for projects, indexes, scripts, and archives.
- Deploy Scripts by placing the standalone
reindex,find, andserveNode scripts into your localbinfolder. - Index the Workspace by running
reindex.mjsto scan the disk and build the initial JSONL database and markdown maps. - Query the Archive using the
findcommand to locate projects or skills instead of having the agent grep the filesystem.
Frameworks & tools
This system is built for Node.js 18 or newer. It is entirely local-first with no external dependencies, cloud accounts, or database servers required.
Why this beats prompting it yourself
Generic prompts can't enforce a file-system contract or prevent an agent from editing "generated" files. This skill provides the actual logic to automate the sync between your physical files and the agent's mental map, ensuring the index never lies.
Use cases
- Organize massive collections of scattered project files into a queryable archive.
- Provide a stable, persistent memory map for agents across different sessions.
- Replace manual "second brain" maintenance with automated indexing scripts.
- Standardize project structures so any LLM (Claude, Cursor, Copilot) understands the layout.
Known limitations
Requires Node 18+. Local execution only with no multi-user locking or conflict resolution. The index must be manually re-run after file changes to stay perfectly in sync.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 18 days ago
- Software
Node.js 18+
Git
On Windows use PowerShell or Git Bash. Keep the three .mjs scripts together in bin/ - they are single-file and must not be split. Re-run reindex after you move folders.
Permissions
File Scopes
Everything stays inside your own library root. The scripts create and update 索引/db.jsonl, regenerate markdown views (总索引.md and each project 00-入口.md), and serve a read-only local UI on 127.0.0.1. No network calls, no telemetry, nothing is uploaded.
What's inside
Frequently Asked Questions
New in Business & Operations
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Business & Operations.