antimetal-conventions

antimetal-conventions is a cursor rule for coding agents from antimetal/cursor-plugin. It costs 590 tokens per session, scanned A, original, MIT.

A set of working rules for Antimetal, a service that collects and investigates software incidents using monitoring data. The rules explain authentication, issue labels, evidence identifiers, and how to handle follow-up conversations.

In plain words
What is it for?
Use it when searching Antimetal issues, reading investigation reports, discussing root-cause evidence, applying fixes, or continuing a multi-step conversation.
Why use it?
It keeps investigations consistent and makes issue references, access errors, and remediation checks easier to handle correctly.

Cursor rule

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 rules/antimetal/cursor-plugin/antimetal-conventions
Clone the repo
git clone --depth 1 https://github.com/antimetal/cursor-plugin

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 antimetal-conventions

README.md
[![agentmods](https://agentmods.dev/badge/rules/antimetal/cursor-plugin/antimetal-conventions.svg)](https://agentmods.dev/rules/antimetal/cursor-plugin/antimetal-conventions)
Your own site
<a href="https://agentmods.dev/rules/antimetal/cursor-plugin/antimetal-conventions"><img src="https://agentmods.dev/badge/rules/antimetal/cursor-plugin/antimetal-conventions.svg" alt="Measured on agentmods" height="20"></a>
Per session 590 This file is loaded in full into every session.
When invoked 590 The same file — it is already loaded in full.
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.00590 $0.00590
Opus 5 $0.00295 $0.00295
Sonnet 5 $0.00118 $0.00118
Haiku 4.5 $0.00059 $0.00059

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

Security

Grade A, and why

antimetal-conventions 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 3d 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.

rules/antimetal-conventions.mdc · 39 lines

How it starts

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

antimetal-conventions:

  • API key required: All MCP tools need a valid ANTIMETAL_API_KEY environment variable. If a tool call fails with an auth error, prompt the user to set it: export ANTIMETAL_API_KEY="your-key" (get one at antimetal.com under account settings). Suggest adding it to their shell profile so it persists.
  • When referencing Antimetal issues, prefer the issue number (e.g., #42) over the UUID for readability.
  • Artifact IDs follow the format type:provider:id (e.g., log:datadog:a9c131..., trace:gcp:abc123). These come from documentId fields in causal graph evidence nodes.
  • Issue statuses are: investigating, ready_to_fix, resolved, muted.
  • Issue severities are: high, medium, low.
  • When applying remediations, always verify code changes against the local codebase before committing.
  • The ask tool supports multi-turn conversations via conversation_id -- always pass it for follow-ups.

MCP Tools

Tool Purpose
search_issues Paginated issue list with filters (status, environment, search text)
get_issue_report Full investigative report—root cause, timeline, causal graph
get_issue_fixes Remediation steps for a specific issue
investigate_issue Create a new issue and start async automated investigation (3-10 min)
get_artifact Retrieve raw evidence by document ID (metrics, traces, logs, files, events, topology)
ask Query Antimetal's AI about infrastructure, software, deployments, telemetry, logs, code -- supports follow-up via conversation_id

Causal Graph Concepts

  • Node types: outcome (what broke), cause (why it broke), confounder (correlated but not causal), mediator (how the cause propagated)
  • Confidence levels (ordered): confirmed > likely > probable > unclear > unknown
  • Distinguish causes from confounders -- correlation is not causation
  • Mediators show the propagation path from cause to outcome

Remediation Step Types

Read the full file on GitHub · 39 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. 3d ago First seen · 39 lines · 590 tokens per session scan A 3c18e750f87d

Subscribe to this mod's changes

antimetal-conventions is a cursor rule published in the GitHub repository antimetal/cursor-plugin (1 stars, last pushed 3mo ago), licensed MIT. It adds 590 tokens to every session, about $0.0030 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.