project-context

project-context is a cursor rule for Cursor from vypdev/copilot. It costs 279 tokens per session, scanned A, original, MIT.

A project guide for a GitHub Action and command-line tool that automate Git-Flow, a workflow for managing branches, commits, issues, and pull requests.

In plain words
What is it for?
Use it to understand where source code belongs, how to add inputs, build the project, run Jest tests, and check TypeScript linting.
Why use it?
It gives the coding agent the project's structure, commands, conventions, and files to avoid, reducing mistakes while changing the code.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to understand where source code belongs, how to add inputs, build the project, run Jest tests, and check TypeScript linting.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/vypdev/copilot/project-context
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/vypdev/copilot

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 project-context

README.md
[![agentmods](https://agentmods.dev/badge/rules/vypdev/copilot/project-context/github.svg)](https://agentmods.dev/rules/vypdev/copilot/project-context)
Your own site
<a href="https://agentmods.dev/rules/vypdev/copilot/project-context"><img src="https://agentmods.dev/badge/rules/vypdev/copilot/project-context/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 project-context

Your own site · 80×15
<a href="https://agentmods.dev/rules/vypdev/copilot/project-context"><img src="https://agentmods.dev/badge/rules/vypdev/copilot/project-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 279 This file is loaded in full into every session.
When invoked 279 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 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.00279 $0.00279
Opus 5.5 $0.00112 $0.00112
Sonnet 5.5 $0.00056 $0.00056
Haiku 4.5 $0.00028 $0.00028

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

Security

Grade A, and why

project-context 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 1mo 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/project-context.mdc · 39 lines

What it actually says

Copilot project context

Copilot is a GitHub Action and CLI for issue/PR automation, branch management, Bugbot, and configurable release/hotfix orchestration. Agent roles can use Codex, OpenCode, or Cursor according to the validated repository configuration; no provider is an implicit compatibility path for another.

Use Node 24 or newer and pnpm from the repository root:

nvm use 24
pnpm install
pnpm build
pnpm test
pnpm test:coverage
pnpm lint
pnpm typecheck

Important boundaries:

  • Runtime inputs: action.yml and src/application/contracts/input_keys.ts.
  • Single actions: src/data/model/action_types.ts.
  • Architecture: _agent/docs/architecture.md, docs/development/architecture.mdx, and docs/dependency-rules.md.
  • Flows: _agent/docs/usecase-flows.md.
  • Coding rules: _agent/docs/code-conventions.md.
  • Generated bundles: build/; regenerate them with pnpm build, never edit them directly.

When a contract changes, update source, tests, setup workflows, action.yml, public documentation, internal agent documentation, and generated bundles in the same change.

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. 1mo ago Changed · -2 lines · -190 tokens per session 9abda42dc4df
  2. 1mo ago First seen · 41 lines · 469 tokens per session scan A e0e721a08d9f

Subscribe to this mod's changes

project-context is a cursor rule published in the GitHub repository vypdev/copilot (3 stars, last pushed today), licensed MIT. It adds 279 tokens to every session, about $0.0011 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.