AGENTS.mdA

AGENTS.md from githubnext/rig is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add githubnext/rig/AGENTS.md@git:20261010.2be15ee

Pins git:20261010.2be15ee in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
githubnext/rig
Path
AGENTS.md
Versions recorded
5
Latest version
git:20261010.2be15ee, committed Oct 10, 2026
First version recorded
Jul 24, 2026
Size
5,122 bytes
Repository stars
14
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AGENTS.md

## Project Overview

Rig is a minimal TypeScript agent harness. The core runtime (`skills/rig/rig.ts`) provides declarative agent construction with typed input/output shapes, prompt intents, and a Copilot SDK runtime.

## Architecture

```
skills/rig/rig.ts      — Core runtime (agent, p, copilotEngine, schemas)
skills/rig/samples/    — Markdown sample programs; see skills/rig/samples.md for pattern buckets and task families
src/samples/           — TypeScript examples and provider integration fixtures
skills/rig/ — Focused documentation loaded on demand from SKILL.md
src/engines/copilot.test.ts — Copilot engine unit tests (vitest)
src/rig.test.ts        — Unit tests (vitest)
scripts/run-sample.test.ts — Sample runner with a stub Copilot SDK client (dry-run)
skills/rig/SKILL.md    — Compact skill entry point and reference router
```

All imports use the `"rig"` path alias (resolved via tsconfig paths + vitest alias). `copilotEngine` is exported directly from `rig` for client construction.

## Commands

| Task | Command |
|------|---------|
| Typecheck | `npm run typecheck` |
| Unit tests | `npm test` |
| Run samples (stub) | `npm run sample` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add githubnext/rig/AGENTS.md@sha256:5ced735b7f3fbed6

The line at the top of this page pins the label git:20261010.2be15ee, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_sj2fnizlu2ti7h3z.svg)](https://markdownregistry.com/a/art_sj2fnizlu2ti7h3z)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jul 24, 2026 and Oct 10, 2026, about one every 20 days.

versioncommittedcommitsizeaudit
git:20261010.2be15ee latest2026-10-10 2be15ee 5,122 BA view · diff
git:20261006.9e839002026-10-06 9e83900 4,473 BA view · diff
git:20260730.05d68a42026-07-30 05d68a4 4,526 BA view · diff
git:20260724.955b0e42026-07-24 955b0e4 4,604 BA view · diff
git:20260724.1a3c2a92026-07-24 1a3c2a9 4,533 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (5122 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

githubnext/rig · 14 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_sj2fnizlu2ti7h3z
GET https://markdownregistry.com/api/v1/resolve?ref=githubnext/rig/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/5ced735b7f3fbed66d75e4baf4009912869a56e10d2d5c6a61cb53b532886a59

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from githubnext/rig

agentic-workflows SKILL.md skill
githubnext/rig · .github/skills/agentic-workflows/SKILL.md · Route gh-aw design, creation, diagnosis, patching, active debugging, and upgrade requests to the right strategies.
git:20261018.21b2f13 · audit A · 14 stars
npm SKILL.md skill
githubnext/rig · .github/skills/npm/SKILL.md · Troubleshoot npm registry, proxy, and certificate failures on the Microsoft corporate network or VPN using the 1ES…
git:20261006.cc792f2 · audit A · 14 stars
rig SKILL.md skill
githubnext/rig · skills/rig/SKILL.md · Create, review, and run typed TypeScript agents and workflows with Rig. Use when writing Rig programs, generating…
git:20261010.2be15ee · audit A · 14 stars

Every file in githubnext/rig

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261015.0e1f0bf · audit A · 352,890 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 302,424 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261011.412347a · audit A · 284,510 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 193,096 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 170,980 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261011.5d64745 · audit A · 136,966 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 129,649 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 113,780 stars

Browse by kind, by grade A, or by owner.