820-open-source

820-open-source is a cursor rule for Cursor from d-padmanabhan/agent-engineering-handbook. It costs 16 tokens per session (2,220 once invoked), scanned A, original, MIT.

A ruleset for maintaining open-source projects and making it easier for others to use, contribute to, and review them.

In plain words
What is it for?
Creating contribution guides, issue and pull-request practices, development setup instructions, and open-source documentation.
Why use it?
It provides consistent expectations for setup instructions, testing, code style, pull requests, and community conduct.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Creating contribution guides, issue and pull-request practices, development setup instructions, and open-source documentation.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/d-padmanabhan/agent-engineering-handbook/820-open-source
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/d-padmanabhan/agent-engineering-handbook

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 820-open-source

README.md
[![agentmods](https://agentmods.dev/badge/rules/d-padmanabhan/agent-engineering-handbook/820-open-source/github.svg)](https://agentmods.dev/rules/d-padmanabhan/agent-engineering-handbook/820-open-source)
Your own site
<a href="https://agentmods.dev/rules/d-padmanabhan/agent-engineering-handbook/820-open-source"><img src="https://agentmods.dev/badge/rules/d-padmanabhan/agent-engineering-handbook/820-open-source/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 820-open-source

Your own site · 80×15
<a href="https://agentmods.dev/rules/d-padmanabhan/agent-engineering-handbook/820-open-source"><img src="https://agentmods.dev/badge/rules/d-padmanabhan/agent-engineering-handbook/820-open-source.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,220 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.00016 $0.02220
Opus 5 $0.00008 $0.01110
Sonnet 5 $0.00003 $0.00444
Haiku 4.5 $0.00002 $0.00222

Measured 5d ago against content hash 3b160db45c46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

820-open-source 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 5d 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/820-open-source.mdc · 469 lines

How it starts

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

Open Source Project Engineering Ruleset

Goal: Create welcoming, maintainable open source projects that encourage contributions and make it easy for others to use and contribute.

Essential Files

.github/CONTRIBUTING.md

MUST include:

  • How to set up development environment
  • How to run tests
  • Code style and formatting guidelines
  • How to submit pull requests
  • How to report bugs
  • Code of conduct reference

Template:

# Contributing

Thank you for your interest in contributing!

## Development Setup

1. Fork the repository
2. Clone your fork: `git clone https://github.com/your-username/project.git`
3. Install dependencies: `make init`
4. Run tests: `make test`

## Making Changes

1. Create a branch: `git checkout -b feature/your-feature`
2. Make your changes
3. Run tests: `make test`
4. Run linter: `make lint`
5. Commit using [conventional commits](https://www.conventionalcommits.org/)
6. Push and open a pull request

> [!NOTE]
> **Agents:** remote writes (push/PR creation) are default-deny and require explicit authorization (see `020-agent-audit.mdc`).

## Code Style

- Follow the existing code style
- Run `make lint` before committing
- Add tests for new features
- Update documentation as needed

## Reporting Bugs

Use GitHub Issues and include:
- Description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Environment details (OS, version, etc.)

## Questions?

Open a GitHub Discussion or reach out to maintainers.

LICENSE

MUST include a license file. Common choices:

  • MIT - Permissive, widely used
  • Apache 2.0 - Permissive with patent grant
  • GPL v3 - Copyleft, requires derivative works to be open source
  • BSD 3-Clause - Permissive, similar to MIT

README.md

MUST include:

  • Project description and purpose
  • Quick start / installation instructions
  • Basic usage examples
  • Link to full documentation
  • Contributing guidelines link
  • License information
  • Badges (build status, version, etc.)

Read the full file on GitHub · 469 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. 5d ago First seen · 469 lines · 16 tokens per session scan A 3b160db45c46

Subscribe to this mod's changes

820-open-source is a cursor rule published in the GitHub repository d-padmanabhan/agent-engineering-handbook (16 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 2,220 once invoked, about $0.0001 per session on Opus 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-09-03.

Related

Other cursor rules, from other repositories

slice-tasks

PLANNING SPINE STEP 2 of 3 — Slice the work: break a scoped PRD into vertical-slice stories in specs/epics/. Use after scope-work (step 1), before plan-work (step 3). Not a substitute for scope-work or plan-work.

danielvm-git/bigpowers · 59 tokens

iris

GitHub operations specialist — branches, pull requests, issues, releases, tags. Called by zeus after review. Never pushes or merges without explicit human approval. Integrates with VS Code GitHub Pull Requests extension.

ils15/pantheon-legacy · 43 tokens

elite-orchestrator

Elite orchestrator for mission-critical, enterprise-scale tasks requiring strategic coordination of 7+ agents across all domains. Makes architectural decisions, manages risk, ensures business continuity, and delivers enterprise-grade outcomes. Use for platform migrations, security incidents, multi-system integrations…

MN-Lizard-Team/aiyu-multi-agent · 94 tokens

feedback-enhanced

Rules for an interactive feedback system that lets users and an AI agent discuss complex development work in real time. It includes guidance for recording decisions, tracking progress and handling detailed inputs such as code and diagrams.

Mr-chen-05/rules-2.1-optimized · 2,968 tokens

project-onboarding-rule

Automatically onboards existing projects into the AI-driven development workflow.

brunogama/ios-cursor-rules · 1,324 tokens

linear-in-review

After finishing a Linear issue, set its status to In Review (never Done).

nate-raubenheimer/lawpracticeza-mcp · 235 tokens