literature

literature is a skill for Claude Code, Codex from robinslange/learning-loop. It costs 56 tokens per session (716 once invoked), scanned A, original, Apache-2.0.

A tool for saving an outside source as a literature note—a structured note about a paper, web page, or other reference.

In plain words
What is it for?
Use it with a web address, paper title, or citation to capture research in a literature section of your knowledge store.
Why use it?
Useful source material is easy to forget or leave disconnected from your existing knowledge. This extracts the main ideas, checks claims, and links the note to related material.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the learning-loop plugin — 24 skills, 20 agents, 6 hooks 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/robinslange/learning-loop/literature
Any agent
npx skills add robinslange/learning-loop --skill literature
Clone the repo
git clone --depth 1 https://github.com/robinslange/learning-loop

Made for: Claude Code, Codex.

Or install learning-loop, the plugin that ships this one along with the rest of its 24 skills, 20 agents, 6 hooks.

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 literature

README.md
[![agentmods](https://agentmods.dev/badge/skills/robinslange/learning-loop/literature.svg)](https://agentmods.dev/skills/robinslange/learning-loop/literature)
Your own site
<a href="https://agentmods.dev/skills/robinslange/learning-loop/literature"><img src="https://agentmods.dev/badge/skills/robinslange/learning-loop/literature.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 716 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.00056 $0.00716
Opus 5 $0.00028 $0.00358
Sonnet 5 $0.00011 $0.00143
Haiku 4.5 $0.00006 $0.00072

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

Security

Grade A, and why

literature 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.

plugin/skills/literature/SKILL.md · 67 lines

How it starts

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

Literature: Source Material Capture

Overview

Launches the literature-capturer agent to capture an external source as a literature note. The agent fetches the source, extracts core ideas in persona voice, finds vault connections and counterpoints, verifies claims, and writes to 2-literature/.

When to Use

  • /literature <URL>: fetch and capture a web source
  • /literature <paper title or citation>: search for and capture an academic source
  • /literature: no argument; asks the user what to capture
  • When /deepen flags uncaptured sources worth preserving

Process

Step 0: Parameter Resolution

No argument (/literature): Use AskUserQuestion:

What source would you like to capture?

  • A URL: I'll fetch and extract core ideas
  • A paper title or citation: I'll search for it first

Argument provided: Proceed immediately.

Step 1: Launch Agent

Launch the literature-capturer agent with:

  • source: The URL, title, or citation provided by the user
  • vault_path: {{VAULT}}/

The agent definition is at ${CLAUDE_PLUGIN_ROOT}/agents/literature-capturer.md (resolve to a literal path before dispatch — see agents-shared/vault-io.md → Placeholders).

Step 2: Handle Backlink Offers

The agent may identify existing vault notes that reference the source without wiki-links. Present these to the user and execute approved edits.

Step 2.5: Replay Post-Write Hooks

The literature-capturer is a subagent. The literature note it wrote to 2-literature/ bypassed PostToolUse, so backlinks and edge inference didn't run. Replay on the returned path:

printf '%s\n' "$LITERATURE_NOTE_PATH" \
  | node "${CLAUDE_PLUGIN_ROOT}/scripts/sweep-hook-replay.mjs" --stdin

Where $LITERATURE_NOTE_PATH is constructed from the agent's response (e.g. {{VAULT}}/2-literature/<filename>, where <filename> is the kebab-case filename literature-capturer returned). The backlink edits from Step 2 happen via main-thread Edit and trigger PostToolUse normally: no replay needed for those. See skills-shared/hook-replay.md for the full pattern.

Read the full file on GitHub · 67 lines

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 · 67 lines · 56 tokens per session scan A ffe045cc06a6

Subscribe to this mod's changes

literature is a skill published in the GitHub repository robinslange/learning-loop (11 stars, last pushed 12d ago), licensed Apache-2.0. It adds 56 tokens to every session and 716 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-30.

Related

Other skills, from other repositories

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

ljg-learn

Deep concept anatomist that deconstructs any concept through 8 exploration dimensions (history, dialectics, phenomenology, linguistics, formalization, existentialism, aesthetics, meta-philosophy) and compresses insights into an epiphany. Use when user asks to explain, dissect, or deeply understand a concept, term, or…

lijigang/ljg-skills · 113 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

code-documenter

Use when adding docstrings, creating API documentation, or building documentation sites. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, tutorials, user guides.

zebbern/claude-code-guide · 39 tokens

deck-course-module

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

nexu-io/html-anything · 25 tokens

pedagogy-review

Holistic pedagogical review of a lecture deck (.qmd or .tex). Checks narrative arc, prerequisite assumptions, worked examples, notation clarity, and deck-level pacing. Use when user says "pedagogy review", "does this teach well?", "is the flow right?", "will students follow?", "review the narrative", or before…

pedrohcgs/claude-code-my-workflow · 90 tokens