001-no-hallucination

001-no-hallucination is a cursor rule for Cursor from bookedsolidtech/discord-ops. It costs 283 tokens per session, scanned A, a copy of 001-no-hallucination, MIT.

A project rule that requires the agent to confirm facts before making changes, installing packages, using tools, or reporting results. It emphasizes reading existing files and checking the current project state.

In plain words
What is it for?
Use it before editing files, installing dependencies, running unfamiliar commands, deleting data, or saying that a check has passed.
Why use it?
It reduces errors caused by guessed file paths, package names, APIs, tool availability, or unverified test and build claims.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it before editing files, installing dependencies, running unfamiliar commands, deleting data, or saying that a check has passed.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/bookedsolidtech/discord-ops/001-no-hallucination
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.

Clone the repo
git clone --depth 1 https://github.com/bookedsolidtech/discord-ops

Made for: Cursor.

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 001-no-hallucination

README.md
[![agentmods](https://agentmods.dev/badge/rules/bookedsolidtech/discord-ops/001-no-hallucination/github.svg)](https://agentmods.dev/rules/bookedsolidtech/discord-ops/001-no-hallucination)
Your own site
<a href="https://agentmods.dev/rules/bookedsolidtech/discord-ops/001-no-hallucination"><img src="https://agentmods.dev/badge/rules/bookedsolidtech/discord-ops/001-no-hallucination/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 001-no-hallucination

Your own site · 80×15
<a href="https://agentmods.dev/rules/bookedsolidtech/discord-ops/001-no-hallucination"><img src="https://agentmods.dev/badge/rules/bookedsolidtech/discord-ops/001-no-hallucination.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 283 This file is loaded in full into every session.
When invoked 283 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 100% copy Near-identical to another mod 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.00283 $0.00283
Opus 5 $0.00142 $0.00142
Sonnet 5 $0.00057 $0.00057
Haiku 4.5 $0.00028 $0.00028

Measured 10d ago against content hash 0565c874faa5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

001-no-hallucination 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 10d 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.

Origin

This is a copy

100% identical to 001-no-hallucination — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/001-no-hallucination.mdc · 29 lines

What it actually says

No Hallucination

"I'm not sure" is always better than guessing.

Rules

  1. Never invent APIs or function signatures. If you haven't read the source or docs, say so. Do not guess method names, parameter shapes, or return types.

  2. Never invent file paths. Before referencing a file path, verify it exists. Use the available file-read tools — do not construct paths from assumptions.

  3. Never invent package names. If you're not certain a package exists on the registry, say so. Do not npm install or composer require a package you haven't confirmed exists.

  4. Never invent test results. If you haven't run the tests, do not claim they pass. Run them first.

  5. Prefer "I need to check X" over confident-but-wrong statements. Uncertainty stated explicitly is a recoverable state. Confident fabrication causes downstream rework.

When to apply

  • Before referencing any external API or library method
  • Before writing import statements for unfamiliar packages
  • Before asserting that a file, function, or type exists
  • Before claiming tests pass or build succeeds without running them
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. 10d ago First seen · 29 lines · 283 tokens per session scan A 0565c874faa5

Subscribe to this mod's changes

001-no-hallucination is a cursor rule published in the GitHub repository bookedsolidtech/discord-ops (4 stars, last pushed 1mo ago), licensed MIT. It adds 283 tokens to every session, about $0.0014 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to 001-no-hallucination, differing in 0 lines, and is treated as a copy.