tech-lead-loop

A standing workflow for a tech lead coordinating development during a sprint. A tech lead is the person who keeps technical work moving and resolves escalations.

In plain words
What is it for?
Use it throughout a sprint to check project state, maintain the task queue, monitor the merge queue, and contact developers only when defined escalation conditions occur.
Why use it?
It helps keep tasks assigned, enforce the team's process, monitor pull requests and merges, and intervene when developers or CI become blocked.

Skill for Claude CodeCodex

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 skills/loopdive/js2/tech-lead-loop
Any agent
npx skills add loopdive/js2 --skill tech-lead-loop
Clone the repo
git clone --depth 1 https://github.com/loopdive/js2

Made for: Claude Code, Codex.

Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,861 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00055 $0.03861
Opus 5 $0.00028 $0.01930
Sonnet 5 $0.00011 $0.00772
Haiku 4.5 $0.00006 $0.00386

Measured yesterday against content hash 8a4e46928621, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

tech-lead-loop scanned grade B with 1 finding 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 yesterday.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat .claude/ci-status/pr-$p.json 2>/dev/null | \
.claude/skills/tech-lead-loop/SKILL.md · 318 lines

How it starts

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

Tech Lead Loop

The tech lead is the orchestrator of a multi-dev sprint. This skill defines the standing loop the tech lead runs to keep development unblocked, enforce protocol, and move the merge queue forward — without becoming a bottleneck.

The loop has five phases. You cycle through them continuously for the duration of the sprint. Each phase has triggers, a checklist, and the specific sub-skills / slash commands to invoke.

Never delegate understanding. This skill tells you what to check; you must read the results and decide.

Principles

  • Devs are authoritative for their own PRs. Tech lead only intervenes when a dev is truly stuck, when claims conflict, or when the merge queue stalls.
  • TaskList is the canonical dispatch mechanism. Populate it at sprint start and whenever new issues are added mid-sprint. Devs self-serve — they claim tasks, self-merge, and claim the next task without waiting for tech lead direction.
  • SendMessage only for escalations and exceptions. Devs contact tech lead only if TaskList is empty, they are blocked >30 min, or CI criteria force an escalation. Tech lead contacts devs only when they are stuck/silent or there is a file conflict to resolve.
  • Every protocol correction issued to one dev should be generalized. If you correct one dev, broadcast the canonical protocol to all devs within the next cycle — individual corrections rot.
  • Keep tool calls parallel when independent. One message with five Bash calls is dramatically faster than five sequential ones.
  • Measure the merge queue, not the task queue. The right metric is "how many PRs are ready to merge but unmerged" — stalls there compound.

Phase 0 — Session start / context load

Trigger: fresh conversation, or resume after /compact or context rollover.

Checklist:

  1. Read the current sprint doc: plan/issues/sprints/<N>/sprint.md
  2. Read the tech lead handoff: plan/agent-context/tech-lead.md
  3. git status && git branch --show-current && git log --oneline origin/main -10
  4. gh pr list --state open --limit 20 — snapshot of inherited open PRs
  5. ls .claude/worktrees/ — inherited worktrees (may contain WIP)
  6. Read plan/method/file-locks.md if it exists — active dev claims
  7. Read .claude/memory/MEMORY.md top section — critical rules + feedback index
  8. TaskList — if empty, create tasks from plan/issues/sprints/{N}/ (current sprint dir, filter by status: ready) before touching any dev.

Read the full file on GitHub · 318 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. yesterday First seen · 318 lines · 55 tokens per session scan B 8a4e46928621

Subscribe to this mod's changes

tech-lead-loop is a skill published in the GitHub repository loopdive/js2 (59 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 3,861 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.