objgit: Instructions file for Codex

AGENTS.md

objgit AGENTS.md is an instructions file for Codex, OpenCode from tigrisdata/objgit. It costs 2,045 tokens per session, scanned A, original, MIT.

Repository instructions for Objgit, a single-binary Git server that stores repositories in a Tigris cloud bucket instead of on the local disk. Git is a tool for tracking code history and sharing repositories.

In plain words
What is it for?
Use them when building or testing Objgit, running it locally, configuring HTTP, Git, or SSH access, enabling pushes, or exposing Prometheus metrics for monitoring.
Why use it?
They explain the server’s supported connection methods, build commands, tests, and runtime options in one place. This helps developers build, run, and verify the server correctly.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is tigrisdata/objgit's own configuration. It tells Codex and OpenCode how to work on objgit 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 objgit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tigrisdata/objgit. 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/tigrisdata/objgit/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/tigrisdata/objgit

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tigrisdata/objgit/agents-md/github.svg)](https://agentmods.dev/instructions/tigrisdata/objgit/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tigrisdata/objgit/agents-md"><img src="https://agentmods.dev/badge/instructions/tigrisdata/objgit/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 objgit AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tigrisdata/objgit/agents-md"><img src="https://agentmods.dev/badge/instructions/tigrisdata/objgit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,045 This file is loaded in full into every session.
When invoked 2,045 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.02045 $0.02045
Opus 5.5 $0.00818 $0.00818
Sonnet 5.5 $0.00409 $0.00409
Haiku 4.5 $0.00204 $0.00204

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

Security

Grade A, and why

objgit 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 1mo 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 · 141 lines

How it starts

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

Repository guidelines

objgitd is a single-binary git server. It stores repositories as objects in a Tigris bucket, and not on a local filesystem.

Module path: github.com/tigrisdata/objgit. Go 1.26.

Transports

One backend answers three transports:

Transport Flag Default Notes
Smart HTTP -http-bind :8080 The primary transport. Carries HTTP Basic.
git:// -git-bind :9418 Unauthenticated TCP. Opt-in.
SSH -ssh-bind off Public-key. Opt-in. Host key lives in the bucket.

All three funnel authorization through one pluggable internal/auth.Authorizer.

Git LFS rides on the Smart HTTP listener, behind -allow-lfs. It is HTTP even for an ssh:// remote: SSH only answers git-lfs-authenticate, which names the HTTP endpoint. See docs/architecture/lfs.md.

A fourth listener serves Prometheus metrics at /metrics and a /healthz probe endpoint (-metrics-bind, default :9090). An empty value disables it.

Commands

go build ./...                  # build everything
go build -o objgitd ./cmd/objgitd
go test ./...                   # full test suite
go test ./cmd/objgitd/...       # protocol tests
go test -run TestSmartHTTP ./cmd/objgitd/...
go test -run TestSSH ./cmd/objgitd/...

# Run locally.
./objgitd -bucket $BUCKET -http-bind :8080 -allow-push
./objgitd -bucket $BUCKET -ssh-bind :2222 -allow-push   # git clone ssh://git@host:2222/repo.git

Notes on the tests and on configuration:

  • Protocol tests need git on PATH. They skip themselves without it.
  • SSH tests also need ssh and ssh-keygen on PATH. They skip themselves without them.
  • Flags can also come from the environment through flagenv, which maps each flag to UPPER_SNAKE. -allow-push becomes ALLOW_PUSH, and -bucket becomes BUCKET.
  • godotenv loads a .env file from the working directory at startup.
  • The .wasm files in bin/ are Git LFS objects. Run git lfs pull before you build. Without them, TestRepoBin fails. The image copies bin/ to /usr/libexec/objgit/bin. For a local run with hooks, set WASM_PATH=./bin.
  • TestCluster in internal/kube needs a real cluster. It skips itself without the OBJGIT_TEST_KUBE_* variables.
  • Tigris client credentials come from the standard AWS SDK chain, such as AWS_PROFILE.

Read the full file on GitHub · 141 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. 1mo ago Changed · +9 lines · +215 tokens per session b6db577ad0ae
  2. 1mo ago Changed · +5 lines · +108 tokens per session 54854d5cda52
  3. 1mo ago Changed · +11 lines · +279 tokens per session 2aeba3ddddd7
  4. 2mo ago Changed · +2 lines · +38 tokens per session abbafe48048d
  5. 2mo ago First seen · 114 lines · 1,405 tokens per session scan A d1204414e5aa

Subscribe to this mod's changes

objgit AGENTS.md is an instructions file published in the GitHub repository tigrisdata/objgit (149 stars, last pushed 9d ago), licensed MIT. It adds 2,045 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-30.

Related

objgit AGENTS.md compared with instructions from other repositories

objgit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
objgit AGENTS.mdtigrisdata/objgitInstructions file1499d agoMITA2,045Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode