outlit-sdk AGENTS.md

outlit-sdk AGENTS.md is an instructions file for Codex, OpenCode from OutlitAI/outlit-sdk. It costs 1,064 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Outlit SDK, a TypeScript monorepo containing browser, server-side and command-line tracking packages. A monorepo is one repository that holds several related packages.

In plain words
What is it for?
Use them when developing, testing, type-checking, linting or releasing the Outlit SDK packages and command-line tool.
Why use it?
They explain the project layout, build and test commands, release process and package-publishing rules.

Instructions file for CodexOpenCode

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 instructions/outlitai/outlit-sdk/agents-md
Clone the repo
git clone --depth 1 https://github.com/OutlitAI/outlit-sdk

Made for: Codex, OpenCode.

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 outlit-sdk AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/outlitai/outlit-sdk/agents-md.svg)](https://agentmods.dev/instructions/outlitai/outlit-sdk/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/outlitai/outlit-sdk/agents-md"><img src="https://agentmods.dev/badge/instructions/outlitai/outlit-sdk/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,064 This file is loaded in full into every session.
When invoked 1,064 The same file — it is already loaded in full.
Security scan A 0 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.01064 $0.01064
Opus 5 $0.00532 $0.00532
Sonnet 5 $0.00213 $0.00213
Haiku 4.5 $0.00106 $0.00106

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

Security

Grade A, and why

outlit-sdk AGENTS.md scanned grade A with 0 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Outlit SDK

Monorepo for Outlit's TypeScript tracking SDKs (@outlit/core, @outlit/browser, @outlit/node) and CLI (@outlit/cli).

Tech stack

  • Runtime: Bun (v1.3.9, set via packageManager in root package.json)
  • Build: Turbo + tsup
  • Linting/formatting: Biome
  • Testing: Vitest (unit), Playwright (browser e2e)
  • Releases: Changesets (@changesets/cli) — stable releases and canary snapshots via GitHub Actions
  • Rust crate (crates/outlit): released separately via release-plz

Project structure

packages/
  core/       # Shared types and utilities (dependency of browser + node)
  browser/    # Browser SDK with React and Vue bindings
  node/       # Node.js server-side SDK
  cli/        # CLI tool (Rust binary published via npm)
  typescript-config/  # Shared tsconfig

Common commands

bun install              # Install deps
bun run build            # Build all packages (turbo)
bun run test             # Run all tests
bun run typecheck        # Type-check all packages
bun run lint             # Lint with biome
bun run changeset        # Create a changeset for your changes

Publishing rules

Never use workspace:* (or any workspace: protocol) in dependencies of published packages. Use concrete version ranges (e.g. "^1.1.0") instead. devDependencies may use workspace:* since they are excluded from published tarballs.

Why: Changesets uses npm publish under the hood (even in bun workspaces). npm publish does not resolve the workspace: protocol, so it leaks verbatim into the published tarball and breaks consumers — especially those using bun workspaces.

Bun workspaces resolve any matching version range to the local package, so concrete ranges like "^1.1.0" work identically to workspace:* during local development. Changesets' updateInternalDependencies: "patch" setting keeps these ranges in sync when dependency versions are bumped.

Changesets

  • Config: .changeset/config.json
  • @outlit/core, @outlit/browser, and @outlit/node are linked — they version together
  • updateInternalDependencies: "patch" — changesets updates internal dep ranges on any bump
  • Canary snapshots publish on every push to main when unreleased changesets exist. Canary publication does not update stable npm tags, stable CDN assets, or CLI binaries.
  • Stable releases happen only when the bot-authored "Version Packages" PR is merged. Treat that merge as the production release button, not as routine repository maintenance.
  • Before merging the Version Packages PR, run CI on its exact latest head by adding the existing skip-changelog label (or removing and re-adding it after a bot update), wait for Changeset Check, Lint, Build & Test, and Rust CI, then review the final package/version list.
  • For contracts coordinated with Core, use this order: merge the SDK source PR to main, merge and promote the matching Core change to production, verify Core production, and only then merge the Version Packages PR. Do not publish the stable SDK merely because SDK main or a canary is green.
  • Keep Core's default SDK-main drift validation fail-closed. Do not replace this release order with mutable counterpart branches or a bypass of either repository's normal drift checks.

Read the full file on GitHub · 82 lines

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. 4d ago First seen · 82 lines · 1,064 tokens per session scan A 6b7b3f96b314

Subscribe to this mod's changes

outlit-sdk AGENTS.md is an instructions file published in the GitHub repository OutlitAI/outlit-sdk (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 1,064 tokens to every session, about $0.0053 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.