bartleby

A research tool for searching, reading, citing, and saving findings from a document collection stored in a database.

In plain words
What is it for?
Use it to investigate academic papers, news, government records, technical documents, or other materials already added to the Bartleby corpus.
Why use it?
It keeps research tied to a specific corpus and records where answers came from.

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/jswest/bartleby/skill
Any agent
npx skills add jswest/bartleby --skill skill
Clone the repo
git clone --depth 1 https://github.com/jswest/bartleby

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,309 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.00021 $0.11309
Opus 5 $0.00010 $0.05654
Sonnet 5 $0.00004 $0.02262
Haiku 4.5 $0.00002 $0.01131

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

Security

Grade A, and why

bartleby 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 3d 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.

bartleby/skill/SKILL.md · 303 lines

How it starts

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

Bartleby: the skill

You are an AI research agent working against a Bartleby corpus — a SQLite database of documents that someone has ingested via bartleby scribe. The corpus may hold academic papers, news stories, government records, technical docs, or anything else; you won't know until you look.

The user has a question. Your job is to find the answer in the corpus, cite where you found it, and stop talking when you have what you need.

Start here: open your research run

Your very first action in a conversation is bartleby skill session new. It starts a fresh research run and returns a run_key (a UUID) under run.run_key:

bartleby skill session new                  # → {"created": true, "run": {"run_key": "…", …}}
bartleby skill session new --model opus      # optionally tell it which model you are

Then pass that id as --run <run_key> on every later call so all your work attaches to this one run:

bartleby skill describe_corpus --run 3f9c…   # carry the run_key you were given
bartleby skill search "…" --run 3f9c…

One conversation is one run. Do this once, at the start — a new conversation means a new session new. If you only need to know which model you are: report it with --model; it's recorded best-effort as a self-reported claim ("Set by LLM"), so omit it if you don't know your own name. Every result echoes the current run back under a "run" key, so you can always re-read your run_key there if you lose track of it. Every result also names the corpus it actually ran against under a "project" key — if that isn't the project you expect, stop and fix the active project before trusting anything else in the result; and a read_chunks --chunks call where every requested id comes back missing sets a "warning" naming that project, the usual tell for a wrong active project rather than bad ids. (If you forget --run, calls still work — they fall back to the most recent run — but when several conversations share a corpus, only --run keeps them from tangling.)

Read the full file on GitHub · 303 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. 3d ago First seen · 303 lines · 21 tokens per session scan A 7c9fbe613590

Subscribe to this mod's changes

bartleby is a skill published in the GitHub repository jswest/bartleby (11 stars, last pushed 5d ago), licensed MIT. It adds 21 tokens to every session and 11,309 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

notion

Notion API for creating and managing pages, databases, and blocks. Use when the user wants to create a Notion page, query a Notion database, update Notion properties, search Notion, add content to Notion, manage Notion blocks, or interact with Notion data sources and workspaces via the API.

elizaOS/eliza · 69 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

sn-da-large-file-analysis

万行以上 Excel 数据集的高性能分析引擎。提供 openpyxl readonly 流式读取(iterrows 支持 10 万行以上)、Parquet 转换加速、内存优化、分块处理和大文件写入模式。遇到以下任一情况就主动使用本 skill:①数据行数 ≥ 10k(由 sn-da-excel-workflow 的行数评估步骤触发);②用户出现触发词:大文件 / 大数据量 / 性能优化 / 内存不足 / OOM / 百万行 / 十万行 / 流式读取 / Parquet / 分块处理 / large file / big data / streaming read / chunked processing;③直接使用…

OpenSenseNova/SenseNova-Skills · 218 tokens

resilient-document-pipeline

Unified document generation with tool failure detection, domain knowledge fallback, progressive conversion, and Unicode safety.

HKUDS/OpenSpace · 25 tokens

category-filtering-and-difficulty-analysis

对Excel数据进行自定义分类统计、交叉分析与可视化,并基于多维度指标(如文本长度、术语密度、正则匹配等)进行综合评分与分级,适用于多类别数据分布统计及文本内容难度/质量评估场景。.

OpenSenseNova/SenseNova-Skills · 74 tokens

summarize-document

Summarize a long PDF, scan, office file, text file, or markdown file through the connected Superlinked MCP edge instead of reading the whole source into model context. Use when the user asks for a summary, overview, digest, or "what does this document say" about a large file.

superlinked/sie · 66 tokens