Build Reusable AI Context
Start with a Liner Project for one focused task. Define its Job to Be Done in Job Story form, add any material you already have, Clarify Job, build and review the corpus, compile the Mixtape, then write the instruction files a future AI session should follow.
Interactive Flow
Section titled “Interactive Flow”$npx linershThe terminal UI carries the complete creation flow. It creates the Project shell, collects material you already have, clarifies the job, builds the corpus, pauses for Source and Synthesis approval, compiles the Mixtape, and writes AI instructions. Use the CLI when you want a scriptable operation or a .mixtape archive.
The default workspace is ~/liner/projects. Set LINER_DIR to use another location:
$LINER_DIR=~/liner/projects npx linershCreation Checkpoints
Section titled “Creation Checkpoints”- Create Project asks for the name, Job to Be Done, Curator, and whether you already have Sources.
- Source Inbox accepts URLs, local files, pasted article text, and skill Sources. Its review screen lets you include or exclude each item, then shows a plain-language summary before saving.
- Clarify Job records the situation, desired outcome, and boundaries before research begins.
- Build Corpus discovers and evaluates evidence, writes working artifacts, and proposes a draft Source set.
- Review Draft Sources is the Curator checkpoint for the canonical Source set. Accepting it saves the checked Sources atomically and preserves any already-present Sources.
- Review Synthesis is a separate checkpoint. Approve the current
synthesis.mdunchanged, or edit it and review the exact replacement before anything is written. - After Synthesis approval, Liner verifies the Project Snapshot and starts Compile automatically. Compile writes
mixtape/MIXTAPE.mdand the extracted source files. - Create Operating Layer writes
LINER.md, rootSKILL.md, andliner.yaml, completing the Project.
Source approval and Synthesis approval are intentionally separate. Choosing the evidence does not silently approve the interpretation placed at the top of MIXTAPE.md.
CLI Flow
Section titled “CLI Flow”$mkdir my-projectscd my-projectsliner init mobile-design-foundationsAdd Sources through Liner Core so each one receives durable identity and duplicate checks:
$liner sources add mobile-design-foundations --type web --url https://developer.apple.com/app-store/review/guidelines/ --note "Use the current review rules as primary evidence." --priority requiredThen use the terminal UI to build and review the corpus. The Curator’s accepted Source set and separately approved Synthesis are published into the Mixtape during that workflow.
For a scriptable compile after you have reviewed the recipe and Synthesis, run:
$liner compile mobile-design-foundationsThe compile step writes the research packet:
Use The Result
Section titled “Use The Result”After compile, give the AI mixtape/MIXTAPE.md and mixtape/sources/.
In the terminal UI, Compile begins automatically after Synthesis approval. Continue to Create Operating Layer when the compiled result is usable. That action writes the instruction files: LINER.md, root SKILL.md, and liner.yaml.
After the instruction files are written, give the AI the whole folder when it can read files. For lighter use, paste mixtape/MIXTAPE.md into the conversation and keep the source files nearby for detail.
Recompile
Section titled “Recompile”When evidence changes, use liner sources add, update, or replace so identity and lineage stay intact. Then rebuild the affected corpus and compile:
$liner compile mobile-design-foundationsIn the terminal UI, completed folders open the existing compile result by default. Press r from the compile screen to rerun the compile, then recreate the instruction files if the saved research changed.