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.
git clone --depth 1 https://github.com/jaycewalzer1/SilverKey-Inc.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.
[](https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./backend-architecture)<a href="https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./backend-architecture"><img src="https://agentmods.dev/badge/rules/jaycewalzer1/silverkey-inc./backend-architecture/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.
<a href="https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./backend-architecture"><img src="https://agentmods.dev/badge/rules/jaycewalzer1/silverkey-inc./backend-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02052 |
| Opus 5.5 | $0.00000 | $0.00821 |
| Sonnet 5.5 | $0.00000 | $0.00410 |
| Haiku 4.5 | $0.00000 | $0.00205 |
Grade A, and why
backend-architecture 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.
How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backend Architecture Rules
Overview
This document defines the coding standards and architectural patterns for the Flask backend. These rules MUST be followed to maintain consistency, security, and code quality.
Authentication Standards
Protected Routes
- MUST use
@require_authenticated_userdecorator for all protected routes - MUST NOT use
@login_requiredorcurrent_userfrom Flask-Login - MUST NOT manually call
get_current_user()in route functions - MUST accept
useras the first parameter in decorated route functions
Agent Routes
- MUST use
@require_agent_accessdecorator for agent-only routes - MUST NOT manually check
user.is_agentin route functions — useuser_is_agent(user)or@require_agent_access - MUST use
@require_agent_accessinstead of manual agent authorization checks
Examples
# ✅ CORRECT: Using decorator
from ..utils.common_patterns import require_authenticated_user
@user_bp.route('/profile', methods=['GET'])
@require_authenticated_user
def get_user_profile(user):
from app.dtos.user import UserDTO
return jsonify({'success': True, 'data': UserDTO.to_response(user)})
# ❌ WRONG: Manual authentication
from ..services.auth.current_user import get_current_user
@user_bp.route('/profile', methods=['GET'])
def get_user_profile():
try:
user = get_current_user()
if not user:
return jsonify({'error': 'Unauthorized'}), 401
# ...
except Exception as e:
# ...
# ✅ CORRECT: Agent route
from ..utils.common_patterns import require_agent_access
@agent_bp.route('/clients', methods=['GET'])
@require_agent_access
def get_clients(user):
# user is guaranteed to be an agent
return jsonify({'success': True, 'clients': get_agent_clients(user.id)})
# ❌ WRONG: Manual agent check
@agent_bp.route('/clients', methods=['GET'])
def get_clients():
user = get_current_user()
if not user.is_agent:
return jsonify({'error': 'Only agents can access this'}), 403
# ...
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.
- 2mo ago First seen · 326 lines · 0 tokens per session scan A 5fbecbce88df
backend-architecture is a cursor rule published in the GitHub repository jaycewalzer1/SilverKey-Inc. (2 stars, last pushed 25d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,052 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-08-31.
backend-architecture compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-architecturejaycewalzer1/SilverKey-Inc. | Cursor rule | 2 | 25d ago | MIT | A | 0 | Cursor |
| python_testsstreamlit/streamlit | Cursor rule | 46k | today | Apache-2.0 | A | 0 | Cursor |
| django-pythonPostHog/posthog | Cursor rule | 41k | today | none | A | 1,586 | Cursor |
| 020-flaskHaohao-end/openagent | Cursor rule | 748 | 2d ago | MIT | A | 0 | Cursor |
| py-fast-apiPatrickJS/awesome-cursorrules | Cursor rule | 41k | 5mo ago | CC0-1.0 | A | 720 | Cursor |
| pythonPatrickJS/awesome-cursorrules | Cursor rule | 41k | 5mo ago | CC0-1.0 | A | 734 | Cursor |
| python--typescript-guide-cursorrules-prompt-filePatrickJS/awesome-cursorrules | Cursor rule | 41k | 5mo ago | CC0-1.0 | A | 226 | Cursor |