session-context

session-context is a skill for Claude Code, Codex from sandraschi/calibremcp. It costs 0 tokens per session (118 once invoked), scanned A, original, MIT.

A session setup guide for using a Calibre e-book library through connected tools. Calibre is software for organizing and managing e-books.

In plain words
What is it for?
Use it to search books, check library health, update metadata, export books, and tag discussed titles.
Why use it?
It tells the agent to search the library first and save findings afterward, keeping book-related work grounded in the available collection.

Skill for Claude CodeCodex

Part of the calibre-mcp plugin — 6 skills shipped together

Install

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.

agentmods
npx agentmods add skills/sandraschi/calibremcp/session-context
Any agent
npx skills add sandraschi/calibremcp --skill session-context
Clone the repo
git clone --depth 1 https://github.com/sandraschi/calibremcp

Made for: Claude Code, Codex.

Or install calibre-mcp, the plugin that ships this one along with the rest of its 6 skills.

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.

agentmods badge for session-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/sandraschi/calibremcp/session-context.svg)](https://agentmods.dev/skills/sandraschi/calibremcp/session-context)
Your own site
<a href="https://agentmods.dev/skills/sandraschi/calibremcp/session-context"><img src="https://agentmods.dev/badge/skills/sandraschi/calibremcp/session-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00118
Opus 5 $0.00000 $0.00059
Sonnet 5 $0.00000 $0.00024
Haiku 4.5 $0.00000 $0.00012

Measured 4d ago against content hash c591a6bdd7d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

session-context 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.opencode/skills/session-context/SKILL.md · 12 lines

What it actually says

Session Context (Calibre MCP)

You have access to a Calibre e-book library server with 21+ portmanteau tools for search, management, export, and RAG.

Before starting work:

  1. Search your library: query_books(operation="search_books", query="<query>")
  2. Check library health: manage_libraries(operation="library_health")

At end of work, save findings:

  • Use manage_books to update metadata and export_books to save results
  • Tag any books discussed for future reference
Changes

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.

  1. 4d ago First seen · 12 lines · 0 tokens per session scan A c591a6bdd7d2

Subscribe to this mod's changes

session-context is a skill published in the GitHub repository sandraschi/calibremcp (41 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 118 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.

Related

Other skills, from other repositories

calibre-distill-topic

Synthesize ONE topic across MULTIPLE Calibre books into a single, concept-keyed agent skill — original multi-source authorship (decision frameworks, cross-source config tables, an explicit where-authors-agree/disagree section), with a full ISBN bibliography that doubles as a live-source binding for later deep dives.…

caelum29/calibre-mcp · 160 tokens

calibre-mcp

Search, read, and curate your Calibre ebook library. The operating manual for the calibre-mcp server (19 tools) with the calibre CLI as escape hatch. Covers picking the right search (metadata query vs full-text vs semantic), reading book content, chapter maps and book figures, gated preview-first writes (metadata…

caelum29/calibre-mcp · 174 tokens

calibre-mcp-setup

Install and verify the calibre-mcp server, end to end. Guides an agent from 'Calibre is installed' to a verified working MCP connection: preflight (Node, calibredb, Content Server — macOS/Windows/Linux commands), client-specific install (Claude Code plugin or claude mcp add, Claude Desktop .mcpb or JSON config, Cowork…

caelum29/calibre-mcp · 194 tokens

calibre-study-notes

Generate active-learning study notes (конспекти) from books in the Calibre library, for a HUMAN learner — not an agent skill. Produces a markdown note built for retention: questions-first sections, own-words concepts, reader-domain examples, self-test with source pointers, Anki export, spaced-review metadata. Also…

caelum29/calibre-mcp · 243 tokens

calibre-distill

Turn ONE Calibre book into a reusable agent skill — frameworks, mental models, principles, techniques, anti-patterns, glossary, cheatsheet — by driving the calibre-mcp server (chapter map, keyword + semantic in-book search; no temp files, no Python). Use when the user wants to study a Calibre book through Claude Code…

caelum29/calibre-mcp · 151 tokens

deck-course-module

暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.

nexu-io/html-anything · 25 tokens