Use and Improve Liners
Once your agent is connected, it can find relevant liners in a fresh chat, ask before loading one, reuse sources across liners, and track gaps or updates as you work.
Connect your agent
Section titled “Connect your agent”Install Liner globally and add the liner skill for Claude Code or Codex:
npm install -g linershliner agent-skill install claude --yesUse codex for Codex. The liner skill lists your usable liners in its description so your agent notices when one fits the task in front of it, names it, and asks before loading it.
On Claude Code, liner agent-skill install claude also sets up two safeguards by default:
liner-researchersubagent: reads fetched web pages without shell, network, or write tools. This lowers exposure to untrusted pages, though it does not fully isolate them (it can still read local files and report back to the main agent).- Approval guard: prompts you in Claude Code before an agent runs
liner research approve,liner findings accept,liner findings reject,liner test add,liner test judge, orliner project apply --approve. It is a guardrail, not a lock. See Security for exact boundaries.
For agents with no shell, connect over MCP with liner mcp:
liner mcpMCP exposes catalog, search, file reading, citations, gaps, findings, tests, fetching, refresh, and research stepping (start, next, improve, submit). Approval, verdict, and apply operations stay in your terminal.
Find and use liners in new chats
Section titled “Find and use liners in new chats”You do not need to memorize folder paths. In a fresh chat, your agent uses these commands to discover and inspect your library:
| Command | What it does |
|---|---|
liner catalog |
List every liner with its job, readiness, source count, and blind-test results. |
liner search <query> |
Search cited passages across all syntheses and saved sources. |
liner citations <slug> |
List every footnote in a liner’s synthesis and the compiled source file it opens. |
liner use <slug> |
Add a pointer to a liner inside a repository’s CLAUDE.md or AGENTS.md. |
Reuse sources across liners
Section titled “Reuse sources across liners”Every new liner starts with your own library before searching the web.
liner find-sources <query> searches sources already kept or dropped by your other liners, along with their earlier verdicts and a liner://<slug>/<source-id> reuse address. That prevents your agent from repeating searches or pulling back weak pages you already rejected. Any reused source still needs your approval.
One liner can also reference another finished liner directly:
liner://<slug>brings in another liner’s reviewed synthesis.liner://<slug>/<source-id>copies one of that liner’s saved sources (preserving its original address).
Because these addresses use the folder name, moving or renaming a referenced liner breaks links pointing to it.
Keep them current
Section titled “Keep them current”Nothing inside a finished liner changes without your say-so. As you use a liner in real work, four loops keep it sharp:
- Gaps: When a liner cannot answer a question, your agent logs it with
liner gaps add. The next improvement pass (liner research improve) targets those open gaps. - Findings inbox: When real work turns up something useful, your agent saves it to the liner’s inbox with
liner findings add. Nothing enters the liner until you accept it, which adds it as a local-file source and closes any matching gap. - Online source refresh:
liner refresh <slug>refetches online sources and writes diffs tomixtape/.liner-runs/refresh/report.jsonwithout changing your liner. The navigator’s Attention view highlights what changed. It exits with code2when some sources cannot be reached and3when none can. - Blind comparisons:
liner test startsaves two unlabeled answers in random order, one written with the liner and one without, so you can judge whether the liner actually improves output. It refuses answers that leak which one used the liner (links, footnotes, source lists, or the wordslinerormixtape).
| Command | What it does |
|---|---|
liner gaps add <slug> <question> |
Record a question a liner could not answer for the next research pass. |
liner findings add <slug> <finding> |
Put a real-work lesson in the review inbox. |
liner findings list <slug> |
List pending findings (add --all to include reviewed ones). |
liner findings accept <slug> <id> --yes |
Add an accepted finding as an optional local-file source and close its gap. |
liner findings reject <slug> <id> --yes |
Decline a finding and keep the decision on record. |
liner refresh <slug> |
Refetch online sources and diff changes against your compiled copies. |
liner test start <slug> <question> --without-file <file> --with-file <file> |
Create a randomized blind comparison between two answers. |
liner test judge <slug> <id> --preferred <a|b|same> |
Record which blind answer you preferred and reveal which used the liner. |
liner test add <slug> <question> --without-file <file> --with-file <file> --verdict <better|same|worse> |
Record an unblinded comparison you judged directly. |
liner test list <slug> |
Show a liner’s recorded with-and-without tests. |
Supported source types
Section titled “Supported source types”Liners can combine six source types:
- Web pages (server HTML first, optional headless Chromium fallback via
liner setup-js) - YouTube transcripts
- Local files (
.md,.txt,.html,.pdf,.epub, up to 10 MiB each) - Skills (read as inert reference material, never installed or executed)
- GitHub repositories (
type: repositoryreads documentation files of a public GitHub repository at one commit: README first, then.md,.mdx,.markdown,.rst,.txt,.adoc, up to 60 files, 512 KiB each, 2 MiB total; it never reads code files or private repos) - Other liners (
liner://<slug>orliner://<slug>/<source-id>)
Agent research commands (reference)
Section titled “Agent research commands (reference)”When you ask your agent to build or improve a liner, these are the CLI commands it runs behind the scenes:
| Command | What it does |
|---|---|
liner research start <job> |
Start a new liner from a Job Story. |
liner research next <slug> |
Return the next step and its prompt file (add --with-prompt for clients that cannot read files). |
liner research plan <slug> |
List upcoming steps and the kind of work each needs. |
liner research submit <slug> |
Validate the current step and advance. |
liner research approve <slug> <kind> --token <token> |
Record your approval for synthesis, sources, or operating_layer. |
liner research improve <slug> |
Show how to strengthen a finished liner and address open gaps. |
liner fetch <slug> <url> |
Save a web page, YouTube transcript, or liner:// source to a local file so untrusted text stays out of the chat. Warns if fewer than 500 characters were saved and caches full pages for reuse. |
liner find-sources <query> |
Search sources already in your library with earlier keep/drop verdicts. |
liner research subagent install --yes |
Install the optional Claude Code read-only page-reading subagent on its own. |
Before compile runs, Liner verifies the synthesis automatically: every footnote must be defined and cited, each must point to a kept source, at least three sources must be cited (or every kept source when there are fewer), and every footnote must open a compiled source file after compile.