negotiate

negotiate is a command for coding agents from peerjakobsen/smartspender. It costs 12 tokens per session (1,851 once invoked), scanned A, original, MIT.

A command that drafts an email asking a subscription provider for a lower price. It looks up the service in subscription and transaction files before preparing the message.

In plain words
What is it for?
Use it to negotiate the price of an active service such as a phone, streaming, or fitness subscription.
Why use it?
It saves the work of checking subscription costs and writing a tailored price request, while detecting missing or already-cancelled subscriptions.

Command

Part of the smartspender plugin — 13 skills, 19 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/peerjakobsen/smartspender/negotiate
Clone the repo
git clone --depth 1 https://github.com/peerjakobsen/smartspender

Or install smartspender, the plugin that ships this one along with the rest of its 13 skills, 19 commands.

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 negotiate

README.md
[![agentmods](https://agentmods.dev/badge/commands/peerjakobsen/smartspender/negotiate.svg)](https://agentmods.dev/commands/peerjakobsen/smartspender/negotiate)
Your own site
<a href="https://agentmods.dev/commands/peerjakobsen/smartspender/negotiate"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/negotiate.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,851 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.01851
Opus 5 $0.00006 $0.00925
Sonnet 5 $0.00002 $0.00370
Haiku 4.5 $0.00001 $0.00185

Measured 5d ago against content hash 0c308fbf7edb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

negotiate 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.

commands/negotiate.md · 157 lines

How it starts

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

/smartspender:negotiate

Trigger

  • /smartspender:negotiate [service]
  • "Forhandl prisen paa Netflix"
  • "Negotiate my TDC subscription"
  • "Kan jeg faa en bedre pris paa Fitness World?"
  • "Skriv en forhandlingsmail til TDC"

Arguments

Argument Required Values Default
service yes Service name matching a merchant in subscriptions.csv -

The service argument is case-insensitive and matched against the merchant column in subscriptions.csv (e.g., tdc, netflix, fitness-world).

Prerequisites

  • Subscription detected in subscriptions.csv
  • Transaction history in categorized.csv (for cost analysis)
  • Negotiation skill loaded: skills/negotiation/SKILL.md

Workflow

  1. Normalize the service argument to lowercase, replace spaces with hyphens
  2. Look up the service in subscriptions.csv by matching merchant name (case-insensitive)
  3. If not found: "Abonnementet '{service}' blev ikke fundet i dine abonnementer. Koer /smartspender:subscriptions for at se dine aktive abonnementer."
  4. If already cancelled: "Abonnementet '{service}' er allerede opsagt ({cancelled_date}). Der er ikke noget at forhandle."
  5. Read the subscription record: merchant, amount, frequency, annual_cost, first_seen, last_seen, status

Cost Analysis

  1. Read categorized.csv, filter by merchant name (case-insensitive match)
  2. Calculate:
    • monthly_cost: current subscription amount from subscriptions.csv
    • annual_cost: from subscriptions.csv
    • total_paid: sum of all matching transactions in categorized.csv
    • months_as_customer: number of months between first_seen and today
  3. If receipts exist for this merchant in receipts.csv, read receipt-items from the relevant receipt-items-{YYYY-MM}.csv files. Note any unused services or add-ons visible in line items.
  4. If no transaction history found: "Ingen transaktionshistorik fundet for '{service}'. Koer /smartspender:sync foerst."

Contact Info

Read the full file on GitHub · 157 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 First seen · 157 lines · 12 tokens per session scan A 0c308fbf7edb

Subscribe to this mod's changes

negotiate is a command published in the GitHub repository peerjakobsen/smartspender (5 stars, last pushed 7mo ago), licensed MIT. It adds 12 tokens to every session and 1,851 once invoked, about $0.0001 per session on Opus 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.