Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add dimetron/pi-go --skill memory-indexgit clone --depth 1 https://github.com/dimetron/pi-goWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dimetron/pi-go/memory-index)<a href="https://agentmods.dev/skills/dimetron/pi-go/memory-index"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/memory-index/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dimetron/pi-go/memory-index"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/memory-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Tool Misuse · line 168 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01490 |
| Opus 5.5 | $0.00000 | $0.00596 |
| Sonnet 5.5 | $0.00000 | $0.00298 |
| Haiku 4.5 | $0.00000 | $0.00149 |
Grade A, and why
memory-index scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Index a Folder into MemPalace
This skill walks through indexing a folder's source code into pi-go's MemPalace — the 4-layer semantic memory system with SQLite storage and embedding-based search.
Once indexed, the agent can search the folder's contents by meaning, not just keywords,
using the palace-search tool or pi memory search CLI.
Prerequisites
The embedding model (all-MiniLM-L6-v2) must be downloaded. Check with:
pi memory model status
If not downloaded:
pi memory model download
This fetches ~90 MB of ONNX model files to ~/.pi-go/models/. It auto-selects the
optimal ONNX variant for the platform (quantized ARM64 on Apple Silicon, base on x86_64).
The model is optional. Without it, search falls back to FTS5 keyword matching. Semantic search requires the model; keyword search works without it.
Workflow
1. Verify the model is ready
pi memory model status
Output should show Model: all-MiniLM-L6-v2 with a path and size. If it says
Model: not downloaded, run pi memory model download first.
2. Configure rooms (optional but recommended)
Create a mempalace.yaml at the repo root to map file patterns to semantic "rooms".
This narrows the search space before embeddings fire, improving retrieval significantly
(benchmark: 60.9% recall unfiltered → 94.8% with wing+room filtering).
wing: my-project # top-level name (defaults to directory basename)
rooms:
- name: api
patterns:
- "internal/api/**"
- "internal/handler/**"
keywords:
- http
- handler
- route
- name: models
patterns:
- "internal/models/**"
keywords:
- schema
- struct
- database
- name: tests
patterns:
- "**/*_test.go"
keywords:
- test
- mock
- fixture
Rules for good rooms:
- 3–8 rooms is the sweet spot. Too few = no filtering power. Too many = sparse drawers.
- Use
patterns(glob) for path-based assignment. Usekeywordsfor content-based hints. - Files not matching any room go to a default room named
general. - The
wingdefaults to the directory basename if omitted.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 181 lines · 0 tokens per session scan A 63fff3d541af
memory-index is a skill published in the GitHub repository dimetron/pi-go (235 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,490 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
memory-index compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memory-indexdimetron/pi-go | Skill | 235 | today | MIT | A | 0 | Claude Code, Codex |
| write-terva-loreterva-sh/terva | Skill | 5 | today | MIT | A | 66 | Claude Code, Codex |
| handoffterva-sh/terva | Skill | 5 | today | MIT | A | 56 | Claude Code, Codex |
| retrospectiveterva-sh/terva | Skill | 5 | today | MIT | A | 76 | Claude Code, Codex |
| handoffHmbown/CodeWhale | Skill | 41k | 5d ago | MIT | A | 70 | Claude Code, Codex |
| code-review-contextopeninterpreter/openinterpreter | Skill | 69k | yesterday | Apache-2.0 | A | 7 | Codex |
| forgetHmbown/Codewhale | Skill | 41k | 2mo ago | MIT | A | 26 | Claude Code, Codex |