duckrow: Instructions file for Codex

AGENTS.md

duckrow AGENTS.md is an instructions file for Codex, OpenCode from barysiuk/duckrow. It costs 2,050 tokens per session, scanned A, original, MIT.

Project instructions for duckrow, a Go command-line tool that manages AI-agent skills across multiple project folders. They describe its commands, internal packages, tests, configuration, and asset handling.

In plain words
What is it for?
Use them when developing or testing duckrow, particularly for its command-line entry points, skill and agent assets, configuration, lock files, folders, and orchestration code.
Why use it?
They provide the structure and checks needed to modify duckrow without placing logic in the wrong package or missing its integration tests.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

This is barysiuk/duckrow's own configuration. It tells Codex and OpenCode how to work on duckrow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything duckrow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to barysiuk/duckrow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/barysiuk/duckrow/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/barysiuk/duckrow

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 duckrow AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/barysiuk/duckrow/agents-md/github.svg)](https://agentmods.dev/instructions/barysiuk/duckrow/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/barysiuk/duckrow/agents-md"><img src="https://agentmods.dev/badge/instructions/barysiuk/duckrow/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for duckrow AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/barysiuk/duckrow/agents-md"><img src="https://agentmods.dev/badge/instructions/barysiuk/duckrow/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,050 This file is loaded in full into every session.
When invoked 2,050 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.02050 $0.02050
Opus 5.5 $0.00820 $0.00820
Sonnet 5.5 $0.00410 $0.00410
Haiku 4.5 $0.00205 $0.00205

Measured 2mo ago against content hash 2209f1a5acc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

duckrow 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 2mo 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 · 213 lines

How it starts

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

Agent Guide

duckrow is a Go CLI tool that manages AI agent skills across multiple project folders.

Project Structure

cmd/duckrow/              CLI entrypoint and integration tests
  cmd/                    Cobra command definitions (thin wrappers)
  testdata/script/        testscript integration tests (.txtar files)
  main.go                 Entrypoint
  main_test.go            TestMain + testscript runner + custom commands
internal/core/            Core library (zero UI dependencies)
  asset/                  Asset handler interfaces and implementations (skill, MCP, agent)
  system/                 System interfaces and implementations (7 systems)
  auth.go                 Clone error classification, SSH/HTTPS hints
  compat.go               Legacy type adapters for backward compatibility
  config.go               Config management (~/.duckrow/)
  env.go                  Environment variable resolution for MCP servers
  folder.go               Folder tracking
  helpers.go              Shared utility functions
  lockfile.go             Lock file v3 (unified assets array)
  orchestrator.go         Coordination layer for install/remove/scan
  registry.go             Private registry management (v1/v2 manifests)
  source.go               Source URL parsing
  types.go                Domain types
internal/tui/             Interactive terminal UI (Bubble Tea)
  app.go                  Main TUI model, view routing, data loading
  folder.go               Folder view — skill list, preview, removal
  install.go              Install view — skill/MCP picking list
  asset_wizard.go         Asset install wizard (system selection, env vars)
  wizard.go               Shared wizard component
  registry_wizard.go      Registry add wizard
  bookmarks.go            Bookmarks view — folder switching
  sidebar.go              Sidebar panel — folder info, systems
  tabs.go                 Tab bar component
  statusbar.go            Status bar (transient messages, spinner)
  settings.go             Settings view — registry management
  confirm.go              Confirmation dialog
  clone_error.go          Clone error handling with retry flow
  items.go                List item delegates for bubbles components
  keys.go                 Keybinding definitions
  theme.go                Shared lipgloss styles and colors

Read the full file on GitHub · 213 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. 2mo ago First seen · 213 lines · 2,050 tokens per session scan A 2209f1a5acc1

Subscribe to this mod's changes

duckrow AGENTS.md is an instructions file published in the GitHub repository barysiuk/duckrow (9 stars, last pushed 4mo ago), licensed MIT. It adds 2,050 tokens to every session, about $0.0082 per session on Opus 5.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.

Related

duckrow AGENTS.md compared with instructions from other repositories

duckrow AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
duckrow AGENTS.mdbarysiuk/duckrowInstructions file94mo agoMITA2,050Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA1,907GitHub Copilot