tldr-init

tldr-init is a command for coding agents from 0p9b/TLDR. It costs 16 tokens per session (210 once invoked), scanned C, original, MIT.

A command that adds always-on TLDR communication rules to a repository for several coding assistants and IDE tools. A repository is a project's tracked folder of code and related files.

In plain words
What is it for?
Use it to configure concise assistant responses across Cursor, Windsurf, Cline, Copilot, opencode, and AGENTS.md files in the current project.
Why use it?
It avoids manually creating the same instruction files and checks existing files before overwriting them unless forced.

Command

Part of the tldr plugin — 8 skills, 8 commands, 3 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/0p9b/tldr/tldr-init
Clone the repo
git clone --depth 1 https://github.com/0p9b/TLDR

Or install tldr, the plugin that ships this one along with the rest of its 8 skills, 8 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tldr-init

README.md
[![agentmods](https://agentmods.dev/badge/commands/0p9b/tldr/tldr-init.svg)](https://agentmods.dev/commands/0p9b/tldr/tldr-init)
Your own site
<a href="https://agentmods.dev/commands/0p9b/tldr/tldr-init"><img src="https://agentmods.dev/badge/commands/0p9b/tldr/tldr-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 210 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.00210
Opus 5 $0.00008 $0.00105
Sonnet 5 $0.00003 $0.00042
Haiku 4.5 $0.00002 $0.00021

Measured 5d ago against content hash 02e79734247f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

tldr-init scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

2. Otherwise download and run the standalone script (it is self-contained and supports stdin execution): `curl -fsSL https://raw.githubusercontent.com/0p9b/TLDR/main/src/tools/tldr-init.js | node - $ARGUMENTS`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. Otherwise download and run the standalone script (it is self-contained and supports stdin execution): `curl -fsSL https://raw.githubusercontent.com/0p9b/TLDR/main/src/tools/tldr-init.js | node - $ARGUMENTS`
commands/tldr-init.md · 14 lines

What it actually says

Write the per-repo TLDR rule files (Cursor, Windsurf, Cline, Copilot, opencode, AGENTS.md) into the current repo, then report the result.

How to run the init script — pick the first that applies:

  1. If src/tools/tldr-init.js exists in the current repo (you are inside a TLDR checkout), run: node src/tools/tldr-init.js $ARGUMENTS
  2. Otherwise download and run the standalone script (it is self-contained and supports stdin execution): curl -fsSL https://raw.githubusercontent.com/0p9b/TLDR/main/src/tools/tldr-init.js | node - $ARGUMENTS

Use --dry-run first if the user did not pass --force, so we never silently overwrite an existing rule file.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 14 lines · 16 tokens per session scan C 02e79734247f

Subscribe to this mod's changes

tldr-init is a command published in the GitHub repository 0p9b/TLDR (23 stars, last pushed 12d ago), licensed MIT. It adds 16 tokens to every session and 210 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.