Skip to content
Slipstream agent · Code

Docs Drift

A documentation drift agent for Claude Code, Codex and Cursor

Docs Drift finds statements in a repository's docs that its code no longer matches and proposes the edits as a diff. A run costs 800 credits, charged only when the run succeeds.

Or use it on slipstream.contextstream.io, signed in with your ContextStream account. Version 0.1.0 · Updated

What does Docs Drift do?

Finds statements in a repository's README and docs that the code no longer matches, and proposes the edits as a diff, each backed by the code that shows it.

What it declines

A task like one of these is declined with a reason, and a declined run is free:

  • Changing code to match the docs.
  • Writing new docs or a guide to the repository (Repo Guide does that).
  • Committing or pushing the edits: it returns a diff for a person to apply.
  • Judging style, tone or grammar.

What does a real run of Docs Drift look like?

The input, the result (shortened where it is long), how long it took, what it cost and where it ran. Live runs used public or demo material only; a run marked as from the eval suite is not a live run.

Live runs fail at the moment: both demo runs on 2026-10-27 timed out waiting for the model (model_timeout), and a failed run costs nothing. Until that is fixed, the example here comes from the agent's eval suite.

Live attempts that failed (no charge): task 6eca3d44-eafc-4ae6-9ac0-dc2fa8893741, 2026-10-27 17:20 UTC, model_timeout; task 9cdc0387-39c7-4bea-b6bf-5d1649a5dc37, 2026-10-27 17:22 UTC, model_timeout.

From its eval suite, not a live run

A renamed setting the README still names (eval case)

Version
0.1.0
Outcome
succeeded
Ran
2026-10-27 17:28 UTC
Took
Not timed (fakes)
Cost
No charge (offline)

The agent's offline eval suite: its real program, against a fake ContextStream, a scripted model and fixtures, with no network. Not a live run.

What it ran on

  • evals/docs-drift/cases.jsonl in the Slipstream repository
Input
{
  "project_id": "0e0e0e0e-0000-4000-8000-000000000101"
}

Result

Summary

1 statement(s) in 1 doc(s) no longer match the code. One setting was renamed.

Findings

DocSaysCode showsEvidence
README.md:10Set `DATABASE_URL` to your Postgres URL.The code reads PG_URL; DATABASE_URL is no longer read.src/config.ts:5

Proposed edit

--- a/README.md
+++ b/README.md
@@ -11,1 +11,1 @@
-Set `DATABASE_URL` to your Postgres URL.
+Set `PG_URL` to your Postgres URL.
Checks: 5 of 5 passed
  • docs_read: 1 doc excerpt(s) from 1 doc(s).
  • claims: 2 checkable claim(s) quoted exactly from the docs.
  • evidence: Every finding cites code found in the index.
  • diff: 1 of 1 finding(s) placed in the diff.
  • workspace_context: 0 context items from ContextStream for this job, about 0 tokens.
Eval case
evals/docs-drift/cases.jsonl, env-var-renamed
Depot run
lh9rrpq6ff

What does Docs Drift cost?

Docs Drift costs 800 ContextStream credits a run, charged only when the run succeeds; a declined, failed, cancelled or timed-out run costs nothing. Credits come with every plan: Starter is free with 10,000 a month (12 runs of Docs Drift, if spent on nothing else), and Pro is $19 a month with 25,000.

Which tools does Docs Drift work with?

Claude Code, Codex, Cursor and other MCP clients: ContextStream's MCP gives them a slipstream tool that finds, runs and follows Docs Drift. It also runs from a terminal or an agent's shell with ss run docs-drift, and from the ContextStream web app.

  • Claude Code, Codex, Cursor and other MCP clients: connect ContextStream's MCP once (setup for each editor), then ask your agent to hand the job to Docs Drift.
  • A terminal or an agent's shell: ss run docs-drift, installed with ContextStream's command line.
  • The web app: the workspace's specialist library, where each run shows its price before it starts.

What access does Docs Drift need?

Docs Drift gets a short-lived token for one workspace, limited to 6 scopes: Searches code, Reads memory, Can save a note, Reads context, Marks cited context and Models via ContextStream. It works in one project, and only for that run.

Model agent. A program on ContextStream's model proxy, with a short-lived token that acts for you in one workspace. It is stopped after 5 min.

ScopeWhat it lets a run do
search.readSearch the workspace’s code, by keyword and by meaning.
memory.readSearch memory, and read decisions and lessons.
memory.write.noteSave one note per run.
context.readRead the run’s context pack from the workspace.
context.feedbackMark the context items a result cited as helpful.
model.invokeCall models through ContextStream’s model proxy, under the run’s credit cap.

How do I turn Docs Drift on?

An owner or admin of your ContextStream workspace turns Docs Drift on in the specialist library of the web app. Specialist agents are opening workspace by workspace; if yours is not open yet, the library says so.

  1. Sign in to ContextStream: the button below opens the specialist library on Docs Drift.
  2. An owner or admin switches Docs Drift on for the workspace.
  3. Pick the project it works in, and run it from the library, from your coding agent or with ss run.

How do I call Docs Drift from Claude Code or Codex?

Ask your coding agent to hand the job to Docs Drift, or call it yourself: ss run docs-drift in a terminal, or slipstream(action="run", agent="docs-drift", input={...}) over MCP. A priced run starts only once its price is accepted.

Connect ContextStream's MCP (it also writes each editor's connection):

curl -fsSL https://contextstream.io/scripts/mcp.sh | bash

Checks the README and the docs the index finds against the code. Over MCP:

slipstream(action="run", agent="docs-drift", input={"project_id":"00000000-0000-4000-8000-0000000000a1"}, accepted_price_credits=800)

In a terminal (curl -fsSL https://contextstream.io/cs/install.sh | sh installs ss):

ss run docs-drift project_id=00000000-0000-4000-8000-0000000000a1

Over MCP, a call without accepted_price_credits returns the quote first; ss asks on a terminal, and scripts pass --yes.

Input

FieldTypeWhat it is
project_idstring, requiredThe indexed project whose docs to check.
pathsstring[]Docs to check, for example README.md or docs/setup.md. Defaults to the README and the docs the index finds.
focusstringA topic to check, for example "configuration" or "the CLI".
save_notebooleanSave the findings and the diff as a note in the project.
Code

Repo Guide

repository onboarding guide agent

Repo Guide writes an onboarding guide for an indexed repository, citing the files it describes.

500 credits a runEvals 7/7v0.1.0
Code

Code Oracle

code search agent

Code Oracle answers one question about where code is, what calls it, how it flows or where to change it, from the workspace's code index.

FreeEvals 202/212v0.2.0
Code

PR Reviewer

pull request review agent

PR Reviewer reviews one pull request's diff for bugs and for breaches of the workspace's decisions, lessons and preferences, citing the line and the constraint for each finding.

1,200 credits a runEvals 13/13v0.1.0

Every Slipstream agent