BisonNotes-AI: Instructions file for Codex

AGENTS.md

BisonNotes-AI AGENTS.md is an instructions file for Codex, OpenCode from bisonbet/BisonNotes-AI. It costs 1,184 tokens per session, scanned A, original, MIT.

Project instructions for BisonNotes-AI, a native iPhone and Apple Watch application built with Xcode. They explain what a Linux cloud coding environment can and cannot do for the project.

In plain words
What is it for?
Use them to guide Swift code review and editing, linting, syntax checks, project setup, and Git work from Linux.
Why use it?
They prevent the coding agent from attempting builds or tests that require macOS, Xcode, or the iOS Simulator when those tools are unavailable.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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 BisonNotes-AI AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bisonbet/bisonnotes-ai/agents-md"><img src="https://agentmods.dev/badge/instructions/bisonbet/bisonnotes-ai/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,184 This file is loaded in full into every session.
When invoked 1,184 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.01184 $0.01184
Opus 5.5 $0.00474 $0.00474
Sonnet 5.5 $0.00237 $0.00237
Haiku 4.5 $0.00118 $0.00118

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

Security

Grade A, and why

BisonNotes-AI 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 · 98 lines

How it starts

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

AGENTS.md

Cursor Cloud specific instructions

Platform constraints

This is a native iOS/watchOS Xcode project. It requires macOS with Xcode 15+ to build, run the iOS Simulator, and execute unit/UI tests. On a Linux Cloud Agent VM:

  • Cannot build: xcodebuild is macOS-only.
  • Cannot run: iOS Simulator requires macOS.
  • Cannot run unit/UI tests: Tests require Xcode and the simulator.
  • Cannot resolve SPM dependencies via Xcode: The project uses Xcode-managed SPM (no standalone Package.swift), and packages depend on Apple-only frameworks.

What you CAN do on Linux

  • Lint: Run swiftlint lint against Swift files (requires LINUX_SOURCEKIT_LIB_PATH set; see below).
  • Syntax-check: Run swiftc -parse <file.swift> to validate Swift syntax (works for files without Apple framework imports).
  • Code review/editing: Read, search, and edit all Swift source files, Core Data model XML, plists, entitlements, etc.
  • Git operations: Full git workflow including branching, committing, and pushing.

Environment setup (Cloud Agent)

The Cloud Agent environment is defined by .cursor/environment.json, whose install step runs .cursor/install.sh. That script is idempotent and:

  • Installs the Swift OS dependencies (libcurl, libpython, etc.).
  • Installs Swift 6.3.3 via Swiftly at ~/.local/share/swiftly/.
  • Installs SwiftLint 0.58.2 at /usr/local/bin/swiftlint.
  • Appends a guarded block to ~/.bashrc (also picked up by login shells because ~/.profile sources ~/.bashrc) that sets:
  • Swiftly env: . "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
  • SourceKit path: export LINUX_SOURCEKIT_LIB_PATH=... (auto-computed from the installed toolchain)

To change the pinned Swift or SwiftLint version, edit the SWIFT_VERSION / SWIFTLINT_VERSION variables at the top of .cursor/install.sh.

Running SwiftLint

cd "BisonNotes AI/BisonNotes AI"
swiftlint lint                    # Full lint with all details
swiftlint lint --reporter summary # Summary table only

Read the full file on GitHub · 98 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 · 98 lines · 1,184 tokens per session scan A 62a9d1e75959

Subscribe to this mod's changes

BisonNotes-AI AGENTS.md is an instructions file published in the GitHub repository bisonbet/BisonNotes-AI (17 stars, last pushed 5d ago), licensed MIT. It adds 1,184 tokens to every session, about $0.0047 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

BisonNotes-AI AGENTS.md compared with instructions from other repositories

BisonNotes-AI AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
BisonNotes-AI AGENTS.mdbisonbet/BisonNotes-AIInstructions file175d agoMITA1,184Codex, 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