Skip to content
SkimNews
Tech & AI

us-vs-them: Line-Level Human vs. AI Authorship

Image from Hacker News

The 30-Second Skim7 points

  • What happenedA new tool called "us-vs-them" analyzes a git repository's version history to score each line of text in a file by whether it was authored by a human or an AI agent, producing ranges that flag human-written "islands" inside an AI-generated "sea" without requiring any markup on the underlying text.
  • Key facts & numbersus-vs-them is a CLI tool and library that diffs a git repository's version history to score line-level human vs. AI authorship, with outputs ranging from 0.00 (fully agent) to 1.00 (fully human), including fractional scores like 0.46 for partially modified text The tool targets agentic editing workflows where developers want to protect their own writing — e.g., opening paragraphs of a README.md or key code sections in a mostly vibecoded app — from being overwritten by agents in future sessions us-vs-them works on plain markdown/text files with no markup required, relying solely on the fact that each new version is committed under identifiable authorship
  • What happens nextThe clever trick: zero markup needed. It just reads git history, so any plain markdown file becomes line-by-line authorship data for free.
  • us-vs-them is a CLI tool and library that diffs a git repository's version history to score line-level human vs. AI authorship, with outputs ranging from 0.00 (fully agent) to 1.00 (fully human), including fractional scores like 0.46 for partially modified text
  • The tool targets agentic editing workflows where developers want to protect their own writing — e.g., opening paragraphs of a README.md or key code sections in a mostly vibecoded app — from being overwritten by agents in future sessions
  • us-vs-them works on plain markdown/text files with no markup required, relying solely on the fact that each new version is committed under identifiable authorship
  • The output takes the form of "islands" of human-authored lines inside a "sea" of machine-generated text, with the algorithm factored to handle joining, splitting, and dilution of authorship without collapsing to fully one side or the other

Why It Matters

As agentic coding sessions become routine, developers have no built-in way to tell an agent which lines of a file are their own. us-vs-them offers a markup-free, git-native approach by treating commit history as a provenance trail, producing fractional authorship scores (0.00 to 1.00) that let a human flag protected zones — a concrete mechanism for asserting ownership over islands of human work in an AI-generated sea.

Sources Cited

Related Coverage

Ask SkimNews

The day’s news in one short email, every morning.

Free. One email a day. Unsubscribe in one click.