Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
Wrote 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/camara-chilena-inteligencia-artificial/cchia-skills/grail)<a href="https://agentmods.dev/skills/camara-chilena-inteligencia-artificial/cchia-skills/grail"><img src="https://agentmods.dev/badge/skills/camara-chilena-inteligencia-artificial/cchia-skills/grail/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/camara-chilena-inteligencia-artificial/cchia-skills/grail"><img src="https://agentmods.dev/badge/skills/camara-chilena-inteligencia-artificial/cchia-skills/grail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00259 | $0.02789 |
| Opus 5 | $0.00130 | $0.01394 |
| Sonnet 5 | $0.00052 | $0.00558 |
| Haiku 4.5 | $0.00026 | $0.00279 |
Grade A, and why
grail 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 12d 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 — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GRAIL — knowledge graphs + agentic memory
GRAIL is a graph-RAG engine with two project modes that share one search engine:
| Mode | Write path | Triggers |
|---|---|---|
memory |
tool-driven SDK writes under ./memories/ (no LLM at write time) |
"remember that ...", "save this", "what did I learn last week" |
knowledge_base |
grail index over ./input/ (LLM extracts entities + relationships) |
"index these PDFs", "build a KB from this corpus" |
Both produce the same parquet artefacts, so every search mode
(recall, local, cascade, global, document, agent) works on
either kind of project.
Proactive behaviours (do these without being asked)
The user installed this skill on purpose. Treat that as standing consent to suggest memory + KB use. Be pushy but not annoying — one clear suggestion per save-worthy moment, accept "no" gracefully.
At the start of EVERY user message
-
Re-anchor on this skill. Do not assume context survives between turns.
-
If this is your first script call this session, run:
python scripts/session_start.pyIt returns one JSON envelope with: (a) graphgrail install state + version, (b) every registered project with mode / path / entity + observation counts + pending proposals, (c) directive
next_stepstailored to what it finds. CACHE the result for the rest of the session. Do not re-runsetup.shorlist_grail_projects.pyseparately — they're subsumed bysession_start.py. Only re-runsession_start.pyif you create or delete a project mid-session. -
If
setup.okis false, runbash scripts/setup.shfirst; then re-runsession_start.py. -
If zero projects exist AND this is a real conversation (not a one-shot question), propose creation:
"I notice you have GRAIL installed but no projects yet. Want me to set up a memory project so I can remember things across our sessions? It takes one command." Then if they agree (bare name → lands at
~/.grail/projects/<name>/):python scripts/init_project.py --project my-memory --memoryAfter creating, re-run
session_start.pyso the cached state reflects the new project.
What ships with it
38 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 748 B
- assets/grail.kb.yaml.tpl 436 B
- assets/grail.memory.yaml.tpl 719 B
- assets/observation.md.tpl 342 B
- INSTALL.md 4.4 KB
- README.en.md 7.6 KB
- README.md 7.9 KB
- references/config_reference.md 2.5 KB
- references/kb_mode.md 3.2 KB
- references/memory_mode.md 5.0 KB
- references/memory_tools.md 4.1 KB
- references/proposals.md 3.9 KB
- references/query_optimization.md 2.9 KB
- references/search_modes.md 3.5 KB
- references/troubleshooting.md 5.2 KB
- requirements.txt 435 B
- scripts/_common.py 11 KB runs code
- scripts/append.py 2.6 KB runs code
- scripts/delete.py 1.4 KB runs code
- scripts/edit.py 2.0 KB runs code
- scripts/env_check.py 1.2 KB runs code
- scripts/explore.py 2.9 KB runs code
- scripts/index.py 2.4 KB runs code
- scripts/init_project.py 5.7 KB runs code
- scripts/list_grail_projects.py 2.9 KB runs code
- scripts/memory/add_community.py 2.0 KB runs code
- scripts/memory/add_entity.py 1.9 KB runs code
- scripts/memory/add_observation.py 3.7 KB runs code
- scripts/memory/add_relationship.py 1.7 KB runs code
- scripts/memory/apply_proposal.py 1.6 KB runs code
- scripts/memory/consolidate.py 1.5 KB runs code
- scripts/memory/find_similar_entity.py 1.4 KB runs code
- scripts/memory/list_proposals.py 1.2 KB runs code
- scripts/memory/recall.py 2.4 KB runs code
- scripts/query.py 4.9 KB runs code
- scripts/session_start.py 7.3 KB runs code
- scripts/setup.sh 3.8 KB runs code
- scripts/status.py 3.0 KB runs code
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.
- 12d ago First seen · 257 lines · 259 tokens per session scan A 1b0dcfb43d16
grail is a skill published in the GitHub repository CAMARA-CHILENA-INTELIGENCIA-ARTIFICIAL/cchia-skills (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 259 tokens to every session and 2,789 once invoked, about $0.0013 per session on Opus 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-31.
Other skills, from other repositories
media-ingest
Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.