company-scope-exceptions

company-scope-exceptions is a cursor rule for Cursor from paperclipai/paperclip. It costs 0 tokens per session (682 once invoked), scanned A, original, MIT.

A repository rule listing the small set of data that is allowed to exist outside a company boundary. It explains the access and audit conditions for preferences, announcement metadata, and sidebar ordering.

In plain words
What is it for?
Use it when adding or changing instance-wide preferences, announcement records, workspace presentation data, or company-order settings.
Why use it?
It prevents new shared data from accidentally bypassing company isolation or granting authority across companies.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions AGENTS.md.

Good fit Use it when adding or changing instance-wide preferences, announcement records, workspace presentation data, or company-order settings.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/paperclipai/paperclip/company-scope-exceptions
About the project

Paperclip is a Node.js server and React application for coordinating AI agents as a business team, with goals, organizational roles, budgets, governance, and work tracking in one interface. It is used by people managing multiple agents or autonomous agent organizations across tools such as OpenClaw, Claude Code, Codex, and Cursor. The catalogue includes skills, agents, an MCP add-on, and an instruction for working with Paperclip.

paperclipai/paperclip · 118,214 stars · on GitHub · paperclip.ing

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/paperclipai/paperclip

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 company-scope-exceptions

README.md
[![agentmods](https://agentmods.dev/badge/rules/paperclipai/paperclip/company-scope-exceptions/github.svg)](https://agentmods.dev/rules/paperclipai/paperclip/company-scope-exceptions)
Your own site
<a href="https://agentmods.dev/rules/paperclipai/paperclip/company-scope-exceptions"><img src="https://agentmods.dev/badge/rules/paperclipai/paperclip/company-scope-exceptions/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 company-scope-exceptions

Your own site · 80×15
<a href="https://agentmods.dev/rules/paperclipai/paperclip/company-scope-exceptions"><img src="https://agentmods.dev/badge/rules/paperclipai/paperclip/company-scope-exceptions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 682 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00682
Opus 5.5 $0.00000 $0.00273
Sonnet 5.5 $0.00000 $0.00136
Haiku 4.5 $0.00000 $0.00068

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

Security

Grade A, and why

company-scope-exceptions 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 14d 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/company-scope-exceptions.mdc · 52 lines

How it starts

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

Company-scope exceptions

Scope and purpose

Every domain entity is scoped to a company, and routes and services enforce company boundaries. This rule lists the known data that is instance-wide and the conditions that keep it safe. Its globs cover only the files of the listed exceptions. AGENTS.md section 5 sends any change that adds data without a company scope here.

The exceptions

  • Announcement dismissals are instance-wide user preferences, keyed by user and announcement so they persist across companies. Their audit context must still validate company membership.
  • The announcement publication-ID registry is instance-level feed metadata. It contains no company or user data.
  • Personal workspace presentation preferences are instance-wide by user, with validated company membership supplying audit context. They never grant execution authority, change company capabilities or agent configuration, or rewrite canonical work records. Optional conversation guidance must retain the same action permissions.
  • The sidebar company order in user_sidebar_preferences is instance-wide by user, because it orders the user's companies. Sidebar preferences inside one company stay company-scoped in company_user_sidebar_preferences.
  • The server metrics snapshot (GET /api/instance/server-metrics) describes one server process: CPU, event-loop load, statement rate, latency percentiles and missed lease renewals. Company scope does not fit, because the process serves every company and the numbers cannot be split by company. Only an instance admin can read it, it is off unless PAPERCLIP_SERVER_METRICS is set, and it returns numbers and a build revision only: no SQL, names, IDs or hostnames. It persists nothing and changes nothing.

Requirements

  • Do not add another instance-wide entity unless you add it to this list in the same pull request and state why company scope does not fit.
  • An instance-wide preference must not change what an actor is allowed to do.

Read the full file on GitHub · 52 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. 14d ago Changed · +7 lines 62132b38804f
  2. 19d ago First seen · 45 lines · 0 tokens per session scan A e3570c0a8118

Subscribe to this mod's changes

company-scope-exceptions is a cursor rule published in the GitHub repository paperclipai/paperclip (118,214 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 682 tokens. 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-11-11.

Related

company-scope-exceptions compared with cursor rules from other repositories

company-scope-exceptions next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
company-scope-exceptionspaperclipai/paperclipCursor rule118kyesterdayMITA0Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor