shelfmark-find-context

shelfmark-find-context is a skill for Claude Code, Codex from Dankaro-projects/shelfmark. It costs 57 tokens per session (478 once invoked), scanned A, original, MIT.

A workflow for finding governed documents in Shelfmark, a local document catalogue. It searches catalogue information such as filenames, paths, authors, and project metadata, then checks the strongest matches.

In plain words
What is it for?
Use it to find documents by filename, title, author, client, project, type, folder, date, or rights status. It can return ranked file paths and explain why each result fits.
Why use it?
It helps locate the smallest relevant set of documents while checking freshness, confidentiality, duplicate copies, and sharing rights. It is designed to prevent unsuitable files from being shared outside the local environment.

Skill for Claude CodeCodex

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/dankaro-projects/shelfmark/shelfmark-find-context
Any agent
npx skills add Dankaro-projects/shelfmark --skill shelfmark-find-context
Clone the repo
git clone --depth 1 https://github.com/Dankaro-projects/shelfmark

Made for: Claude Code, Codex.

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 shelfmark-find-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/dankaro-projects/shelfmark/shelfmark-find-context.svg)](https://agentmods.dev/skills/dankaro-projects/shelfmark/shelfmark-find-context)
Your own site
<a href="https://agentmods.dev/skills/dankaro-projects/shelfmark/shelfmark-find-context"><img src="https://agentmods.dev/badge/skills/dankaro-projects/shelfmark/shelfmark-find-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 478 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.1 $0.00057 $0.00478
Opus 5 $0.00028 $0.00239
Sonnet 5 $0.00011 $0.00096
Haiku 4.5 $0.00006 $0.00048

Measured 5d ago against content hash db2746cec42f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

shelfmark-find-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 5d 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.

plugins/shelfmark/skills/shelfmark-find-context/SKILL.md · 32 lines

How it starts

The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Find Shelfmark Context

Find the smallest useful set of documents while respecting catalogue freshness and sharing boundaries.

Search Workflow

  1. Call corpus_stats() first. Note freshness, available roots, document types, context types, and the rights split before forming a query.
  2. If the user names a folder or only describes a broad area, call browse_folder() to learn the catalogue's actual structure and labels.
  3. Call search_docs() with filename-style or title-style terms. Shelfmark indexes paths, filenames, authors, company metadata, OOXML titles, and slide titles, not document body text.
  4. Add only filters supported by the corpus summary or prior results. Use root, client, doc_type, context_type, authored-year bounds, or path_contains to narrow a large result set.
  5. Call get_file() on the strongest candidates to confirm rights, confidentiality, authorship, dates, slide titles, duplicate copies, and on-disk status.
  6. Return a short ranked list with exact catalogue paths, why each result fits, and any governance or freshness caveat.

Apply Governance

  • Set shareable_only=true whenever paths or derived material may leave the user's local environment. This excludes confidential and unreviewed UNKNOWN material.
  • Set own_only=true only when the user specifically needs material classified as authored by them.
  • Never infer or probe RESTRICTED material. Shelfmark deliberately makes restricted paths indistinguishable from absent paths.
  • Do not describe metadata matches as proof of document-body content. Ask to open a selected file with a separately authorized file-reading tool when its contents are needed.

Recover From Weak Results

  • Remove unsupported filters before broadening the query.
  • Try filename, project, organization, author, or slide-title vocabulary rather than sentence fragments from a document.
  • Use browse_folder() when terminology is uncertain.
  • State that a true no-result search is recorded locally by Shelfmark as product feedback; it is not sent anywhere.

Read the full file on GitHub · 32 lines

Files

What ships with it

1 file 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.

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. 5d ago First seen · 32 lines · 57 tokens per session scan A db2746cec42f

Subscribe to this mod's changes

shelfmark-find-context is a skill published in the GitHub repository Dankaro-projects/shelfmark (0 stars, last pushed 21d ago), licensed MIT. It adds 57 tokens to every session and 478 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

doc-processor

当用户要生成 Word/Excel/PowerPoint、做文档格式转换(Markdown ↔ HTML ↔ DOCX ↔ PDF)、PDF 文本提取、读写 Excel、合并文档或批量转换时使用。.

ntygod/ZhiWei · 54 tokens

data-analyst

当用户要在内存中对 CSV / JSON / Excel 做数据加载、清洗、统计分析、假设检验、图表可视化或数据质量检查时使用。.

ntygod/ZhiWei · 45 tokens

feishu

当用户要在飞书上发消息、创建任务、操作文档、管理日程或群组时使用。.

ntygod/ZhiWei · 29 tokens

pptx-html-fidelity-audit

Audit a python-pptx export against its source HTML deck, identify layout/content drift (footer overflow, cropped content, missing italic/em, lost styling, off-rhythm spacing), and re-export with strict footer-rail + cursor-flow layout discipline. Use this skill whenever the user has a .pptx that was generated from an…

nexu-io/open-design · 185 tokens

clinical-case-report

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds"…

nexu-io/open-design · 73 tokens

kami-landing

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

nexu-io/open-design · 81 tokens