ult-context-generate

ult-context-generate is a cursor rule for Cursor from linkpranay-ai/context-engineering-protocol. It costs 38 tokens per session (95 once invoked), scanned A, original, Apache-2.0.

A rule for assembling a reviewed context package before an agent generates something. The package can include the codebase structure, requirements, limits, and likely effects of a change.

In plain words
What is it for?
Use it before generation tasks that need information about code relationships, requirements, constraints, or the possible impact of changes.
Why use it?
It gives the agent relevant, source-linked background before work starts, reducing decisions based on incomplete project knowledge.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it before generation tasks that need information about code relationships, requirements, constraints, or the possible impact of changes.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/linkpranay-ai/context-engineering-protocol/ult-context-generate
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/linkpranay-ai/context-engineering-protocol

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 ult-context-generate

README.md
[![agentmods](https://agentmods.dev/badge/rules/linkpranay-ai/context-engineering-protocol/ult-context-generate/github.svg)](https://agentmods.dev/rules/linkpranay-ai/context-engineering-protocol/ult-context-generate)
Your own site
<a href="https://agentmods.dev/rules/linkpranay-ai/context-engineering-protocol/ult-context-generate"><img src="https://agentmods.dev/badge/rules/linkpranay-ai/context-engineering-protocol/ult-context-generate/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 ult-context-generate

Your own site · 80×15
<a href="https://agentmods.dev/rules/linkpranay-ai/context-engineering-protocol/ult-context-generate"><img src="https://agentmods.dev/badge/rules/linkpranay-ai/context-engineering-protocol/ult-context-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 95 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.00038 $0.00095
Opus 5.5 $0.00015 $0.00038
Sonnet 5.5 $0.00008 $0.00019
Haiku 4.5 $0.00004 $0.00010

Measured 2mo ago against content hash 987a572d4b5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ult-context-generate 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 2mo 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.

.cursor/rules/ult-context-generate.mdc · 12 lines

What it actually says

ult-context-generate

This repository packages its capabilities as portable skills for AI coding agents. Read .github/skills/ult-context-generate/SKILL.md and follow it when this rule applies.

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. 2mo ago First seen · 12 lines · 38 tokens per session scan A 987a572d4b5a

Subscribe to this mod's changes

ult-context-generate is a cursor rule published in the GitHub repository linkpranay-ai/context-engineering-protocol (10 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 95 once invoked, about $0.0002 per session on Opus 5.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.

Related

ult-context-generate compared with cursor rules from other repositories

ult-context-generate next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ult-context-generatelinkpranay-ai/context-engineering-protocolCursor rule101mo agoApache-2.0A38Cursor
cursorruleskruschdev/krusch-context-mcpCursor rule822d agoMITA503Cursor
context-disciplinerohitg00/pro-workflowCursor rule2.9k1mo agononeA274Cursor
archcore-contextarchcore-ai/pluginCursor rule581mo agoApache-2.0A234Cursor
aictxoldskultxo/aictxCursor rule594mo agoMITA556Cursor
tell-plumbing-referenceashishpatill/tell-proofCursor rule21mo agoMITA453Cursor
agentmemoryObidel/AgentmemoryCursor rule45mo agoMITA0Cursor