bartleby

bartleby is a skill for Claude Code, Codex from jswest/bartleby. It costs 21 tokens per session (12,076 once invoked), scanned A, original, MIT.

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

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate academic papers, news, government records, technical documents, or other materials already added to the Bartleby corpus.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jswest/bartleby/skill
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.

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.

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 bartleby

README.md
[![agentmods](https://agentmods.dev/badge/skills/jswest/bartleby/skill/github.svg)](https://agentmods.dev/skills/jswest/bartleby/skill)
Your own site
<a href="https://agentmods.dev/skills/jswest/bartleby/skill"><img src="https://agentmods.dev/badge/skills/jswest/bartleby/skill/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.

agentmods 80×15 button for bartleby

Your own site · 80×15
<a href="https://agentmods.dev/skills/jswest/bartleby/skill"><img src="https://agentmods.dev/badge/skills/jswest/bartleby/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,076 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 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 Rogue Agent · line 224
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 224
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Tool Misuse · line 296
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
How audits are shown
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.00021 $0.12076
Opus 5.5 $0.00008 $0.04830
Sonnet 5.5 $0.00004 $0.02415
Haiku 4.5 $0.00002 $0.01208

Measured 1mo ago against content hash 690a0755cbb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 312 lines

How it starts

The opening of the file, as written. The whole thing — 312 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
bartleby skill session new --no-memory       # only if the user asked for memory off (see "Memory rules")

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 · 312 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. 1mo ago Changed · +5 lines 690a0755cbb1
  2. 1mo ago Changed · +3 lines 6f496d3e229e
  3. 1mo ago Changed · +1 lines 4b4f5fecb3bf
  4. 2mo 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 (12 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 12,076 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.

Related

bartleby compared with skills from other repositories

bartleby next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bartlebyjswest/bartlebySkill121mo agoMITA21Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code