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 GeneGulanesJr/LaPis --skill hermesgit clone --depth 1 https://github.com/GeneGulanesJr/LaPisWrote 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/genegulanesjr/lapis/hermes)<a href="https://agentmods.dev/skills/genegulanesjr/lapis/hermes"><img src="https://agentmods.dev/badge/skills/genegulanesjr/lapis/hermes/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/genegulanesjr/lapis/hermes"><img src="https://agentmods.dev/badge/skills/genegulanesjr/lapis/hermes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 7 findings, up to medium
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 →
- medium Memory Poisoning · line 20 Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
- medium Prompt Injection · line 20 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 23 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 24 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 25 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 28 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 29 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00032 | $0.01184 |
| Opus 5.5 | $0.00013 | $0.00474 |
| Sonnet 5.5 | $0.00006 | $0.00237 |
| Haiku 4.5 | $0.00003 | $0.00118 |
Grade A, and why
lapis 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 10d 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LaPis — Persistent Coding Memory
LaPis is a local coding-memory stack (SQLite at $LAPIS_HOME/.pi/memory/memory.db — or ~/.pi/memory/memory.db when LAPIS_HOME is unset; no cloud, no API keys) wired into Hermes as an MCP server named lapis. It is a persistent memory layer shared across tools (Pi, Claude Code, Hermes). Use it for code intelligence, doc navigation, and durable cross-session memory.
Tools (MCP server lapis → mcp_lapis_*)
| Tool | Purpose |
|---|---|
mcp_lapis_memory_save |
Save memory: title, content, type (decision/bugfix/architecture/pattern/discovery/config/preference/learning/manual), scope (project/personal), topic_key, expires_in (e.g. 7d), force |
mcp_lapis_memory_save_classified |
Atomic save through a LayaMCP classifier first: classification (guard/moderate/triage/email/auto, default auto); refuses prompt injections by default (on_injection) |
mcp_lapis_memory_search |
Search memories: query, optional type/scope filters, limit |
mcp_lapis_memory_get / update / delete / related |
Full CRUD by ID + symbol-linked recall |
mcp_lapis_memory_load_context |
Deep-dive on everything memory knows about a topic |
mcp_lapis_memory_code |
Code-index queries. Modes: outline, callers, callees, blast-radius, dead-code, complexity, deps, churn, hotspots, cycles, importance, coupling, extractable, hierarchy, signal-chains, layer-violations, search, coding-context, preflight, agent-pack, health, dupes, audit-diff, enrich-symbols, index-repo, reindex-repo |
mcp_lapis_memory_doc |
Doc-index queries. Modes: search, outline, backlinks, broken-links, glossary, tutorial-path, code-examples, orphans, coverage, stale-pages, duplicates, index-docs, reindex-docs |
mcp_lapis_memory_sync_code_trust |
After git pull/checkout/merge/rebase: sync trust scores with changed code |
mcp_lapis_index_status |
Check progress of an async index job |
mcp_lapis_cancel_index |
Cancel a running async index job by job ID |
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.
- 10d ago Changed · -1 lines 5f345018d7bb
- 1mo ago Changed · +2 lines 8dd87e3a7009
- 3mo ago First seen · 62 lines · 32 tokens per session scan A bb0838b31c2f
lapis is a skill published in the GitHub repository GeneGulanesJr/LaPis (58 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 1,184 once invoked, about $0.0001 per session on Opus 5.5. 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.
lapis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lapisGeneGulanesJr/LaPis | Skill | 58 | today | MIT | A | 32 | Claude Code, Codex |
| memory-compoundingromiluz13/auto-pi | Skill | 10 | 3mo ago | MIT | A | 41 | Claude Code, Codex |
| session-handoffromiluz13/auto-pi | Skill | 10 | 3mo ago | MIT | A | 83 | Claude Code |
| agent-state-barbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 105 | Claude Code, Codex |
| knowledge-orgbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 96 | Claude Code, Codex |
| memory-systembojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 95 | Claude Code, Codex |
| context-compressionbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 92 | Claude Code, Codex |