Skip to content

Liner Docs

Liner is a free, open-source tool that lets AI agents like Claude Code and Codex keep their research so any agent can use it again in another chat.

When you ask for research on a task, your agent uses Liner to create a liner: a local folder for one focused job containing three things:

  • Full sources extracted into readable Markdown from web pages, YouTube transcripts, PDFs, EPUBs, public GitHub docs, local files, skills, or other liners.
  • A synthesis you approved, citing each point back to a kept source.
  • Instructions for future agents (LINER.md and SKILL.md) so any file-reading agent knows when the liner applies, how to use the evidence, and where its limits are.

Your agent handles searching, reading, and writing on the AI subscription you already pay for. Liner’s code runs the research steps, checks every citation, and makes no AI calls of its own. You approve what goes in, and a read-only terminal navigator lets you browse your library beside your chat.

npx linersh

A liner is useful when source choice changes the quality of the answer and you plan to return to the same topic across future chats.

Two examples ship in the repository:

  • designing-for-ai-uncertainty: 30 primary sources (Google PAIR, Microsoft HAX, Apple HIG, NIST AI RMF, and empirical studies) for deciding how an AI feature should show uncertainty and let people verify its work.
  • mobile-design-foundations: Apple HIG, Material 3, a YouTube talk, and a local research PDF for designing native mobile touch and gesture interactions.

In a new chat, your agent notices when a liner in your library matches your task, names it, asks before loading it, and answers using its saved sources.

  1. Ask your agent for lasting research on a specific task.
  2. It starts with a short interview to frame a Job Story and clarify the situation, desired outcome, and boundaries.
  3. It checks your existing library first (liner find-sources), then finds and evaluates new sources in focused helper subagents while Liner checks each step.
  4. It stops for your approval on the synthesis (synthesis.md).
  5. It stops for your approval on the final source list.
  6. Liner compiles the full sources into local Markdown with no model calls.
  7. It stops for your approval on the instruction files (LINER.md and SKILL.md).
  8. Browse the result in the navigator, and reuse it in any future session.

You only need a few terms to navigate Liner’s folders and CLI:

Term What it means
Liner The full local folder for one job (internally called a Liner Project in liner project CLI commands).
Mixtape The research packet under mixtape/: the source recipe (tape.yaml), your synthesis (synthesis.md), extracted sources (sources/), working notes (working/), and compiled index (MIXTAPE.md).
Synthesis Your reviewed summary of the kept sources, with footnotes verified against compiled source files.
  1. Install and connect Liner with Claude Code, Codex, or MCP.
  2. Build a liner with your agent from start to finish.
  3. Use and improve liners across chats with source reuse, gaps, findings, refresh, and blind tests.