Skip to content
Back to skills

Rule Daemon Plan Limits

ASecurity

Plan limits — the account-keyed plan-limits ledger and each CLI's reader. A repository rule for apps/daemon/src/v1/agents/**/plan-limits*, apps/daemon/src/v1/agents/adapters/**/*plan-limits*, apps/daemon/src/v1/teams/**/pool-cooldowns*, apps/daemon/src/v1/agents/**/agent-session*; read it before editing a file there.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentsgoapi

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add geniro-io/geniro-app --skill rule-daemon-plan-limits --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rule Daemon Plan Limits?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rule Daemon Plan Limits
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/geniro-io-rule-daemon-plan-limits/badge)](https://www.skillsdirectory.com/skills/geniro-io-rule-daemon-plan-limits)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rule-daemon-plan-limits
description: "Plan limits — the account-keyed plan-limits ledger and each CLI's reader. A repository rule for apps/daemon/src/v1/agents/**/plan-limits*, apps/daemon/src/v1/agents/adapters/**/*plan-limits*, apps/daemon/src/v1/teams/**/pool-cooldowns*, apps/daemon/src/v1/agents/**/agent-session*; read it before editing a file there."
---
<!-- GENERATED by scripts/sync-agent-rules.mjs from .claude/rules/daemon-plan-limits.md. DO NOT EDIT: edit the source, then run `pnpm sync:agent-rules`. -->

# Plan limits

- cursor's limits are asked of the account (`account` channel, `utils/cursor-plan-limits.utils.ts`): `GetCurrentPeriodUsage.planUsage` gives Included / Auto / API, `GetPlanInfo` the plan's name; a period with no `planUsage` (a spend-based Enterprise seat) is `NO_PLAN_LIMITS`.
- **Plan limits are the ACCOUNT's**: the ledger (`utils/plan-limits-ledger.ts`) is keyed by CLI plus the account's config directory (the folder pin first, else the run's profile). A real reading beats a newer `estimated` one for 5 min (`REAL_READING_PREFERRED_MS`), except on the readout's refresh press, where the agent's live answer stands. An estimate never reads under what the account already reached in the same window (same key and reset), since usage only rises until a reset; a real reading stands. In memory only.
- A conversation whose own process is gone (evicted by the session ceiling, reaped as idle) on a `live-process` plan channel asks the plan of another live kept process of the same CLI on the same account (`AgentSessionRegistry.liveSessions`, matched by `effectiveAccountKey`); the context breakdown is the conversation's own and is never asked of another process.
- With no live process on the account, only the readout's REFRESH press takes a fresh plan reading from a one-shot process, for a CLI whose `planLimits` reading declares `oneShot` (claude: `get_usage` on `CLAUDE_CONTROL_PROBE_ARGS`; codex: `account/rateLimits/read` on a one-shot app-server), through `runCommand`, under the account's effective config directory and only with the caller's `mayProbe`. Refreshes that overlap on one account share the one in flight. An ordinary open, the turn-end prewarm and the idle farewell never spawn one; an empty answer keeps the held reading and logs the "gave no answer" warning.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.