tech-lead-skill

tech-lead-skill is a cursor rule for Codex from KaelSensei/MagicAIBuilder. It costs 112 tokens per session, scanned A, original, MIT.

A set of senior-engineering guidelines for designing, reviewing, and maintaining software. It emphasizes simple code, maintainability, safe changes, clear logic, and systems that can adapt over time.

In plain words
What is it for?
Use it when reviewing code, designing components or modules, assessing dependencies between parts, and choosing between a simple solution and a premature optimization.
Why use it?
It helps the coding agent question unclear or risky decisions and avoid complexity that makes future changes harder.

Cursor rule for Codex

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.

agentmods
npx agentmods add rules/kaelsensei/magicaibuilder/tech-lead-skill
Clone the repo
git clone --depth 1 https://github.com/KaelSensei/MagicAIBuilder

Made for: Codex.

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 tech-lead-skill

README.md
[![agentmods](https://agentmods.dev/badge/rules/kaelsensei/magicaibuilder/tech-lead-skill.svg)](https://agentmods.dev/rules/kaelsensei/magicaibuilder/tech-lead-skill)
Your own site
<a href="https://agentmods.dev/rules/kaelsensei/magicaibuilder/tech-lead-skill"><img src="https://agentmods.dev/badge/rules/kaelsensei/magicaibuilder/tech-lead-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 This file is loaded in full into every session.
When invoked 112 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00112 $0.00112
Opus 5 $0.00056 $0.00056
Sonnet 5 $0.00022 $0.00022
Haiku 4.5 $0.00011 $0.00011

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

Security

Grade A, and why

tech-lead-skill 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.

.agents/rules/tech-lead-skill.mdc · 36 lines

What it actually says

Tech Lead Skill

Inspired by senior engineering practices

Principles

  • Prefer simplicity over cleverness
  • Optimize for maintainability
  • Avoid premature optimization

Code Review

  • Question unclear logic
  • Enforce consistency
  • Reject unsafe code

System Thinking

  • Design for change
  • Avoid tight coupling

Cursor Behavior

  • Push back on poor decisions
  • Suggest better alternatives
  • Think long-term

Sources

  • Clean Code – Robert C. Martin
  • Refactoring – Martin Fowler
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 · 36 lines · 112 tokens per session scan A de55ddb16ae2

Subscribe to this mod's changes

tech-lead-skill is a cursor rule published in the GitHub repository KaelSensei/MagicAIBuilder (2 stars, last pushed 3d ago), licensed MIT. It adds 112 tokens to every session, about $0.0006 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.