dealmachine-cli: Instructions file for Codex

AGENTS.md

dealmachine-cli AGENTS.md is an instructions file for Codex, OpenCode from DealMachine/dealmachine-cli. It costs 835 tokens per session, scanned A, original, MIT.

Repository instructions for developing and releasing the public DealMachine command-line package and its agent plugin assets. They describe the project layout, supported Node.js versions, checks, and boundaries around private code and credentials.

In plain words
What is it for?
Use them when developing commands, changing HTTP or configuration helpers, running the project checks, working with the agent plugin, or preparing a release.
Why use it?
They help contributors make changes in the correct parts of the repository and avoid exposing private materials. They also document the checks needed before publishing changes.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 dealmachine-cli AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dealmachine/dealmachine-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/dealmachine/dealmachine-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 835 This file is loaded in full into every session.
When invoked 835 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.00835 $0.00835
Opus 5.5 $0.00334 $0.00334
Sonnet 5.5 $0.00167 $0.00167
Haiku 4.5 $0.00084 $0.00084

Measured 5d ago against content hash 250ed94e6de7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dealmachine-cli 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 5d 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 · 26 lines

How it starts

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

DealMachine CLI

This repository owns the public @dealmachine/cli package, the dealmachine npm alias, and the existing agent plugin assets. Start with development, releases, and the Command reference.

Use codex/ task branches and PRs into staging. Merging into master publishes to customers, so master only takes a release from staging or an urgent hotfix. Inspect Git status before editing and preserve unrelated work. Node.js 22.18 or newer is recommended for development; the shipped CLI supports Node.js 18 and newer.

Public Commands live in src/commands; HTTP, configuration and output helpers live in src/lib. Keep ESM .js import extensions in TypeScript. The repository builds independently with npm ci and npm run check. No Next checkout, database or API credentials are needed for those checks.

Do not copy private beta Commands, private references, application credentials or backend source from Next into this public repository. Next's private CLI extends the installed npm artifact. Keep the public artifact guard and packed-install check passing. The bundled CLI Playbook lives at playbook/PLAYBOOK.md; the existing MCP-oriented agent plugin lives under skills/dealmachine. They have different execution surfaces.

Use the existing behavioral tests for changed Commands. Run npm run check and npm run test:package for packaging or release changes. Cold-start published/deployed evaluations contact external services and are separate release verification.

Set versions with npm run release:version -- <version> so the canonical package, alias and lockfile agree. A test version such as 0.5.1-feature.1 never merges: the required checks refuse it on a pull request into staging or master, so set a stable version before queuing. A release requires an explicit channel and approved release scope. Publishing the CLI does not deploy the API, MCP server, docs site or Next app.

Every merge into master publishes both packages to npm latest within minutes; the GitHub PRODUCTION_DEPLOY_ENABLED variable has been true since October 22, 2026. A staging merge publishes nothing. Release staging into master only once the API changes the new commands call are live in production. The committed stable version is a release floor; the workflow selects the next available patch and records the source SHA in both packages. Source delivery alone never authorizes changing the gate or npm publisher settings. See the release guide for retry, integrity and setup requirements.

Call CLI capabilities Commands, API capabilities Endpoints, and distributable agent instructions Playbooks. Write concrete copy and do not add em dashes to docs or comments.

For new or changed Commands, assess the candidate package smoke and read-only live smoke described in docs/development.md. Update useful coverage in the same PR and identify uncovered behavior explicitly. Keep the corresponding Factory regression case and runner source version coordinated; unit tests alone do not prove the deployed service contract.

Read the full file on GitHub · 26 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. 5d ago Changed · +77 tokens per session 250ed94e6de7
  2. 29d ago Changed · +6 lines · +195 tokens per session 6678a05033bc
  3. 1mo ago Changed · +2 lines · +59 tokens per session ef199b1a4d29
  4. 1mo ago Changed · +2 lines · +120 tokens per session a902df683a7b
  5. 1mo ago First seen · 16 lines · 384 tokens per session scan A 65494cb8d21d

Subscribe to this mod's changes

dealmachine-cli AGENTS.md is an instructions file published in the GitHub repository DealMachine/dealmachine-cli (1 stars, last pushed today), licensed MIT. It adds 835 tokens to every session, about $0.0033 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-09-25.

Related

dealmachine-cli AGENTS.md compared with instructions from other repositories

dealmachine-cli AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dealmachine-cli AGENTS.mdDealMachine/dealmachine-cliInstructions file1todayMITA835Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot