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/SeanLF/weather-mcpWrote 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/seanlf/weather-mcp/technical-debt-awareness)<a href="https://agentmods.dev/rules/seanlf/weather-mcp/technical-debt-awareness"><img src="https://agentmods.dev/badge/rules/seanlf/weather-mcp/technical-debt-awareness.svg" alt="Measured on agentmods" 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.00906 | $0.00906 |
| Opus 5 | $0.00453 | $0.00453 |
| Sonnet 5 | $0.00181 | $0.00181 |
| Haiku 4.5 | $0.00091 | $0.00091 |
Grade A, and why
technical-debt-awareness 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 7d 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 — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
filters:
- type: event pattern: "code_implementation|code_review"
- type: content pattern: "(?i)(temporary|workaround|hack|todo|fixme|quick|urgent)"
actions:
-
type: transform pattern: "^.*$" replacement: |
Implementation with Technical Debt Tracking
{original_content}
Technical Debt Register
Item Impact Remediation Plan Priority Ticket {technical_debt_table} Acceptable vs. Concerning Debt
Acceptable Technical Debt
{acceptable_debt_list}
Concerning Technical Debt
{concerning_debt_list}
-
type: validate conditions:
-
pattern: "(?i)(hack|temporary|todo|fixme)" validationScript: | // Check if technical debt is documented const technicalDebtMarkers = [ /hack/i, /temporary/i, /workaround/i, /todo/i, /fixme/i, /technical debt/i ];
// Find all technical debt markers in the code const foundMarkers = technicalDebtMarkers.filter(marker => marker.test(code) );
// Check if there's a ticket reference or explanation const hasDocumentation = /TICKET|ISSUE|JIRA|explanation:/i.test(code);
if (foundMarkers.length > 0 && !hasDocumentation) { return { valid: false, message: "Technical debt found without ticket reference or explanation" }; }
return { valid: true };
-
-
type: suggest message: | When introducing technical debt:
- Document it explicitly as technical debt
- Explain why it was necessary (business context)
- Describe the impact and risks
- Create a ticket for future remediation
- Assign a priority and timeline for fixing it
examples:
-
input: | // TODO: This is a temporary solution until we refactor the auth system function quickAuthFix() { // Just check if the token exists for now return !!localStorage.getItem('auth_token'); } output: |
Implementation with Technical Debt Tracking
/** * Temporary authentication validation * * TECHNICAL DEBT: This is a minimal implementation to unblock the release * TICKET: AUTH-127 - Implement proper token validation * EXPIRES: 2023-06-30 (must be replaced before security audit) */ function quickAuthFix() { // Just check if the token exists for now // Does not validate token integrity or expiration return !!localStorage.getItem('auth_token'); }Technical Debt Register
Item Impact Remediation Plan Priority Ticket Token validation bypass Security risk - No validation of token integrity or expiration Implement proper JWT validation with signature checking HIGH AUTH-127 Local storage for auth token Security risk - Vulnerable to XSS attacks Move token to HTTP-only cookies HIGH AUTH-128 No permission checking Feature limitation - All authenticated users have same permissions Implement role-based permissions MEDIUM AUTH-129 Acceptable vs. Concerning Debt
Acceptable Technical Debt
- Using existing user table structure temporarily (low risk, planned DB migration next quarter)
- Simplified error messages (UX impact only, will improve in next iteration)
Concerning Technical Debt
- Missing token validation (security risk, must be fixed before production)
- Local storage for sensitive data (security risk, must be fixed before production)
- No CSRF protection (security risk, must be addressed before public release)
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.
- 7d ago First seen · 124 lines · 906 tokens per session scan A 9cf9563baae7
technical-debt-awareness is a cursor rule published in the GitHub repository SeanLF/weather-mcp (2 stars, last pushed 1y ago), licensed MIT. It adds 906 tokens to every session, about $0.0045 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-08-31.
Other cursor rules, from other repositories
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.